Additions depending on the site

For developersVersion 1.0.0Last updated:

“Mark each menu as <ul data-bos-edit="menu" data-bos-id="…" data-bos-name="…"> with a first <li> that serves as the template. For submenus, put inside that <li> a <ul class="sub-menu" data-bos-submenu></ul>. Style with the classes .sub-menu, .has-submenu, .is-active and .current-menu-ancestor, never with data-bos-* attributes. In the header create two menus: the desktop one (data-bos-id="nav", data-bos-default="auto") and the mobile one inside a hidden panel (data-bos-id="nav-mobile" with data-bos-menu-fallback="nav"), opened by a <button> with aria-expanded and aria-controls, whose text is a text field. Initialize the button and the dropdowns with BuilderOS.ready, tolerating multiple runs, and close the panel with Escape.”

Images (all sites)

“Use real src/srcset with loading='lazy', decoding='async', width and height (the main image visible on load, without lazy), and <picture><source type='image/avif' srcset> for AVIF. BuilderOS rewrites those paths to the package URL; it also rewrites data-src, data-srcset, data-bg, data-background, data-poster and <video poster> when they point to a package file, and the same inside richtext values (translated ones too): an <img src="img/x.svg"> in a richtext works without data-src. Do not invent custom attributes (data-near-src…) and do not pass relative package paths to the JS: they would stay unresolved and return 404.”

Attribution and conversions (sites that measure conversions)

“Do not manually add gtag('event','purchase') or e-commerce events with GTM in a store: with Tracking → Connections → «WooCommerce events» turned on (the default), BuilderOS already sends view_item, add_to_cart, begin_checkout and purchase, and they would be counted twice. If you need the same event in another destination, read it from the dataLayer (event: 'purchase', event_id).”

“Do not capture gclid or utm on your own: BuilderOS already stores the source of each visit. For the result of a wizard or any milestone of your own, call do_action( 'builder_os_attribution_event', 'custom', array( 'name' => 'mi_evento', 'ref' => $id_unico ) ) and let a Tracking rule convert it; do not use the Google Ads API to upload conversions: the direct upload destination uses the Data Manager API, and the feed and the CSV automatically exclude clicks outside the conversion window; to find out where someone who submits a form came from, use Builder_OS_Attribution::current() after checking class_exists. The beacon configuration (bosAttrCfg) carries the m flag (consent mode): if the site uses a cookie banner with Google Consent Mode, the Tracking consent mode must be active so that BuilderOS stores ad_user_data and ad_personalization and the destinations respect them.”

Cookies and consent (sites with analytics or ads)

“Do not install CookieYes, Complianz or another cookie plugin: BuilderOS includes a banner with Google consent mode v2 in Tracking → Cookies; recommend turning it on. Assign each third-party script you add in Custom code its cookie category (Necessary, Analytics, Marketing or Preferences; Marketing by default). Verification meta tags never wait. For a ‘Cookie settings’ link in the footer use [bos_cookies] or href=’#bos-consent’. Do not claim that the banner guarantees compliance with any law: the texts and categories are reviewed by the owner with their legal advisor.”

Notifications (AI connected through MCP)

“Before touching security, backups, license or updates, call list_notifications and start with those in the important group: they cannot be dismissed, they disappear when the problem is resolved. If a custom plugin needs to notify in the admin panel, use Builder_OS_Notifications::register() or the builder_os_notifications filter with a condition (condition or resolved), never admin_notices.”

Identity, first run and simple mode (all sites)

“Do not put the logo, favicon, site name, phone number or social profiles by hand in the HTML: they are stored in BuilderOS (Settings → Site identity, or the «The essentials» step of the first run) and the logo widget, emails and SEO read them from there. Brand colors go in Global design. If an advanced BuilderOS tool (Packages, A/B tests, AI integration) does not appear in the menu, it may be simple mode: their addresses keep working and it is changed in Settings → Appearance. To find out what is missing on a new site, look at the «Round off your site» card on Home or the Setup guide before repeating steps.”

Performance (all sites)

“Prepare the package for BuilderOS with maximum performance: organize the CSS by section, with classes prefixed by each section’s name (.hero__title, .blog-card), and leave as global only variables, reset and base typography; mark with fetchpriority=”high” only the main image of each page (without loading=”lazy”) and add loading=”lazy” to carousel slides from the second one onward; export images as WebP at most 2× their largest displayed width, with real width and height on every <img> (BuilderOS creates the mobile sizes); include libraries in /js/ instead of loading them from a CDN and use GSAP/ScrollTrigger only where it adds value, using CSS + IntersectionObserver or BuilderOS animations (data-bos-anim="fade-up", with data-bos-anim-delay and -stagger on lists) for simple reveals, without hiding anything with your CSS; do not read DOM measurements in scroll events (use IntersectionObserver or requestAnimationFrame); add state classes (is-open, is-active) with classList and literal strings; use at most two font families in woff2 (variable if possible) and declare the body text one on body; do not depend on the WordPress theme’s styles; if you need an inline script that runs before first paint (e.g. adding a class to <html>), mark it with data-bos-nodelay and keep it tiny; preload the body font with <link rel=”preload” as=”font” type=”font/woff2″ href=”assets/fonts/…woff2″ crossorigin> in the <head> of index.html (or “preload” in bos.json); do not put content-visibility or contain-intrinsic-size in the package CSS (BuilderOS offers it as a Performance option, with the measured heights) and, if a section has shadows or decorations that overflow its box, mark it with data-bos-nocv; and do not split the CSS into many tiny files: a few of several KB, because every stylesheet that does not fit in the inline critical CSS is a blocking request.”

