Give the agent this prompt
What the agent should ask for
The agent may need:- A Contact Button API token stored in the host’s secret manager as
CONTACTBUTTON_TOKEN - The target workspace name or UUID when more than one is accessible
- Approval for a final preview and publish
- Approval before creating or changing DNS
- A Telnyx account only if the experience uses phone or SMS features
Expected execution
- Read the agent skill, OpenAPI contract, and relevant task guide.
- List accessible workspaces and ask the human to disambiguate only if needed.
- Inventory existing Pages, domains, buttons, forms, and apps before changing them.
- Make additive draft changes with stable UUIDs and idempotency keys.
- Report any requested outcome that the current public API cannot represent. Do not silently fall back to fragile browser automation.
- Present the planned public URLs and any paid or DNS actions.
- Publish only after explicit approval.
- Read the public result back as HTML, Markdown, manifest JSON, and an A2A Agent Card when enabled.
- Report parity problems, IDs, URLs, and human-only follow-up work.
First dogfood test: rebuild contactbutton.com
Use the existing workspace identified by the human as domain 3. Treat that label as a hint, not an authorization boundary: list the token’s accessible workspaces and confirm the returned workspace identity before writing. Build the new marketing Page as a separate draft. Do not modify the currentwww.contactbutton.com mapping during composition.
Recommended sequence:
- Inventory the existing workspace, Pages, custom domains, buttons, forms, booking types, and published links.
- Create a draft Page with a temporary
button.contactslug,robots_index: false, andllms_enabled: true. - Add only content and components supported by the current documented API. If Page-builder layout blocks are not yet exposed, stop and report the missing operations as product feedback rather than claiming the site is complete.
- Preview with humans and agents. Verify heading order, keyboard access, contrast, semantic links and forms, structured data,
index.md,manifest.json, andllms.txt. - Keep the existing marketing site available at
learn.contactbutton.combefore movingwww. - Add and verify
www.contactbutton.comas a custom domain without removing the draft’sbutton.contactidentity. - Change the publish destination and DNS only after approval and a documented rollback check.
Completion standard
The setup is not complete merely because an API returned200. The agent should show that:
- The intended workspace owns every new resource.
- Existing published resources still behave as before.
- The public HTML works without JavaScript for core reading and navigation.
- Machine-readable representations contain the same public facts and no secrets.
- Material public actions advertise and enforce their confirmation requirements.
- Custom-domain DNS and TLS are verified before the domain becomes canonical.
- Rollback consists of returning the publish destination or DNS record to the previously recorded value, not deleting shared data.