Best for:
Collecting structured details (a shipping address, feedback, an application) without sending the customer to a separate page.
- Collecting a shipping address before arranging a delivery
- Gathering feedback details after a support interaction
- Capturing the specifics of a request your team will act on later
How to create the Action
1
Navigate to Actions
Go to your Chatbase dashboard and select your AI agent. Click Build > Actions in the left sidebar.
2
Create the Action
Click Create Action, select Collect Data, then click Start customizing.
3
Configure General Settings
Action Name: A descriptive name for this Action. It doubles as the identifier for this Action’s webhook events, so it must be unique across your AI agent’s Actions. Renaming the Action later changes its webhook event name, so update any webhook receivers that filter on it.When to use: Explain when the AI agent should collect this data from the customer. Include a description of what information is collected and its purpose, and add example queries that should trigger this Action.To restrict the Action to Procedure steps only, turn on Only use in Procedures. When it’s on, the When to use field is hidden, because the AI agent no longer decides when to call the Action.
4
Choose your fields
In the Fields section, choose how details are collected and add the fields this Action collects. See Fields below.
5
Set your destinations
In Destinations, choose where collected data should be sent. See Destinations below. This step is optional.
6
Choose Channels
This Action is compatible with every channel. Toggle it on or off for each configured channel. See Channels for what configured, unconfigured, and incompatible mean.
7
Enable and Test
Preview your settings in the AI agent on the Action page, then click Enable.
Fields

The form shows on the Chat Bubble and the Help Page. Other channels, like WhatsApp and Instagram, always collect details conversationally. New Actions start on Collect conversationally.
Add fields


- Collected as sets the field to Required or Optional for this Action. The AI agent asks for every required field before it saves. Optional fields are saved when the customer gives them.
- Use a different instruction for this form gives the field its own collection instruction on this Action, up to 4,000 characters. The field itself and your other Actions keep the original instruction.
What the customer sees
In conversation, the AI agent asks for each field by its customer-facing label and your collection instruction, and re-asks for anything required that is still missing. It only saves what the customer has said.


Collected data

{action name}_collect_data.submit webhook.
Example: collecting a shipping address
Example configuration: an Action namedshipping_address collecting the required fields Street, City and Postal code and an optional Delivery notes field, set to Collect conversationally, with When to use set to “When the customer wants to change where their order is delivered.”
Customer: I moved. Can you send my order to my new address? AI agent: Sure. What’s the street address? Customer: 12 Market Street, Springfield, 01101. AI agent: Thanks. Any delivery notes, like a gate code? Customer: No, that’s all. AI agent: Got it. I’ve saved your new address, and our team will update your delivery.The submission appears under Activity > Collected data with the street, city and postal code filled in, and fires the
shipping_address_collect_data.submit webhook.
Destinations
Use Destinations to specify where collected data should be sent. You can skip this step if you don’t want to send collected data anywhere external.Webhooks
Add one or more webhook endpoints to receive each submission as aPOST request. The payload’s customFields is keyed by each field’s internal label, see Webhooks.
1
Expand Destinations
Open the Destinations section of the Action.
2
Enter the endpoint URL
Add the URL that should receive the submission.
3
Create the webhook
Click Create webhook.
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 triggers 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.
Test the Action by having a conversation that should trigger it, and confirm the submission appears under Activity > Collected data with every field populated.
Channels
The Collect Data Action is compatible with every channel. Use Channels in the Action’s configuration to enable or disable it per channel. See Channels for what configured, unconfigured, and incompatible mean.Limitations
- Up to 20 fields per Action. If you need more, split the collection across separate Collect Data Actions.
- No image fields. Collect Data collects text, number, boolean, date, email and dropdown fields. Image fields don’t appear in the field list.
- The form shows on the Chat Bubble and the Help Page only. Other channels collect the same fields in conversation.
- Email notifications are unavailable on HIPAA accounts, where field values are also redacted before storage. The Action itself is available on HIPAA accounts.
Best Practices
Write Clear Collection Instructions
The instruction tells the AI agent how to get the value and what a valid answer looks like. A vague instruction produces a vague question and a wrong answer.
Require Only What You Need
Every required field is another thing the customer must supply before the submission saves. Mark the rest optional.
Reuse Fields
Pick an existing field before creating a new one, so the same detail has one name across your Actions and your webhooks.
Split by Purpose
Create a separate Action per kind of data you collect, so each has its own fields, destinations, and webhook identity.
Frequently asked questions
What's the difference between Collect Data and Collect Leads?
What's the difference between Collect Data and Collect Leads?
Collect Leads captures contact details (name, email, phone number and optional custom fields) and saves to Activity > Leads. Each AI agent has one. Collect Data gathers the custom fields you choose, saves to Activity > Collected data, and you can create several, each with its own name and webhook event.
I set up fields on a Collect Data Action before. What changed?
I set up fields on a Collect Data Action before. What changed?
Collect Data Actions used to list their own fields inside the Action. Those fields were moved to custom fields with the same names, so each Action asks for the same details as before and its webhook keeps sending the same keys. Your existing Actions keep collecting conversationally unless you switch them to a form.
If I change a field, does it change everywhere?
If I change a field, does it change everywhere?
Edits to a field itself, such as its labels or instruction, apply to every Action that collects it. Settings you change from the Action’s field card, Collected as and a different instruction for this form, apply to this Action only.
Does collected data create or update a Contact?
Does collected data create or update a Contact?
No. Submissions are stored separately under Activity > Collected data and sent to this Action’s webhooks and email notifications. They don’t touch Contacts or the leads list.
Does Collect Data count toward my plan's Action limit?
Does Collect Data count toward my plan's Action limit?
Yes. Every enabled Collect Data Action counts toward your plan’s Actions-per-agent limit, like any other Action. It has no other plan restriction and is available on HIPAA accounts.
What happens if I rename the Action?
What happens if I rename the Action?
The webhook event name includes the Action name (
{action name}_collect_data.submit), so renaming the Action changes the event your webhook receives. Update any receiver that checks the event name.