Make buttons open a form or Calendly
link_ctaMake one or more buttons on the site open one of its popup forms (target: "form" with form_id) or a Calendly scheduling popup (target: "calendly" with calendly_url). Name each button by its exact text from detect_page_ctas, plus its block when the same text appears in more than one place. This edits the design's code with the same linker the editor uses, is recorded in version history (undo with restore_version), and reaches visitors when the site is published. Linking to Calendly also switches on the Calendly integration so the popup can load.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | "form" opens one of the site's popup forms; "calendly" opens a Calendly scheduling popup | |
| buttons | Yes | The buttons to link | |
| form_id | No | For target "form": the popup form's id or slug, from list_forms `popup_forms`. May be omitted when the site has exactly one popup form | |
| site_id | Yes | The site, from list_sites | |
| user_goal | No | Optional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details. | |
| calendly_url | No | For target "calendly": the scheduling link, https://calendly.com/<user>/<event> | |
| variation_id | No | variation_id of the design to read or change (from list_variations). Omit for the site's chosen design. | |
| calendly_options | No |