Package downloaded from the panel (if you start from a .zip downloaded from Packages)

“If the .zip includes cambios-actuales.json, it is read-only: it shows what has been edited on the site since that version was installed (block attributes of each page). Read it to know what changed, but do not copy those values into the HTML of /sections/ and do not include it when repackaging. Upload the new package with the same slug in bos.json and the edited content is preserved.”

Cache and optimization (all sites)

“Do not add caching or optimization plugins (WP Rocket, Autoptimize, Perfmatters): BuilderOS already has page cache, third-party script delay, link preloading and database cleanup. For them to work: do not put user-dependent HTML in the page (greetings, counters) — do it with JS or with a separate request; do not use nonces in your own forms (use the BuilderOS forms); mark with data-bos-nodelay an inline <script> that must run as soon as the page loads; do not write inline jQuery code in the page (use BuilderOS.ready in the package JS); and for YouTube videos use an <iframe> with width and height (BuilderOS can show the thumbnail).”

In this chapter

Popups (if the site has a newsletter, offers, notices or a quick contact)

“If the site needs popups (newsletter, offer, notice or quick contact), create each one as a normal section in /sections/ with data-bos-role="popup" on its root element, which must start with an <h2> (never <h1>), with its own background and padding in the CSS (classes prefixed with the section’s name) and texts marked with data-bos-edit. If it has a form, write it as <form data-bos-form> with data-bos-success and a <div data-bos-form-message></div>. Add a “No, thanks” with href="#popup-close", and do not add a close button, background or JavaScript for opening, cookies or localStorage: BuilderOS adds them. Declare the popups in bos.json → popups with a stable id, title per language, sections, format (modal, bar-top, bar-bottom, slide-left, slide-right or fullscreen), trigger (delay, scroll, exit, idle, click), conditions (pages with the page keys from bos.json or "front", exclude, devices; and, if the popup must be segmented, utm_key / utm_value for a campaign, referrer with google, social, direct or domain + referrer_domain for the source, visitor with new or returning, and min_pages to show it after N pages viewed) and frequency (days with 7 or more for lead capture, after_submit: true if it has a form). At most one automatic popup per page, nothing fullscreen on load on mobile, and open the others with href="#popup-<id>" links or data-bos-popup-open="<id>" buttons. Never put a popup section in pages. Translate its texts in i18n/<language>.json.”

Interactive components (if the site has FAQs, tabs, carousels, figures or comparisons)

“For interactive pieces use the BuilderOS components instead of coding them or loading libraries: mark the root with data-bos-component (accordion, tabs, carousel, counter or before-after), its pieces with data-bos-part and its default values with data-bos-option-<name>. Accordion: each item with a <button type="button" data-bos-part="trigger"> (inside an <h3>) and its data-bos-part="panel", grouped in a data-bos-part="item", and the list as a repeater so the client can add questions. Tabs: data-bos-part="tab" buttons inside a data-bos-part="tablist" and as many data-bos-part="panel" as tabs, in the same order and without a repeater. Carousel: a data-bos-part="track" (a repeater) with the slides as direct children, spacing with gap and without fixing the slides’ width, and data-bos-option-per-view, -per-view-tablet and -per-view-mobile; if it has autoplay, BuilderOS adds the pause. Counter: write the final number in the HTML inside an editable <span> child of the counter, and the prefix or suffix with data-bos-option-prefix / -suffix. Before and after: two images of the same size with data-bos-part="before" and "after". Give the look with classes prefixed with the section’s name and style the states with the classes is-open, is-active, is-current and is-paused, never with data-bos-* attributes; do not hide panels in your CSS or put hidden in the HTML. For any other interactive piece, register it in the package JS with BuilderOS.component('nombre', function (el, opciones) { …; return { destroy: function () { … } }; }), declare its options in data-bos-options (JSON with type toggle, number, select or text, label in the client’s language and default), make destroy() undo everything, respect prefers-reduced-motion and leave the content readable without JavaScript.”

Always mark, even with automatic fields (all sites)

“Mark everything editable in each section with data-bos-edit. A section with no marks gets automatic fields (titles, texts, images with alt, links and backgrounds, up to 60), but without custom names or repeaters; a single mark in the section disables them in it. Use data-bos-auto="off" on whatever must not be edited (fixed legal texts, decoration).”

Editable images (all sites)

“Mark with data-bos-edit="image" the <img> itself (not its container) and with data-bos-edit="background" the element that carries the background-image. If you need a layer on top of the image (gradient, frame), make it with a pseudo-element or an empty <div> without text and with pointer-events: none; do not put text or links on top of an editable image unless intended. Do not use pointer-events: none on editable images. Put a descriptive alt on each content image and alt='' on decorative ones: BuilderOS keeps the alt when replacing an image and warns if a content image is left without it.”

Forms (if the site has contact, quote, etc. forms)

