asksteps: put a form under one of the account's subdomains
asksteps_assign_siteWires a form to one of the subdomains the account ALREADY holds, under a path of your choosing. Requires "publish:write". It does NOT create a subdomain or a domain — that needs DNS records and certificates and is done by a person. If the name does not exist, the answer lists the ones that do; read those out instead of guessing. Wiring alone does not publish: afterwards call asksteps_publish_form with target "whitelabel".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Path under that subdomain, e.g. "bewerbung". Leave empty to derive it from the form name. | |
| form_id | Yes | The form or funnel id. | |
| subdomain | Yes | The subdomain label the account holds, e.g. "kunde1" for kunde1.asksteps.co. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | The address the form is now reachable at once it is published on that channel. | |
| note | Yes | One sentence for the user. | |
| status | Yes | Outcome. One of: "assigned", "not_connected", "not_found" (no subdomain with that name in the account), "error". Authorisation can also refuse before the tool runs: "plan_required" (the account's plan does not include agent access), "not_enabled" (the account owner has not switched agent access on), "owner_required" (only the account owner may do this), "mandate_required" (the owner has not granted a mandate for this). The note then says what the user has to do. | |
| availableSubdomains | No | The subdomains this account holds, so you can name the choices instead of guessing. |