# Build an AI lead capture chatbot (/docs/guides/lead-capture-agent)

> Turn interested visitors into leads without a form. The agent answers their questions, asks a few qualifying questions, asks for consent, and saves the lead in a Records Leads table that your team works from a board view, with a daily summary.

Type: guide | Status: ga | Last reviewed: 2026-11-21 | Minimum role: builder

**Goal:** turn interested visitors into leads in the middle of a normal conversation, without a form.

This guide is for any business that sells a service or a product with a sales conversation: agencies, consultants, trades, schools and software companies. You need the **Builder** role or higher. Allow about 45 minutes.

## How do I capture leads with an AI chatbot? [#how-do-i-capture-leads-with-an-ai-chatbot]

Create a Leads table from the Records starters. Build a workflow from the Capture a lead recipe. The agent asks for the name, email, phone and need, checks them, asks for consent and saves the lead. Attach the workflow to your agent. Your team works the leads from a board view and gets a daily summary.

## Why use the agent instead of a form? [#why-use-the-agent-instead-of-a-form]

Visitors rarely fill in a form before their question is answered. The agent answers first, then offers to take details at the right moment. It can also ask qualifying questions in plain words, such as "How many locations do you have?" Each lead arrives with the conversation that led to it.

## What you need [#what-you-need]

- An agent that already answers questions about your services and prices. See [Turn your help center into an AI agent](/docs/guides/support-agent-from-your-help-center).
- A privacy notice on your website that covers chat leads.
- Two to four qualifying questions that tell your team whether a lead is a good fit.

## Steps [#steps]

1. **Create the table.** In **Records**, start from the **Leads** starter. It has Name, Email, Phone, Interest, Source, Status, Consent and Notes. See [Create bases and tables](/docs/records/create-bases-and-tables).
2. **Add your qualifying fields.** For example, Company size or Budget range. Keep it short; every field is a question the agent asks.
3. **Set AI access.** Turn on **Create**, so the agent can save leads. Turn Read and Update off if they are on, so the agent cannot look up other people's details. Keep visitor access **Staff only**.
4. **Build the workflow.** Use the *Capture a lead* recipe in [Workflow recipes](/docs/workflows/recipes). **Collect** the name, email, phone and need, then **Validate** the email and phone. Ask for consent, **Create Record**, then **Reply** and **Complete**.
5. **Write the trigger.** For example, "A visitor wants a quote, a demo or a call back. Not when they only ask a general question."
6. **Attach and publish.** [Attach the workflow](/docs/agents/attach-workflows) and the table, then [publish the agent](/docs/agents/publish).

<Screenshot src="/media/records/tables.png" alt="The Records tables list where you create a table from a starter" caption="Start from the Leads starter" captured="2026-11-02" />

<Screenshot src="/media/workflows/designer.png" alt="The workflow designer with a trigger and a chain of steps" caption="Build the lead capture workflow" captured="2026-11-01" />

## How should the agent ask for consent? [#how-should-the-agent-ask-for-consent]

The Leads starter has a **Consent** field. Ask for consent in plain words before the lead is saved. For example, "Can we contact you by email about this?" Save the answer in the Consent field.

If the visitor says no, the agent should keep helping and save nothing. Write that in its instructions.

## What does a lead conversation look like? [#what-does-a-lead-conversation-look-like]

An example, shortened.

> **Visitor:** Do you do websites for restaurants?
>
> **Agent:** Yes. We build sites with online menus and table booking. Would you like a quote?
>
> **Visitor:** Sure.
>
> **Agent:** Great. How many locations do you have?
>
> **Visitor:** Two.
>
> **Agent:** Thanks. What's your name, email and phone number?
>
> **Visitor:** Maria Lopez, maria@example.com, +34 600 000 000
>
> **Agent:** Can we contact you by email about this quote?
>
> **Visitor:** Yes.
>
> **Agent:** Thanks, Maria. We'll be in touch within one working day.

## Work the leads [#work-the-leads]

- **Board view:** open the Leads table and switch to the board. Leads move from New to Contacted and Qualified, then to Won or Lost.
- **Daily summary:** each teammate can turn on **Daily summary and plan tips** in **Settings → Personal → Notifications**. It lists the people who left their details. See [Notifications](/docs/inbox/notifications).
- **Follow-up:** reply from your own email or phone. The lead's row keeps the details and notes.

## Can I send leads to my CRM? [#can-i-send-leads-to-my-crm]

Not directly today. HubSpot and Salesforce integrations are on the [roadmap](/docs/reference/roadmap). For now, export the Leads table as CSV from Records, or add your team's Google Sheet with [Google Sheets](/docs/integrations/google-sheets) **Append row**.

## Test script [#test-script]

Run these in **Test chat** before you publish, and again on the live website chat.

| Ask | Expect |
|---|---|
| "How much is it? I'd like a quote" | An answer, then an offer to take details |
| An invalid email | A request for a correct one |
| A complete lead with consent | A new row in the Leads table, with Consent saved |
| "No, don't contact me" | No row saved, and the agent keeps helping |
| A general question only | Answered, with no push for details |

### Where do the leads go?

Into the Leads table in Records. Your team sees them in the table or the board view, and in the daily summary.

### Can I get an alert for each new lead?

The daily summary lists new leads once a day. For an instant alert, attach [Slack](/docs/integrations/slack) and add a **Call Action** step that runs **Post message**.

### Does it work on WhatsApp and other channels?

Yes. The same workflow runs on every channel the agent is on. See [Channels](/docs/channels).

### Can the agent read the leads table?

Only if you turn on AI Read. Keep it off, so the agent cannot share one visitor's details with another.

## Next steps [#next-steps]

- [Records recipes](/docs/records/recipes) for the Leads table and other set-ups.
- [Workflow recipes](/docs/workflows/recipes) for the capture steps.
- [Notifications](/docs/inbox/notifications) for the daily summary.

---

Used for: [AI agent for trades](https://loopwix.com/industries/home-services/trades)
