forms_manage
Destructive
Lead-capture forms with a public link; each submission creates or updates a contact. action: list | templates | get (id) | create (name?, templateId?) | update (id + fields to change) | delete (id; the link stops working, confirm first) | submissions (id; latest 200).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Form id. | |
| name | No | ||
| tags | No | Tag names put on each new lead (max 10). Replaces the list. | |
| intro | No | ||
| style | No | Appearance: { button_color, background_color, text_color: "#rrggbb", font: system|serif|rounded|mono }. {} resets to the default look. Replaces the whole style. | |
| title | No | ||
| action | Yes | ||
| fields | No | [{ key, label, type: text|email|phone|textarea|select|address, required?, options? (select) }]. Keys name, first_name, last_name, email, phone fill the contact. Replaces the list. | |
| createTask | No | Also make a follow-up task per submission. | |
| templateId | No | For create, from action templates. Default: a simple contact form. | |
| submitLabel | No | ||
| successMessage | No |