Skip to main content
When users submit forms through your agent, the data is captured as leads (form submissions). You can view, filter, and export this data, as well as set up automations to send leads to your CRM or other tools.

How Leads Are Captured

  1. User interacts with your agent
  2. Agent presents a form based on conversation context
  3. User fills out the form naturally in chat
  4. Data is submitted and stored
  5. Post-actions run (webhooks, emails, etc.)

Automatic Context

Each lead submission includes:
  • Form data (fields the user filled)
  • Conversation ID (link to full chat)
  • Agent ID
  • Timestamp
  • Submission status

Viewing Leads

In Conversations

  1. Go to Conversations
  2. Open a conversation
  3. Scroll to Form Submissions section
Each submission shows:
  • Form name
  • Fields and values
  • Submission status
  • Timestamp

Form Analytics

  1. Go to Analytics
  2. View the Forms section:
    • Submissions — Total form completions
    • Conversion rate — Impressions to submissions
    • Drop-off — Started but not completed
    • Field completion — Which fields get filled

Lead Status

Each submission has a status:

Automatic Retries

Failed webhooks are automatically retried:
  • Immediate retry
  • After 1 minute
  • After 5 minutes
Up to 3 retry attempts before marking as failed.

Setting Up Lead Capture

1. Create a Form Tool

  1. Go to Tools
  2. Click Add Tool
  3. Select Form type
  4. Define your fields:

2. Configure Post-Actions

Set up what happens after submission:

Webhook

Send data to your CRM or backend

Email

Notify your team of new leads

3. Train the Agent

Add instructions so your agent knows when to show the form:

Webhook Integration

Send leads to external systems in real-time.

Setup

  1. Edit your form tool
  2. Set Execution Mode to webhook
  3. Enter your Webhook URL
  4. Save

Payload Format

Your endpoint receives:

Response

Return a success status:
The message is optionally shown to the user.

Email Notifications

Get notified when leads come in.

Setup

  1. Edit your form tool
  2. Add Email post-action
  3. Enter recipient email addresses
  4. Save

Email Contents

Notification emails include:
  • Form name
  • All submitted data
  • Link to conversation
  • Timestamp

CRM Integrations

Connect leads to your existing tools:

Zapier / Make

  1. Create a webhook in Zapier/Make
  2. Add the webhook URL to your form
  3. Map fields to your CRM

Direct Integration

Build a webhook handler:

Lead Qualification

Use your agent to qualify leads before capturing.

Qualification Flow

  1. Initial questions — Agent asks about needs
  2. Scoring — Based on responses
  3. Conditional form — Only show to qualified leads
  4. Routing — Send to appropriate team

Example Instructions

Exporting Leads

Via API

Bulk Export

Lead Analytics

Track form performance in Analytics:

Key Metrics

Field Analysis

See which fields:
  • Are most often completed
  • Cause drop-offs
  • Take longest to fill
Use this to optimize your forms.

Best Practices

Keep forms short. Each additional field reduces conversion by 5-10%.

Form Design

  1. Minimize required fields — Only ask what’s essential
  2. Use progressive disclosure — Show more fields as needed
  3. Provide context — Explain why you need each field
  4. Use smart defaults — Pre-fill when possible

Qualification

  1. Qualify before forms — Ask questions first
  2. Segment leads — Different forms for different needs
  3. Score leads — Prioritize follow-up

Follow-up

  1. Respond quickly — Set up instant notifications
  2. Include context — Review conversation history
  3. Track outcomes — Close the loop on lead quality

Troubleshooting

Webhook Failures

Check:
  • Webhook URL is accessible
  • Endpoint returns 2xx status
  • Response is valid JSON
  • No timeout (30 second limit)
View failed submissions in the conversation details.

Missing Leads

Verify:
  • Form tool is properly configured
  • Agent is trained to use the form
  • User completed all required fields

Next Steps

Form Tools

Learn to build effective forms

Webhooks

Set up integrations