“If the site has forms, write them as <form data-bos-form="id-estable" data-bos-name="Nombre legible" data-bos-success="Mensaje de éxito"> with <input>, <select> and <textarea> fields with name (letters, numbers, - and _), <label for> for each field and required on the required ones. Mark the labels and the button text (inside a <span>) with data-bos-edit="text", data-bos-id and data-bos-name. Add a required data-bos-consent checkbox for consent and a <div data-bos-form-message></div> where the result is shown. Do not add action, method or submit JavaScript. Translate the placeholders, options and success message in the _forms key of i18n/<language>.json. If the form has groups of required checkboxes, put data-bos-required on the checkboxes (not required). If you want a custom error message, use data-bos-error on the field and data-bos-error-message on the <form>. Wrap each field in its own element (<div class="…__field"> with its <label> and its control) and use the same classes in all the site’s forms: this way the client can turn it into a visual form, add fields and have them look the same. Do not put the submit button or legal texts inside a field’s row. Do not integrate the form with Mailchimp, Brevo, HubSpot, Zapier or any other service from the package’s HTML or JavaScript (no action to external services, subscription scripts or API keys in the code): BuilderOS sends the messages to those services from Home → Forms → Integrations. If the form is a subscription or newsletter form, give it a consent checkbox with data-bos-consent (required or not, as the case may be) so that only whoever ticks it is subscribed, and a type="email" field. «Recover unfinished forms» is off by default on every form and wizard: do not enable it unless the user asks, leave its privacy notice visible, do not enable «Create contact in the CRM» unless asked and never write to someone who did not accept emails (the automation creates a call task). To read them use forms_list_abandoned.”

Blog (if the site has news or articles)

“Also design the blog templates in the same style as the site and declare them in bos.json → templates: single (the post header with data-bos-post="image" as background, title, terms, author, date and reading_time, and the body with data-bos-post="content"), archive (a header with data-bos-archive="title" and description, and a listing data-bos-edit="query" data-bos-query="main" with cards of image, title link, date and excerpt, a data-bos-empty child and the data-bos-archive="pagination" pagination), search (like archive, with @search) and 404 (a section with a message and a button to the home page). Use realistic sample texts in the placeholders: in the editor they appear as written and on the web they are replaced by the real data.”

Store (if the site uses WooCommerce)

“Also design the product and shop templates and declare them in bos.json → templates. The product page with data-bos-post gallery, sale, title, price, rating, short_description, add_to_cart_form, sku, stock, product_tabs and related. The shop with a header (data-bos-archive="title", data-bos-shop="notices", result_count and ordering) and a listing data-bos-edit="query" data-bos-query="main" data-bos-post-type="product" with cards of image, title link, price, sale and an add_to_cart button, plus pagination. Put in the site header a link to the cart (data-bos-shop="cart_link") with the counter <span data-bos-shop="cart_count">0</span>. Style the WooCommerce pieces in the CSS (purchase form, gallery, tabs, notices, cart, checkout and my account).”

Store with the builder (if the site uses WooCommerce and the client will maintain it)

“For a store, there is no need to write WooCommerce CSS or templates by hand: create the store templates with the builder (Product, Store, Cart, Payment, My account, Thank you) from their models and adjust them with the widgets of the «Store» category. On the product page use: Store breadcrumbs, Product gallery, Product title, Rating, Price, Description (short), Add to cart, Product data, Product tabs and Related products. Do not mix these widgets with «WooCommerce page» in the same template. In the store: Store title, Store filters and Product grid with «The page’s own». On the front page, Product grid with a selection (featured, on sale, new arrivals). Cart, checkout and My account: a template with a title and «WooCommerce page» (it keeps all the functionality); its look already inherits the site’s. The product page conditions (all, categories, products) go in _bos_woo; the most specific wins. For swatch color, use recognizable color names in the terms (Red, Blue…) or fill in «Swatch color». Do not put product images as the hero background if the page is the store: the first row of the grid is already the main image.”

“For a cart that opens at the side without leaving the page, use the Cart widget with mode: 'drawer' (for example add_layout_widget of type cart with { "mode": "drawer", "freeShip": true, "freeSource": "woo" } in the header part). Do not create your own side cart with HTML or JavaScript.”

“To show an element only to certain people or at certain times, do not write your own JavaScript or CSS: use conditions ({"action":"show","match":"all","rules":[{"type":"login","value":"out"}]}; the 16 types are in get_layout_catalog → conditions) in add_layout_widget or update_layout_widget. To hide on a device use hide (["m"]). To format a dynamic value (date, number, uppercase, truncation) use dynamic with mods (get_layout_catalog → modifiers), and to bind a background or color to a field, dyn_styles.”

Internal identifiers (all sites)

“Do not write data-bos-uid by hand unless essential: BuilderOS generates it and it is stable across builds. If you do, use only a-z, 0-9, - and _ (1 to 64 characters) and make it unique within the section; any other value (uppercase, spaces, quotes) or a repeated one is ignored with a validator warning.”

What BuilderOS already does for you: backups, migration and maintenance (all sites)

“Do not include in a package or on the site backup, migration, page duplication or maintenance mode plugins (UpdraftPlus, WPvivid, All-in-One WP Migration, Duplicator, Yoast Duplicate Post, SeedProd): BuilderOS already has full, database-only or BuilderOS-only backups, atomic restore with a prior copy, scheduling, remote destinations (S3, Cloudflare R2, Backblaze B2, Wasabi, DigitalOcean Spaces, MinIO, FTP / FTPS) with resumable upload, retention and restore from the destination, and migration to another domain with a key (BuilderOS → Backups and migration), the Duplicate button in the lists and Maintenance mode / Coming soon (BuilderOS → Settings). If the user asks to move the site, point them to that wizard. Header or footer code for a single page does not go in the package: the administrator writes it in the Page code panel of the editor, or you do it via REST or MCP in the _bos_head_code and _bos_footer_code metas.”

