Two actions let your AI agent gather information in the chat: Collect leads for contact details, and Collect data for anything else a request needs.
What the animation shows:
- A visitor asks for something that needs follow-up, like a quote.
- The AI agent shows the lead form. The visitor fills it in and clicks Submit.
- They see your Message after saving.
- The lead appears in Leads.
Collect leads
The agent asks for a name, email or phone when a visitor is interested, for example when they ask for a quote.
- Open your agent, go to Actions and add Collect leads.
- Describe When to use it, for example "When someone asks about pricing for a custom project".
- For Name, Email and Phone, choose whether to Ask for it and whether it's Required. Add More fields if you need them.
- Add a Message after saving, like "Thanks! Jo will send your quote today."
- Turn on Email the team about new leads if you want an email for each one. It goes to your workspace's owners, admins, members and support people (anyone who can answer chats, but not Viewers), except anyone who turned off New leads in their account's email notifications.
- Save, then publish.
Each lead is saved to Leads with the chat. It's added to Contacts only when the visitor agreed to be contacted, for example through the email gate or the form that offers a person.
Collect data
The agent collects the details a request needs, like a return form or a booking request.
- Add Collect data and describe When to use it.
- Under Fields, click Add field for each detail. Give it a Field name, a Type (Text, Number, Yes or no, Date or Email), What to ask for, and whether it's Required.
- Add a Message when done.
- Save, then publish.
Submissions show in the action's list of details visitors gave, newest first. To get an email when one comes in, add Email the team too.
Tips
- Ask only for what you need. Every extra field means fewer people finish.
- Make the "when to use" description specific, so the agent doesn't ask too early.