Collect form
A Collect form step sends a form to a customer and waits for them to submit it. The answers are checked against the fields you define and stored for later steps. If the customer does not reply, the step can send the form once more before it times out.
When to use it
Section titled “When to use it”- Ask a policyholder to confirm their nominee and address before renewal.
- Collect a callback time when no person is free to take a chat.
- Gather delivery feedback after an order arrives.
When not to use it
Section titled “When not to use it”- You only need to tell the customer something. Use Send message.
- The details need a conversation, with questions and follow-ups. Use Conversational agent with Details to collect.
- A member of staff fills in the form, not the customer. Use Human task.
Settings
Section titled “Settings”| Setting | What it does |
|---|---|
| Channel | Required. Voice, web chat, WhatsApp (default), RCS, web voice or app. |
| Recipient | Required. An expression, for example input.phone. |
| Form template | Required. The form to send. |
| Fields | The fields you expect, each with a type and whether it is required. Answers are checked against them. |
| Only send within the workflow’s contact hours | Default: on. Outside contact hours, the step waits until they open. |
| Remind after | Sends the form again once if there is no reply by then. |
| Time out after | Default: 24h. |
| Store answers as | Also saves the answers under data.<name>. |
What it produces
Section titled “What it produces”- The
submittedortimeoutbranch, and an error path. steps.<step id>: the answers, converted to the field types.data.<name>when Store answers as is set.
A reply that misses a required field, or has a value of the wrong type, takes the error path.
Example
Section titled “Example”An insurer asks for renewal details on WhatsApp and calls if there is no reply.
Schedule → Collect form (renewal_details, remind after 12h, time out 48h) submitted → MCP tool (update policy) → End timeout → Outbound call (renewal agent) → End{ "nominee": "S. Kumar", "address": "12 MG Road, Pune", "addOnRoadside": true }