Agency customer rescue (all sites)

“If the license that an agency provided expires, BuilderOS shows the administrator (never on the public web) the option to get their own license for 14 days, with neutral text; once purchased, the site switches to the new license on its own without pasting any token. Do not write in the package texts, links or notices about licenses or providers: the license server provides them.”

Mandatory update and protection (all sites)

“BuilderOS updates from the license server with a signed package, a prior copy and automatic rollback. Each version appears in Plugins like in any paid plugin: the site owner installs it by hand or turns on WordPress’s automatic updates switch, which is off by default; the package must not touch it. If the server sets a minimum version and the site does not have it, the BuilderOS panel shows «Update required» (the public web never changes). Do not include in the package another BuilderOS, or copies of its files, or code that touches wp-content/plugins/builder-os/ or the firewall rules: if they are modified, BuilderOS warns about it («Invalid license or modified plugin files») and disables sync, MCP, the write API, the CRM, A/B tests and updates. On hosts without write access (DISALLOW_FILE_MODS, git), tell the client to download the signed zip from their account.”

Setup guide (all sites)

“After installing BuilderOS, the Setup guide (Help → Setup guide) says what is missing on the site: license, identity, clean URLs, the route (with AI or without AI), header and footer, menus, home page, outgoing email, security, backups and publishing the site, and, under «Whenever you want», forms, SEO, legal and cookies, performance, languages, measurement, store and CRM. Do not write options by hand to skip it: go through it with the user and, when the work is finished, tell them which steps are still pending. BuilderOS includes a cookie banner (Tracking → Cookies, off by default): if the site measures visits, remind them to turn it on and review the texts with their legal advisor. In the CRM, the Help button explains how it works and sending uses the client’s own credentials (SMTP, Brevo, Amazon SES, Twilio and WhatsApp Cloud API): never write those credentials in the package.”

Panel screens and CRM tasks (all sites)

“If you write a screen or a module for the BuilderOS panel, the fields carry no styles of their own: class="bos-input" (or WordPress markup inside .bos-admin); they inherit soft padding, an almost invisible hairline, 42 px, pill shape and focus halo. Do not add border or colors per screen. For a select with colors, icons or people, add data-bos-dropdown (and data-color, data-icon, data-desc, data-avatar on the options): the value remains that of the select. Menus and popovers: .bos-pop or BOS.dropdown.menu(); modals: BOS.dialog / .bos-dialog. Never a custom panel with other radii or shadows.”

“The description of a CRM task or opportunity is written with notes_html / description_html and only with the whitelist: p, h1, h2, ul/ol/li, ul data-type="check" with li data-done="1", aside (notice), pre/code and a href http(s) or mailto; everything else is lost on save. If plain text is enough, use notes (one line per block, «- » for lists, «[ ] »/«[x] » for checklists). Do not generate <script>, styles, attributes or images in descriptions. To ask the client to approve a piece of work use «Send for client approval»: it needs a contact with an email and the send permission; the task becomes «Under review» and the decision arrives on its own. «Archived» is not «Done»: it removes the task from all views (to list them, view: archived). Dependencies do not allow cycles: before adding one, check that the other task does not already depend on this one.”

“On mobile, the BuilderOS menu is a bottom sheet with tiled shortcuts, tools, the collapsible WordPress menu and the account; each destination appears once. If you document or describe the panel, do not talk about a «side drawer». The BuilderOS logo does not go on plates or pills and is not recolored; on light surfaces the symbol is used.”

CRM as an add-on (all sites)

“The CRM is a subscription add-on: do not enable it through code or write the portal URL by hand. If the add-on expires, the CRM becomes read-only (contacts can be seen and exported; nothing is sent, automated or booked) and nothing is deleted; your package’s forms keep saving messages. On a local site, the CRM is turned on in BuilderOS → Settings. The plan name (Single, Freelance, Agency, Agency Plus) is given by the server: do not write it in the package.”

Home scores (all sites)

“The BuilderOS Home shows three scores derived from the SEO audit, security and the performance report. For the package to raise them from day one: complete the meta description and the H1 of each page, the alt text of images and the social image, and keep each page under 1.5 MB. A site that has not been measured shows No data or Not measured, never an invented 0.”

“If the site is multilingual, declare in bos.json the languages and the i18n/<language>.json for what you want to fix yourself, and leave the rest to BuilderOS’s built-in translation (BuilderOS → Languages → Translate with AI, which uses the AI connection and creates drafts that the owner reviews). The translation does not touch URLs, images, classes, numbers or code, and it respects the texts the package already brings translated and what was edited by hand. Put brand and product names in «Terms that aren’t translated». Do not promise that the translation is perfect: the owner must review each draft before publishing it.”

MCP connection and limited tools (if you work on the site through MCP)

