Skip to Content
Blackbell for builders
Skills

Create a page

Load when a new Blackbell page must be built or imported, translated on one URL, previewed and approved for publication.

  1. Call get_settings for business facts, default_locale and available_locales, then list_forms for real booking targets. Read the get_site_css summary once per chat and omit existing rules. Use get_guide with topic page-design for design guidance.
  2. Write one HTML document in the main language with its CSS and JS inside. Use a clear title and a booking button on the first screen, a sticky booking bar on phones, tap-to-call or WhatsApp, HTTPS images with alt text, and data-bb-open="form:<form id>" on booking buttons. Keep outside scripts and fake forms out.
  3. Call create_page with title, short slug, seo_title, seo_description and html. For an existing file or large document, use get_upload_link, curl -sS -T page.html '<upload_url>', then import_page with upload_id and slug. Review similar_pages and ask before keeping a duplicate. Keep the returned page_id, edit_session_id and preview_url.
  4. Resolve to_fix in one edit_page with page_id and changes. Call add_page_language with the same page_id for each other site language (locale and translated html or upload_id, same texts in the same order).
  5. Call check_edit_session with the session id and fix: true. For a background task, collect the result as described in basics. Resolve blockers and check the final copy. While rendering, read check_edit_session again after 20 seconds. Show preview_url and the 390 px and 1440 px screenshots. Ask “Go live and publish this page?”.
  6. Only on yes, call go_live_edit_session once with the approved session id and publish: true. Report the page id and returned live URL. Ask separately before add_to_menu, which changes the live menu.