Skip to content
Docs
Esc
↑↓navigate↵open⌘Jpreview
On this page

Collect Leads

Have your agent ask for contact details during a conversation and save them as leads, with your own custom fields.

Collect Leads shows visitors a short form in the chat to collect their contact details. Each submission is saved as a lead.

To add it, go to Build > Actions, select Create action, and choose Collect Leads.

When to ask

Under Collection behavior, choose how the agent asks for contact details: with the lead form, or with Smart lead collection.

Lead form

With Smart lead collection off, the agent shows the lead form in the chat when contact details are still needed. Under When to use, choose when that happens:

  • Default (blank): the form pauses the conversation and appears right after the visitor’s first message. Select Use default, or leave the field blank.
  • Your own guidance, such as “When the visitor asks for a quote”. The agent reads your guidance and opens the form when that situation comes up, without asking for those fields in chat first.

While the form is open, the chat box is paused. The visitor can:

  • Submit the form. The lead is saved, and the agent answers the question the visitor asked.
  • Dismiss the form. The agent shows the dismiss message, and the conversation continues without a lead. With your own When to use text, the form can show again if the visitor newly asks for follow-up, unless Run again is set to Once. With the blank first-message default, it doesn’t show again.
  • Select Talk to a person, if live chat shows that button. The form closes and the visitor waits for a teammate.

If the visitor already shared enough details in chat—or is already identified with all required fields—the agent can save the lead directly without showing the form. Details the visitor shares later in the same conversation update the same lead.

Smart lead collection

With Smart lead collection on, the agent keeps helping and collects contact details in the conversation once the visitor shows real interest. Under When to collect:

  • The editor pre-fills visible default guidance covering requests for a callback or follow-up, sales, pricing, plans, demos, purchasing, or implementation details (such as timeline, budget, company size, or use case), while excluding thanks and unrelated support questions.
  • Edit it to fit your business, or select Use default to restore the default. Leaving it blank also uses the default.

When the situation applies, the agent asks naturally in the chat for any required fields it doesn’t have yet and saves the lead once every required field is given (including at least an email or phone number). Later messages in the same conversation that add or correct details—such as a phone number, budget, or timeline—update the same lead without repeating the initial confirmation message.

The agent only saves details the visitor actually wrote in the conversation (or known details from an identified contact). It does not invent values, guess a name from an email address or URL, or pull details from your knowledge sources. It records what the visitor asked for—such as a preferred callback time—for your team to follow up, without promising that someone will call at a specific time.

Form fields

The form has three standard fields:

Field Default placeholder
Name Enter your full name
Email Enter your email address
Phone Number Enter your phone number (optional)

For each field you can change the Label and Placeholder, and choose whether it’s Required.

Custom fields

Add up to 20 fields of your own, saved with each lead. Select Add field and fill in:

  • Label: what the visitor sees, such as “Preferred contact time”.
  • Key: the internal name, in lowercase letters, numbers, and underscores, such as preferred_contact_time.
  • Description: what the field captures, to help the agent.
  • Placeholder: example input, such as “Friday at 6 PM CST”.
  • Required: whether the visitor must fill it in.

Messages

  • Form message: shown right before the form. Default: “Fill in the form below to continue.” Only used with the lead form, not with Smart lead collection.
  • Success message: shown after the lead is saved for the first time. Default: “Thanks — I’ve passed your details to the team.”
  • Dismiss message: shown if the visitor closes the form. Default: “No problem. If you’d like us to follow up, we’ll need your name and email.”

After the form, the agent goes back to the visitor’s question.

Email notifications

Under Notifications, switch on Email new leads to get an email each time this agent collects a new lead. It’s off by default.

In Send to, add up to 10 email addresses, one per line. They don’t need a Chatvox account, so you can use a shared inbox such as your sales team’s.

Each address gets its own email with the lead’s name, email, phone, custom fields, channel, and notes, and an Open lead button for teammates signed in to Chatvox. Reply to the email to write to the lead directly.

Only new leads send an email. When a visitor adds details to their lead later in the conversation, no new email is sent.

Identified visitors

When a visitor is identified (or chatting on WhatsApp, where their phone number is known), the agent already has the name, email, or phone from their contact record and uses them automatically. It doesn’t ask for those again.

  • Lead form: if those known details cover every required field, the lead is saved without showing the form, and the agent answers the visitor’s question. Otherwise the form opens with the known details already filled in, so the visitor only adds what’s missing.
  • Smart lead collection: the agent uses the known contact details automatically and only asks for required fields it doesn’t have yet (such as required custom fields). If the known details already cover every required field, the agent saves the lead without asking the visitor to retype them. Later updates in the conversation can add other details, while core details from a verified contact aren’t overwritten.

With Escalate to Human

When the agent can also hand conversations to your team with Escalate to Human:

  • Asking for help doesn’t create a lead. With Smart lead collection, support questions don’t count as interest. Opening a ticket, or verifying an email for one, doesn’t save a lead either.
  • One message can do both. “What does the Pro plan cost? I’d like to talk to sales.” can save a lead and hand the conversation to your team.
  • The lead form comes first when it’s set to appear on the first message. A visitor who wants a person can select Talk to a person, if shown, which closes the form, or dismiss the form and ask in the chat.
  • Email from the form: if the visitor later needs to verify an email for a ticket, the email they gave in the form is filled in for them.

Channels

Collect Leads can run on the Web widget and Public Chat. On WhatsApp it only works with Smart lead collection, because WhatsApp can’t show the lead form. It doesn’t run in API conversations. See Where actions run.

See also