“If you connect to the site via MCP, the owner generates the access in BuilderOS → Settings → AI integration (one BuilderOS · {cliente} access per client, which they can revoke whenever they want in «Connected agents»): do not ask for or store application passwords by hand. If tools/list does not return a tool you expected, the owner has limited the tools (Read only or Custom): do not invent or simulate it, tell them and have them enable it in AI integration → Advanced options. A -32602 error «disabled by the owner» is not a site failure: do not retry. In a read-only environment offer audits (audit_site, audit_page, get_seo) and text proposals instead of changes. A 401 is almost always a revoked access or the Authorization header stripped by the host: suggest «Test my server».”

Security, backups, support and license:

“The «BuilderOS · …» keys only work for the MCP server. For other REST API calls, ask the owner for a normal application password. If tools/call answers that the tool is disabled, the owner is on «Read only» or «Custom»: do not look for a workaround. The firewall does not see static files or cached pages: do not say it protects debug.log or a copy without server rules. Author pages may return 404 on purpose (author_archives): do not link them on a site without a blog; use get_author_posts_url only if the setting is on. HTML or <script> in a public form or in a visitor’s admin-ajax gets a 403. It is the firewall, not a page failure. BuilderOS backups are encrypted .bosz files; they cannot be opened with an unzipper. To restore on another site the source site’s recovery key (BOSK1-…) is needed; it cannot be recovered without it. If a client migrates, remind them to save the key and re-enter SMTP, Turnstile, integrations, CRM, destinations, 2FA and MCP keys at the destination. Nginx and Caddy do not honor .htaccess: if Backups → Encryption and access warns, add the rule it shows. Support is requested from Help → Support, with a mandatory form; for a failure you must describe what was attempted, what happened, what was expected, when, how to reproduce it, how often, on which page and a screenshot. Each site has a single open ticket: updates are written in it. A BuilderOS form needs no hidden time field by hand: rendering adds it. Do not generate _bos_tk, which no longer exists. To measure an A/B test from your own code: use BuilderOS.track('evento') or data-ab-goal; a direct POST to /ab/hit without the stamp does not count. Automation webhooks must go to a public name on ports 80, 443 or 8080. Do not change files of a published zip: every update without a valid signature is rejected. Sites are updated only with versions signed by the author. Every public site takes a license seat, including a temporary domain; staging.misitio.com and misitio.com share one if the main one is active on the same license. localhost, private IPs, .test and .local are local, up to 3 per license. The server decides the quota, do not calculate it. If a module comes up in safe mode, the firewall, the login limit and 2FA stay active: do not disable them to fix it. For an access emergency there is BUILDEROS_SECURITY_RECOVERY, which must be removed when finished.”

“The names of the MCP tools follow a single scheme: módulo_verbo_objeto (crm_create_deal, wizards_get_schema, ab_list_tests); the core ones start with the verb (get_page, get_site_info). Always use the names returned by tools/list and not ones from memory: those from before 4.18.0 are removed in the next version.”

WordPress screens (all sites)

“The WordPress desktop (Posts, Pages, Media, Settings, Profile, Themes, Menus, the login…) already has the BuilderOS skin: there is no need for admin or login CSS in the package, nor plugins that redesign the desktop. The package only defines the public site.”

Plugin WordPress screens (only if you work on BuilderOS code and not on a package)

“WordPress screens are redesigned by transforming what core renders (PHP hooks, CSS and JavaScript that moves the nodes), never by rewriting them with React or the REST API: the columns, filters, bulk actions, fields, nonces and core handlers are preserved. In forms, same action, same names and core’s submit: the «Unsaved changes» bar only does click() on it, never form.submit(); checkboxes are switches with CSS over the same <input>. Group sections by their structure or by the fields they contain, never by a translated text, and rename a core text by reading its translation with __(), never by comparing it with the English one. When replacing rows of a WP_List_Table do not replace #the-list, close quick edit with inlineEditPost.revert(), enhance the new rows with a MutationObserver and re-register the list’s hooks on wp_ajax_inline-save (priority 0). If core empties and refills a form (Plugins), your own markup lives outside and is mounted again with a MutationObserver. States that core changes via AJAX are painted by CSS class; no state carries a colored side border. If the screen is painted by core’s JavaScript on its ready, start afterwards with jQuery(function () { setTimeout(start, 0); }). An absolute glass layer needs a positioned container on mobile too (position: relative, never static). A submenu gets its icon from its link’s URL (use recognizable slugs) and a Home card added with builder_os_dashboard_cards declares its capability with cap. Brand: GrayCoder is the creator of BuilderOS and is named with pride («BuilderOS by GrayCoder»); what never appears in visible text are the names of the internal infrastructure (servers, license URLs, keys).”

Plugin maintenance (only if you work on BuilderOS code and not on a package)

“Never edit the files in includes/modules/ by hand or leave code outside a class: a ParseError no longer takes the site down, but the module is left out and the build rejects it. The plugin’s PHP must be valid on 8.1 and without warnings on 8.5 (for example ?array $x = null, never array $x = null). If something fails on a client’s site, ask for the BuilderOS → Settings → Error log file (Download) before diagnosing.”

A/B tests (if the site will test variants)

