---
title: Lead forms
description: Let the AI agent ask for contact details in the chat with a short form, for a sales call, a quote or a callback.
section: Chat and knowledge
order: 9
---

A lead form is a short form the AI agent shows in the chat when it fits, like "Talk to sales" or "Get a quote". You say when to use each one; the agent picks the form and the customer fills it in. Lead forms work on every paid plan.

## Create a form

Go to **AI agent → Lead forms** and choose **New form**:

- **Name**: shown at the top of the form.
- **When to use it**: the agent reads this to decide when to show the form, e.g. "When the customer asks about pricing for a team or wants a demo".
- **Fields**: any of name, email, phone, company and message, plus custom text fields. Mark the ones that are required.
- **Button** and **After sending** text (optional).

Turn a form off to stop the agent showing it without deleting it.

## In the chat

When a question matches a form's "when to use", the agent answers with a short line and the form under it. The AI never fills in or sends the form. Emails are checked, and required fields must be filled.

## What a submission does

- **Contact**: the name and email go on the conversation and the contact. A customer signed in with [signed identity](/docs/signed-identity) keeps their verified email.
- **Private note**: the answers are added as a note on the conversation and the contact, for your team only.
- **Webhook**: a [`lead.created`](/docs/webhooks) event is sent, with the form and its answers.
- **Slack**: posted too, if [Slack alerts](/docs/slack) include leads.

## With MCP

`list_forms`, `save_form` (create, or update by `id`) and `delete_form`. Fields are `{ kind, label, required }`, where `kind` is `name`, `email`, `phone`, `company`, `message` or `text`.
