- Make sure to use natural language.
- Keep the sentences short and simple.
- Include examples that show the model what a good response looks like.
- Focus on what you’d like the bot to do rather than what to avoid. Start your prompts with action-oriented verbs, e.g., generate, create, and provide.
Fields
In the Fields section, list the data the AI agent should collect from the user during the conversation. Each field has a name, a type (text, number, email, date, or boolean), a description that tells the AI what to ask for, and a required checkbox. You can add up to 20 fields. The AI asks for all required fields before saving the submission; optional fields are saved when the user provides them but never block the save. The AI never invents values: it only saves what the user has explicitly provided. Each time the agent completes a collection it is saved as its own submission, so if the action runs more than once in a conversation you get one submission per run. Collected data appears under Activity > Collected data, where each field gets its own column. Fields are also included in CSV and PDF exports and in the{action name}_collect_data.submit webhook.
Destinations
Use Destinations to specify where collected data should be sent.Webhooks
Add one or more webhook endpoints to receive each submission as aPOST request.
To add a webhook:
- Expand Destinations.
- Enter the endpoint URL.
- Click Create webhook.
- Save your changes.
Email notifications
Enable Email notification to receive an email every time data is collected through this action. You can add one or more email addresses, and each successful submission will trigger an email containing the collected data. Email notifications are not available for HIPAA accounts. On HIPAA accounts, collected field values are also redacted before they’re stored.
Channels
Use Channels to control where the Collect Data action is available. Enable or disable the action for each configured channel, such as:- Chat bubble
- Center stage
- Side panel
- Help page
- Messenger
After you’re done editing, you can preview all your settings in the AI agent found on the Action page. Finally, press the Save and enable button and your action will be live ready for your agent to serve to users.