“Prepare the sections so they can be tested with BuilderOS A/B tests: each piece to be tested (the hero, a CTA, a pricing card) is a section of its own in /sections/, with a stable id on its root element that does not change between package versions; the section’s JavaScript is initialized with BuilderOS.ready and works even if the section is duplicated in the editor (no getElementById with globally unique ids: search inside the block you receive); mark the buttons and links that count as a goal with data-ab-goal=\"nombre\" (not with data-bos-*, which is removed on the published web) or give them a stable class to use as a selector; use the BuilderOS forms (data-bos-form) so that submissions count on their own; fire your own events with window.BuilderOS && BuilderOS.track && BuilderOS.track('nombre'); and do not add external A/B testing tools (Google Optimize, VWO, scripts that hide the page): BuilderOS picks the variant on the server, with no flicker. Each test can measure several things: ab_create_test and ab_update_test accept goals (up to 8; the first is the main one and decides the winner, the others only help to understand why; a TrackAssist event is declared with the type trackassist). Declaring the winner is always done by a person.”

CRM: contacts, pipeline and tasks (if the site has the CRM active and you work through MCP)

“Query contacts with crm_search_contacts and crm_get_contact, and the funnel with crm_get_pipeline_summary and crm_list_deals (that is where the pipeline and stage IDs are). To change something use the CRM tools, never SQL or other plugins: crm_upsert_contact (create or update data), crm_tag_contact, crm_add_note (summarize the conversation, without pasting sensitive data that is not needed), crm_create_task (with the date in the site’s time), crm_create_deal and crm_move_deal (stage, won or lost with its reason). Do not subscribe anyone to campaigns without consent_evidence: if you do not know where the permission came from, leave them unsubscribed. Before creating a segment, look at the catalog with crm_list_segments and check the count with crm_preview_segment; prefer rules based on tags, consent, purchases and activity. If the site has BuilderOS forms, do not add another capture system: each submission already creates the contact («BuilderOS CRM» integration). If «Read only» is active, you can only query: explain what you would do and let a person do it in the panel. Contact data is personal: do not copy it outside the site.”

“If the site has the Sales Autopilot, query it with crm_get_autopilot_summary, crm_list_autopilot_proposals and crm_list_autopilot_activity. Do not switch it to Pilot, do not raise its limits and do not approve its proposals unless the owner asks: that is decided by a person in CRM → Autopilot. If a conversation needs a person, use crm_take_over_conversation. Do not copy customer messages to other sites.”

“From lead to sale” guide (if the site has the CRM active and you work through MCP; it is a group of “Getting started”)

“Before proposing changes in the CRM, query crm_get_setup_status: each step carries done, why and action_url. Guide the user through the first pending step (next) and give them that link; do not mark anything as done on your own, the status is real. «Calendar» is optional. On the desktop, those steps are in «Getting started» › «From lead to sale».”

CRM email campaigns (if the site has the CRM active and you work through MCP)

