> ## Documentation Index
> Fetch the complete documentation index at: https://ai-docs.myidfi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Lead Generation

> Convert customer interactions into qualified leads with the Lead Generation integration.

With Lead Generation enabled, your AI agent can smoothly collect valuable information such as a visitor’s name, email, phone number, or a quick message directly within the conversation. There's no need for clunky forms or manual follow-ups.

It’s a simple and seamless way to ensure your agent isn’t just chatting with users, but actually capturing leads you can follow up on.

## How to Enable and Configure Lead Generation

Follow these steps to activate and customize the lead capture process:

<Steps>
  <Step title="Go to the Lead Generation Integration">
    Navigate to the Lead Generation card under the Integrations tab in your dashboard.

    <img src="https://mintcdn.com/myidfi/vysntRSAlRQP34rG/images/integrations/leads/integrations.webp?fit=max&auto=format&n=vysntRSAlRQP34rG&q=85&s=fa476eb3de8ebc0a226c8fd4900ad7da" alt="Integrations Section" className="rounded-xl border-4 border-blue-100 dark:border-blue-300" width="1920" height="800" data-path="images/integrations/leads/integrations.webp" />
  </Step>

  <Step title="Click on Configure">
    Click the **Configure** button to open the **Leads Capture Form**.

    <img src="https://mintcdn.com/myidfi/vysntRSAlRQP34rG/images/integrations/leads/configure.webp?fit=max&auto=format&n=vysntRSAlRQP34rG&q=85&s=7d0bc08ec4f58decd35e3e388de35e0e" alt="Leads Capture Form" width="400" height="400" className="mx-auto rounded-xl border-4 border-blue-100 dark:border-blue-300" data-path="images/integrations/leads/configure.webp" />

    <Info> There's no toggle or activation step, configuring the form is all you need to start capturing leads.</Info>
  </Step>

  <Step title="Set Up Your Lead Capture Form">
    <img src="https://mintcdn.com/myidfi/vysntRSAlRQP34rG/images/integrations/leads/leads_form.webp?fit=max&auto=format&n=vysntRSAlRQP34rG&q=85&s=5e5682587c1c1de9db4962062d0958b3" alt="Setting up leads form" width="600" height="600" className="mx-auto rounded-xl border-4 border-blue-100 dark:border-blue-300" data-path="images/integrations/leads/leads_form.webp" />

    Inside the form editor, you can customize your fields:

    * Choose from recommended fields: **Name, Email, Phone, Message**.
    * Add up to **4 fields total**.
    * Mark any field as **Required**.
    * Reorder fields using **drag and drop**.
    * Add custom fields by entering a label and selecting the field type (Text, Phone, Email, or Message).

    <Warning>To ensure smooth conversations, the form supports a maximum of 4 fields.</Warning>
  </Step>

  <Step title="Save Your Configuration">
    Once done, click **Save Form**. Your AI agent will now prompt users to fill out this form.

    <img src="https://mintcdn.com/myidfi/vysntRSAlRQP34rG/images/integrations/leads/lead_generation_enabled.webp?fit=max&auto=format&n=vysntRSAlRQP34rG&q=85&s=d4f21eca8030fc22e10e9dbfdaa98b67" alt="Lead Generation Enabled" className="rounded-xl border-4 border-blue-100 dark:border-blue-300" width="1920" height="817" data-path="images/integrations/leads/lead_generation_enabled.webp" />
  </Step>
</Steps>

## Preview in Chat

Whenever a new visitor opens the chat agent, it automatically prompts a lead capture form like this, directly within the chat:

<img src="https://mintcdn.com/myidfi/vysntRSAlRQP34rG/images/integrations/leads/Lead_Generation_Demo.gif?s=c372b0f56f489b7aa9986ef7863a3a07" alt="Descriptive alt text" width="500" height="500" className="mx-auto rounded-xl border-4 border-blue-100 dark:border-blue-300" data-path="images/integrations/leads/Lead_Generation_Demo.gif" />

## Accessing & Managing Captured Leads

All leads captured through your chat agent are stored in the Leads section of your myIDFI AI dashboard, accessible from the left sidebar. You can review user details, contacts, and take follow-up actions from there.

Additionally, you’ll receive an email notification each time a new lead is submitted through the form.

<Card title="View & Manage Leads" icon="link" href="/integrations/lead_generation" arrow="true" cta="Go to Leads">
  To explore how to manage, track, and view your leads, visit the Leads section of the documentation.
</Card>
