Lead Capture
Automatically collect visitor contact details through your AI agent, then export or sync to your CRM.
What is lead capture?
Lead capture is a Pro plan feature. When enabled, your agent shows a short contact form to visitors after they've sent 3 messages. The form asks for:
- Name (required)
- Email address (required)
- Phone number (optional)
Leads are stored in your Ask Ai account and can be exported as CSV or sent to your CRM via webhook.
Enabling lead capture
- Go to My Agents
- Find your agent card and click Lead Capture & Leads
- Toggle Lead capture form to ON
- Click Save
The form will now appear after 3 messages in every new conversation.
Note: Lead capture requires a Pro plan subscription. Upgrade at /ai-agent-plans.
Setting a webhook URL
A webhook lets you automatically send lead data to your CRM, Google Sheets, Zapier, or any other service that accepts a HTTP POST request.
- Enable lead capture (see above)
- Enter your webhook URL in the field that appears
- Click Save
When a visitor submits the form, we POST a JSON payload to your URL:
{ "event": "lead_captured", "widgetId": "your-widget-id", "name": "Jane Smith", "email": "jane@example.com", "phone": "+44 7700 900000", "capturedAt": "2026-08-29T12:00:00.000Z" }
Webhook delivery is best-effort — if your URL is unreachable, the lead is still saved in Ask Ai.
Viewing leads
- Go to My Agents
- Click Lead Capture & Leads on the relevant agent
- Scroll down to see all captured leads with name, email, phone, and date
Exporting leads as CSV
Click Export CSV in the leads panel. A CSV file downloads immediately with all leads for that agent.
The CSV includes: Name, Email, Phone, Date.
GDPR & data handling
- Lead data is stored securely in our EU-region database
- Leads are linked to your agent (not shared with other users)
- Visitors consent implicitly by submitting the form — consider adding a privacy notice to your website if you serve EU users (see our GDPR guidance)
- You can delete individual agents (which deletes all associated leads) at any time
- We retain lead data for as long as your agent exists. Deleting your agent permanently removes all its leads from our systems
See our full Privacy Policy for more detail.