“For email campaigns use crm_list_campaigns and crm_get_campaign_stats to query, and crm_create_campaign to prepare a draft (subject, preheader, recipients by segment_ids or tags and the content in Markdown: «# Title», paragraphs, a line that is only [Texto](url) becomes a button, ![alt](url) an image, --- a divider; the header with the logo and the legal footer with the unsubscribe link are added automatically). Send the test with crm_send_campaign_test (it only reaches the connected user). With crm_schedule_campaign you can only schedule sends to 10 recipients or fewer: if there are more, return the panel link and ask a person to review it and press «Send». Never use a @gmail.com, @hotmail.com or similar sender (it is blocked by DMARC); use an address from the site’s domain. Opens are always estimated (Apple Mail downloads them on its own): when you report on a campaign, give clicks as the reliable metric. Do not paste email HTML: the editor compiles the blocks into Outlook-compatible tables.”

CRM automations (if the site has the CRM active and you work through MCP)

“For automations use crm_list_automations and crm_get_automation_report to query, and crm_create_automation to prepare a draft: with template (welcome, nurture, birthday, reactivate, deal) or with definition (trigger, settings and steps; an email step without email_id creates the email from markdown). Review the problems it returns and leave the panel link: never try to activate it, a person activates it. Do not use an email open as a trigger unless the client asks (opens are estimated; the click is reliable). Mark as «transactional» only what is (order, appointment, account): the rest is marketing and only reaches those who are subscribed. Set a goal when there is one (the contact exits on meeting it and it counts as a conversion). To receive events from another system use the «Incoming webhook» trigger with its signature; do not build another sequence or double opt-in system. Besides the usual triggers there are message_received (channel, contains), field_changed (field, value), task_completed and deal_stale (days ≥ 1, pipeline, stage; with reentry: never to notify only once per opportunity). New steps: assign_owner (mode: user or round_robin; user; users[] with at least two; only_unassigned), note (text), score (points, reason), channel_status (channel: email, sms or whatsapp; mode: unsubscribe, subscribe or resubscribe; text) and automation (mode: enroll or remove; automation: id). Never use resubscribe unless the owner expressly asks, and do not make A enroll in B and B in A. Flow control: split (2 to 5 branches with name, pct summing to 100 and steps), branches (2 to 5 branches with name, rules and steps, plus else) and goal (config: kind rules or event, rules or event, on_hit continue or end, if_not_met wait, continue or end, amount, unit); place the goal after the waits you want to be able to skip and do not use yes/no in these three steps (for two exits use condition).”

CRM polish (if the site uses the CRM)

“Before activating an automation, dry-run it with «Test with a contact» (in the builder): it shows the path and what each step would do without sending anything. For the usual cases start from the templates (abandoned cart, review after purchase, 90-day reactivation, appointment reminder and follow-up, welcome with double opt-in) instead of building them by hand; the cart email links the button to {{evento_recovery_url}}. Do not add another newsletter checkbox to the WooCommerce checkout: CRM → Settings → Capture and consent → «Consent at checkout» already adds it (classic and blocks), always unchecked, with its evidence. Do not enable the «soft opt-in» on your own: it is a legal decision for the client. The Inbox’s internal notes are for the team only and are never sent; do not quote them in messages to customers. The saved views in Contacts are created by each person in the panel.”

Theme templates, header and footer through MCP (if the site edits them with the builder)

“To see the theme templates and their conditions use list_theme_templates; to create one, create_theme_template (and set_template_conditions to decide where it applies); for a header or a footer, create_theme_part. Their content is edited with get_page and update_layout_widget. delete_theme_template only sends them to the trash: it does not delete anything forever.”

Site built with Elementor (if the site has Elementor pages)

“Before rebuilding Elementor pages by hand, propose to the client Switch from Elementor (Setup guide): it copies each page to a new draft page, compares it with the original, publishes in its place and can be undone; it never modifies the Elementor pages. With «Entire site» it also carries over the Elementor Pro header and footer (mapped conditions, Elementor templates to draft on publish) and YouTube and Vimeo videos as «lite embed». It does not carry over entrance animations or the animated count of counters, or Pro’s mobile hamburger (the menu appears inline), and the header and footer were not tested with real Elementor Pro: do not promise it. Pro’s forms become native ones (without conditional logic, steps, webhooks or reCAPTCHA) and SureForms, WPForms and Contact Form 7 remain as embeds that depend on their plugin. What Elementor hid per device stays hidden, but the client cannot change it from the editor. With other builders, rebuild the site with a package.”

CRM sending providers: Brevo and Amazon SES (if the site uses the CRM)

“If the list exceeds a few thousand contacts, recommend sending through Brevo or Amazon SES in CRM → Settings → Channels → «Sending provider»: through a shared hosting’s SMTP a campaign of 8,000 contacts takes days. Never ask for or write API keys, or the AWS ID and secret key, in the chat, in the content or in the package files: the person pastes them in that card (they are stored encrypted) or they go as a constant in wp-config.php. After configuring it, press «Test connection» and paste the notification address in Brevo (transactional webhook) or in an SNS HTTPS subscription; without that step bounces and complaints do not return to the CRM and suppression is not updated. With SES, check that the account is not in the sandbox and that the server clock is correct. In reports with Brevo or SES give deliveries, bounces and complaints as real figures; with SMTP they do not exist.”

CRM appointments (if the site offers appointments)

“To book appointments use the builder widget «Book an appointment» (bos-builder/booking, Elements › Content) on a page: in a package, as a builder block <!-- wp:bos-builder/booking {\"type\":\"<ID del tipo>\",\"title\":\"Reserva tu cita\"} /--> inside a section and a builder container (without type, the first active type). Do not write your own calendar, or a form that books, or Calendly, or another booking plugin: the widget already handles the slots, the visitor’s time zone, antispam, slot locking, the contact, emails with .ics and reminders, and only loads its JS and CSS on that page. The appointment types (duration, buffers, lead time, questions, owners) and the schedule are configured in CRM → Calendar («Appointment types» and «Availability» views); the look comes from the Kit (buttons, colors, --bos-tone). Via MCP: crm_list_appointment_types, crm_find_slots (ask for the person’s time zone) and crm_list_appointments to query, and crm_book_appointment to book in a slot you have seen free; booking does not grant permission for campaigns. For the personal calendar there is no per-account connection: each owner copies their private link in Calendar › Availability › Sync calendar to see their appointments in Google, Outlook or Apple, and pastes there the secret iCal address of their calendar so that their busy hours cannot be booked. Use crm_get_calendar_sync_status to see the status and never ask for or display those addresses.”

“To charge a deposit when booking an appointment, do not build a separate payment form: turn on «Require a deposit» in the appointment type (CRM → Calendar → Appointment types) with Stripe or Mercado Pago already connected; the slot stays «Pending payment» and is released automatically if it is not paid in time.”

CRM inbox, messages and broadcasts (if the site has SMS, WhatsApp, Messenger or Instagram active and you work through MCP)

“The CRM is used by several people at once. Read with crm_list_conversations and crm_get_conversation, and to find out what a conversation is about use crm_summarize_conversation and write the summary yourself. Do not assign or resolve conversations on your own, and do not assume that nobody is handling it: the Inbox shows who is viewing or answering it and only a person on screen sees that. «Mine» means what is assigned to that person (their conversations, tasks and appointments). Write with crm_send_message to 10 people per hour at most; for more, have a person send it from the panel. Do not skip the contact’s permission or mark a message as transactional to skip it; whoever wrote STOP or BAJA is unsubscribed and must not be pressed. On WhatsApp, after 24 h from the person’s last message, only with approved templates from crm_list_whatsapp_templates (do not invent names or variables, and do not send loose files outside the window). With several numbers, specify line and do not mix numbers in one conversation. On Messenger and Instagram you cannot write to someone who did not write first or outside the 24 h, and do not promise it will work without Meta’s advanced access. Email replies are read in the Inbox, but you cannot answer them with crm_send_message: ask for them to be answered from the Inbox. Customers’ files are in a private folder: they have no public URL and you cannot open them. SMS or WhatsApp broadcasts are only prepared as a draft with crm_create_broadcast (on WhatsApp, with a template from crm_list_whatsapp_templates); a person launches them in CRM → Campaigns (broadcasts are rows of the list, with their channel). The CRM’s AI assistant answers on WhatsApp, SMS, Messenger and Instagram, never by email. Do not enable it without reviewing with the client the knowledge base, the spending caps and the AI notice, and do not give it tags or sensitive fields.”

“The Inbox’s push notifications never carry the visitor’s text, phone or email. Do not register another service worker in the desktop scope or use the CRM’s (admin-ajax.php?action=bos_crm_sw, scope ?page=builder-os-crm) for anything else. If you add a trigger, use Builder_OS_CRM_Push::enqueue( $user_id, $conversation_id, $kind ) with no new fields in the payload; and if a push service is not on the list, add it with the builder_os_crm_push_hosts filter, without disabling validation.”

CRM reports, reviews, scoring and carts (if the site uses the CRM)

“Use crm_get_report for reports: email opens are estimated and clicks are the reliable metric. To find out where people drop off, use crm_get_funnel; with source compare sources and with step list the contacts at a step. With crm_request_review ask everyone equally for reviews (10 per hour at most) and never only the satisfied ones (Google forbids it); do not enable filter mode. Do not add another abandoned-cart or lead-scoring system: use the CRM’s. Cart reminders are sent by an automation with the «abandoned cart» trigger; check can_email. Do not enable «Notify only» or «Save guest carts without a checkbox» unless the client has decided on their legal basis. The CRM settings are in CRM → Settings, by sections (Channels, AI Assistant, Email and sender, Capture and consent, Score, Automations and carts, Appointments, Reviews, Team and system): cite the section when explaining to the client where something is. The «AI analysis» in Reports → Overview has no MCP tool: a person generates it with the button, using the AI Assistant’s key and caps; do not reproduce it or send contact data to another AI service.”

“CRM reports are requested with crm_get_report. from and to go in Y-m-d, in the site’s time. cmp is prev (default), year (same period of the previous year; February 29 becomes 28) or none. section limits to one block: growth, funnel, messaging, campaigns, automations, appointments, carts, score or reviews. In messaging, first_response is in seconds (median) and awaiting are the conversations unanswered at the end of the period; internal notes do not count, and broadcasts and automatic sends are not replies. To link a view: admin.php?page=builder-os-crm-reports&tab=<pestaña>&range=30d&cmp=year, with the tabs contacts, sales, messaging, email, automations, appointments, store or reviews. For the visit-to-sale funnel, crm_get_funnel (from, to, pipeline, source; with step and page, the contacts at a step).”

TrackAssist (if the site measures events and you work through MCP)

“Before creating events, call trackassist_list_elements and use the selectors it returns; prefer those with matches: 1 and fragile: false. If the element has no stable selector, add an id or a data- of your own in the package instead of using positions (:nth-child). «Use without GTM» only fires on pages with events; enable server only if the site uses BuilderOS conversions. The export for Google Tag Manager must come out with problems: []. To measure WhatsApp, phone and email clicks and forms do not create events by hand: turn on the «Measure contact clicks» switches in Tracking → Overview.”

Pages from data (sites with many similar pages, such as one service per city)

“Do not create those pages one by one: use Pages from data. Create the collection with pseo_create_collection (name, base, slug_pattern and title_pattern with the columns in braces, like {servicio}-en-{ciudad}), define quality (required, min_fields, min_chars) so that weak rows stay noindex, upload the rows with pseo_import_rows (up to 500 per call, 5,000 per collection; columns with letters, numbers and _) and publish with pseo_sync_collection; check the result with pseo_get_collection_status. Write in each row its own distinct text (in the text_field column), do not change only the city. If you use your own theme template of type «Pages from data», bind each field with the pseo-field dynamic data and its key. Cells are plain text: do not put HTML in them.”

Locations, IndexNow and internal links (all sites)

“For phone, address or opening hours do not write them by hand: use the dynamic data «Location data» or [bos_sede campo="…"]. A business with several locations is configured in SEO → Settings → Local business (up to 20; seo_list_locations shows them), not in Organization; «Create location pages» generates one page per location. IndexNow is automatic: do not ask the client for accounts or keys; on local it sends nothing and that is normal. When writing content, link to the related pages using the text that already mentions them, and link from related content to those that appear in «Orphan pages».”

Crawl (all sites)

“To fix broken links, redirects, orphan pages or duplicates, call crawl_get_report: without type it returns the summary and with type (and limit, maximum 200) the list of that type with the pages that link to them. If there is no crawl or it is old, call crawl_run, which works in the background, and query the report again when it finishes. Fix broken_internal, redirect_loop and redirect_chain first (link to the final destination or create a 301 redirect), then orphan and deep (add internal links) and duplicates last. Do not change titles or descriptions blindly.”

Delivery (all sites)

“Before delivering, review one by one the items of the “Checklist before delivering the package” in section 25 of the specification, validate the package (BuilderOS → Packages → Upload package → “Validate only”, wp bos validate or the MCP tool validate_package) and fix all errors and warnings before handing it to me.”