What to ask: the shortest form that still lets you follow up
Good AI chatbot lead capture starts by deciding what you will actually use. Every field is another reason for a visitor to stop typing. In practice four fields cover most websites.
| Field | Type | Required? | Why it is (or is not) worth asking |
|---|---|---|---|
| Yes | What you need to reply. Without it there is no lead. | ||
| Name | text | Optional | Makes the first reply sound human. The agent often learns it naturally. |
| One qualifying question | select or text | Optional | A single question that changes who follows up, such as “What are you looking for?” with three choices. |
| Phone | tel | Optional, and only if you will call | Ask only if someone will really phone, and say it is optional. |
SiteTrellis allows up to 12 fields, but the default of an optional name and a required email is a fine place to stay. Company size, budget and timeline are better asked by a person once the conversation is live.
Test every field: name who will read the answer and what decision it changes. If you cannot, delete it.
When to ask: after value, not before
The order matters more than the wording. A visitor who has just received a useful answer will share an email address. One greeted with a request for it has received nothing yet.
Moments that justify an ask:
- The visitor asks for a quote, a demo, a callback or a booking that a person has to deliver.
- The question needs information you do not publish, such as a custom price or availability on a specific date.
- The agent reaches the edge of its knowledge: offering a person beats a dead end. See human handoff for AI chat.
Moments that do not: the very first message, a question your FAQ answers in one line, a frustrated visitor, and right after the agent failed to answer. Asking then reads as taking. The order that works:
- Answer the question fully. The lead follows from being useful.
- Offer the next step in one sentence and say what the visitor gets: “I can have someone send you a written quote.”
- Ask for the email, and the name in the same message. One friendly message, not an interrogation of one field per turn.
- Ask one qualifying question only if it changes who follows up.
- Confirm what happens next with a time you can keep. Promise “within one working day” only if that is true.
- Stop asking. Once saved, never ask again.
With the SiteTrellis capture_lead tool, this order lives in the lead capture instructions, a short text of up to 1,000 characters that tells the agent when to offer. Be specific:
Offer to take the visitor’s details when they ask for a quote or a demo, or say they want someone to contact them. Ask for name and email in one friendly message. Do not ask again if they have already given them. After saving, say what happens next: "Thanks, our team will email you within one working day."
Pre-chat form or conversational capture?
There are two ways to collect the same details, and neither is always right.
| Pre-chat form | Conversational (capture_lead) | |
|---|---|---|
| When it happens | Before the first message, shown by the widget | Mid-conversation, when the agent decides the visitor wants follow-up |
| Who decides | You: every visitor sees it, optionally skippable | The agent, guided by your instructions |
| Main risk | A step before any value is delivered, so some visitors leave | The agent asks too early or too often if the instructions are vague |
| Best for | Desks that must know who is writing, or gated chats | Sales and enquiry flows where forcing a form would lose people |
For an anonymous public website, conversational capture is usually the better default, because the visitor decides after seeing the value. A required form adds a step in front of the first answer. There is no honest universal figure for how many visitors that costs, so test it on your own traffic.
A pre-chat form still earns its place when you cannot help without knowing who is asking, such as an account lookup. You can combine the two: an optional name up front, the email later. Submitted values become visitor attributes, so the agent does not ask twice. Options are in the lead capture docs, and the AI chatbot for lead generation page shows the whole flow end to end.
Two sample scripts: one that works, one that respects a no
Both conversations are illustrations with a fictional business: the first follows the order above, the second handles a mistyped email and then a polite refusal.
Do you handle payroll for a team of twelve?
Yes. We run payroll for teams from one person up to a few dozen, with monthly or fortnightly pay runs. Pricing for twelve depends on how many pay runs you need, so I would rather give you a written quote than a guess.
Would you like me to have someone send you that quote? I just need your name and email.
Sure. Dana Whitlock, [email protected]
Thanks, Dana. Someone from the team will email you within one working day. Anything else I can help with?
Can someone call me about year-end accounts? my email is sam@example
That email address looks incomplete. Could you check it, for example [email protected]?
Actually, I would rather not leave my details. Just tell me your opening hours.
No problem at all. We are open Monday to Friday, nine to five.
Consent and privacy basics
A lead is personal data. These are ordinary good-practice rules, not legal advice: requirements differ by country and by what you do with the data, and the SiteTrellis legal pages are not a substitute for advice on your own obligations. If marketing consent rules apply to you, ask a qualified person.
- Tell visitors why you ask. “So a person can email you the quote” beats a bare request. The widget has a consent text option for a short notice.
- Collect the minimum. It reduces both your obligations and your exposure if something goes wrong.
- Keep sensitive data out of the chat. Tell the agent never to ask for card numbers, passwords, government IDs or health details. Chat text is sent to your AI provider to write each reply, so mention that in your privacy policy.
- Do not turn a quote request into a mailing list. An email given for a quote is not consent to a newsletter.
- Honour deletion requests. In SiteTrellis, find the visitor’s conversations in the dashboard (search by the email or name you collected) and delete the conversation and the lead. Old conversations are removed on a plan-based schedule (from 30 days on Free to 36 months on Agency), but captured leads are kept until you delete them.
More detail on what is stored and how to delete it is in Security and privacy, and our terms are on the legal page.
Validation, fake emails and spam
Validation catches honest mistakes. SiteTrellis checks on the server that an email is a valid address, a phone number looks like one and a select value is one of your options. If a value fails, the agent is told what to correct and asks again in plain language.
Validation cannot prove that an address belongs to the person typing. A made-up address can be perfectly well formed. Assume some leads will be unreachable, and:
- Make the first follow-up a one-to-one reply, not an automatic subscription. A bounce then tells you the address was bad.
- Use the status field. Leads move through new, contacted, qualified and closed; add a note when an address bounced.
- Rely on rate limits for abuse. Per-IP, per-session and per-site limits sit in front of the chat, but a determined person can still submit junk. There is no mailbox verification built in.
Follow-up speed, notifications, CSV and CRM webhooks
How fast you see a lead matters as much as how you captured it. Three channels combine well.
| Channel | How it works | Notes |
|---|---|---|
| Email alert | Up to 10 notification addresses are emailed when a lead is first created | Sent once per lead. Ask your team to allow the sender if alerts reach the spam folder. |
| Leads list and CSV | Every lead appears in the dashboard with status, notes, search and an export to CSV | Good for a weekly review or a one-off import into a spreadsheet or CRM. |
| Webhook | A lead.captured event is posted to your HTTPS endpoint | Available on Starter and above. Real time, so it can feed a CRM or a team chat channel. |
There are no native CRM connectors, so the usual route is a webhook into an automation service or a small receiver of your own. Each delivery is signed with an HMAC-SHA256 signature in the X-SiteTrellis-Signature header, so your endpoint can prove the request is genuine; the signature guide has PHP, Node.js and Python examples. A failed delivery is retried with increasing delays for up to six attempts, and delivery is at least once, so store the event id and skip duplicates. Full details are in Webhooks.
If someone is online when a visitor asks for a human, live takeover beats a form. Playground tests never create real leads, notifications or webhook events, so test the whole path once from the live widget.
What to measure (without borrowing someone else’s benchmark)
No trustworthy industry average says how many chats should become leads. Measure your own trend and change one thing at a time.
- Capture rate: leads divided by conversations in the same period. Watch the direction, not a target from the internet.
- Ask-to-lead rate: of the chats where the agent offered to take details, how many ended in a saved lead. Read the transcripts of the ones that did not.
- Time to first reply: from the lead being created to a person writing back.
- Lead to qualified: how many leads reach the qualified status. If capture is high and this is low, you are asking too early or too loosely.
Publish each change as a new agent version with a descriptive note, so you can link a change in numbers to a change in the instructions, and roll back if it hurts. Writing the instructions themselves is covered in a support prompt that does not hallucinate, and the cost calculator shows what extra conversations cost at your AI provider.
A lead capture checklist
- Email is the sole required field; everything else is optional.
- The instructions say when to offer, when never to ask, and what to say after saving.
- The agent is told not to ask for payment, ID, password or health details.
- The reason for asking and what happens next are stated to the visitor.
- Someone owns the notification inbox and replies within the time you promised, with a personal email.
- A webhook, if used, verifies the signature and ignores duplicates.
- You tested the whole flow on the live widget, not only in the playground.