These docs describe the current Dante AI platform. On the earlier platform? Your API reference is at api-v2.dante-ai.com/docs (sign-in needed), and your key goes in the x-api-key header.

Lead capture

Show an inline form mid-conversation to collect names, emails, and other contact details, then save them as leads.

Plan availability

Lead capture is available on the Advanced and Pro plans. On Free and Starter the settings are locked and prompt an upgrade.

PlanLead capture
FreeNot included
StarterNot included
AdvancedIncluded
ProIncluded

How it works

Lead capture shows a short form inside the chat. Your AI agent decides when to surface it based on the "When to show" instruction you set, and it will also offer the form when a visitor signals they want to be contacted. When the visitor submits, the answers are saved as a lead you can review under Monitor → Leads. Your live widget follows the same lead capture switch that the Lead Capture page and Backstage turn on. For an agent set up before the current lead form, whose saved form has no switch of its own, the Lead Capture page shows the agent's earlier on or off setting, and that is the setting the widget follows until you save the page.

When a lead cannot be saved. If a submission cannot be saved (for example, lead capture is not on your plan or is switched off), your agent tells the visitor it could not save their details and never says they are booked or saved. In the conversation, Lead captured only appears next to a step that really saved a lead.

Your agent checks what the visitor asked for. After a visitor submits the form, your agent can see their answers other than contact details (for example the day and group size they asked to book) for the rest of that conversation, and checks them against what you have told it about your business. If a visitor asks for a day when you are closed or a group larger than you take, your agent says so instead of accepting the request. Contact details are never shown to the agent this way.

Details typed in the chat

A visitor does not have to use the form. When they type their email address in the chat as their own contact detail, for example "Sarah Jones, [email protected]" in reply to your agent, it is saved as a lead under Monitor → Leads, linked to that conversation, with their name and phone number when they gave them. The same address is saved once per conversation, and you get the usual new-lead notification. A lead typed in the chat notifies after a short delay: the email and any Zapier or webhook delivery wait for the visitor's next message, or go out 30 minutes after the address was typed if they write nothing more, so an address the next message shows is someone else's never notifies anyone. Your agent then confirms that the team has their details. An address the visitor gives for someone else is never saved as their lead, for example "my boss asked me to get a quote, give it to Bob, [email protected]" or "for the director: [email protected]". The same holds when the name comes after a dash, with no opening at all, or in the message before the address, for example "for Bob Smith, [email protected]", "his name is Bob Smith, [email protected]", or "this is for my manager" and then "[email protected]" on its own.

Details the visitor gives on behalf of someone else are not saved as their lead, even in casual wording: "my wife's email is ...", "this is for my gf" or "the owner asked me for a quote" followed by an address keep that address out of your leads. The visitor's own details still save when they say they are theirs, for example "my email is ...".

For now, details typed in the chat are not saved. While we finish a privacy fix, an email or phone number a visitor types in the chat is not saved as a lead, and nothing is sent for it. Your agent tells the visitor to use the contact form instead, and a submitted form is saved as a lead as usual. Typed details will be saved again once the fix is live.

With lead capture off, typed details are saved only for a visitor who asked to talk to a person (see Human Handover), unless you turned Offer to take contact details off. In every other chat nothing is saved as a lead, so your agent is told not to ask visitors for their name, email or phone number and not to promise that someone will get back to them, unless your own instructions tell it to collect contact details.

Form fields

When to show

In your agent's sidebar, under Configure, open Features → Lead Capture and find When to show. Write a plain-language instruction telling the agent when to display the form, for example "Show after the first user message" or "Show on demo, pricing, or booking asks". You can also pick one of the suggested examples to fill the box.

By default your agent answers the visitor's message first and shows the form after the answer, so nobody is left waiting for a reply until they hand over details. If you want details before any answer, switch on Require details before answering: the form then comes first, and the agent answers once the visitor submits or dismisses it.

If you keep the default instruction, "Show lead capture after the first user message.", the form appears right after your agent's answer to the visitor's first message or a later one, once the visitor has shown they may want to buy: asked about a price, a quote, a booking or availability, an order, or an event (for example "how much for 80 guests?"). A visitor who only asks general questions is not shown the form. An instruction that is only a count, such as "Show after the second user message" or "Show after 5 messages", works the same way with that count: the form comes with the answer to that message. If a visitor writes in English that they want to be contacted, for example "can someone call me back?" or "please email me", the form appears right after the answer to that message. Common phrasings are recognised, not every wording or language, so try yours in the preview. If a visitor types their email address or phone number, your agent may save it straight away and show a confirmation instead of the form. A visitor sees the form at most once per conversation: if they submit it or close it, it is not shown again in that conversation.

If you write your own "when to show" instruction, the form works as it did before answer-first: your agent shows it before answering when a visitor's message matches your instruction, using its own judgement, so test it in the preview before you rely on it.

While the form is on screen, the visitor can keep chatting: a message they type closes the form and goes out as a normal message. The one exception is Require details before answering with the form shown before the answer: then the reply box stays locked until the visitor fills in the form or presses No thanks.

The chat preview on the Lead Capture page opens with the same welcome message as your live widget and follows the same timing: no form before the visitor has written anything, and with the default instruction the form appears after the answer to the first message that shows buying interest (or before it, with Require details before answering on). The preview shows your unsaved wording, so you can check the form before you save. A form you submit in the preview is saved as a lead on your Leads page, but it is not sent to your Zapier or webhook integrations, so test leads do not reach your CRM.

Messages

Three editable strings, each up to 1000 characters: the intro message shown at the top of the form, the success message after the visitor submits, and the dismiss message if they decline. Match the agent's persona. After a visitor sends the form, the chat shows a thank-you line before anything else, such as the rating prompt. If you have written your own success message, that is what they see. If you have left the default, they see a short line that names your agent, like "Thanks, Your Agent Name will get back to you."

Tip: Less is more, ask for name and email only on the first contact. Save the qualifying questions for a follow-up email.

Notifications

New leads appear on your agent's Leads page, where you can review them and export them as CSV, JSON or PDF. Email alerts for new leads are not available yet, so check the Leads page to see who has asked to be contacted.

Still stuck? We'll help.

Every plan, including Free, comes with human support. If something isn't behaving the way you expect after following the steps above, send us a note and we'll get back to you promptly.

Contact our team โ†’