Leads 2.0
Learn how to extract data from a conversation immediately, when a conversation ends or after 1-hour of no activity.
Last updated
Learn how to extract data from a conversation immediately, when a conversation ends or after 1-hour of no activity.
Last updated
Leads 2.0 is an improved system for extracting specific data from conversations with your AI agent. It allows you to collect structured information such as names, email addresses, appointment times, preferences, and other custom data points without requiring a separate prompt.
Learn about the 3 different options for when data is extracted from the conversation.
As soon as the user has answered all of the questions, the AI agent will immediately extract their responses and send the data to the notification email/ webhook.
Based on the values you enter, the system will generate a prompt that you can copy and paste into your base system prompt.
Replace the Custom_Variables with the data you want to extract and add the following prompt to your base system prompt after AI agent data collection instructions:
As soon as a conversation has been ended by the user (refreshing the chat widget, starting a new conversation etc.) the system will review the entire conversation and extract the data values.
If the AI agent is having a conversation with a user and the user doesn't respond for 1 hour, the AI agent will review the conversation and extract any available answers.
Include questions in your main system prompt that ask for the specific information you want to collect. These instructions should match the data values you enter in the leads tab to extract.
The base prompt tells the AI agent what questions to ask.
The Leads tab tells the AI agent which answers/data to extract.
Navigate to the "Leads" tab in your AI agent settings
Define the data points you want to extract (e.g., email address)
Choose where to send the extracted data:
Email notification
Webhook URL (for CRM integration, Zapier workflows, etc.)
Email addresses
Names
Phone numbers
Appointment times
Custom preferences
Any specific information relevant to your business
Smart Extraction: The system can intelligently extract information (e.g., extract a name from a personalized email address like "john@example.com")
Partial Information Handling: If a user only answers some of your questions, the system will still extract and forward the data they did provide
Data Storage: All extracted lead data is stored within the system and visible in the conversations tab
CRM Integration: Easily pipe extracted data to CRMs like Go High Level through webhooks
If you have existing AI agents, you'll see both "Legacy Leads" and "Leads 2.0" tabs. Existing agents will continue to function with the Legacy Leads system, while new agents can take advantage of the improved Leads 2.0 functionality.
Leads 2.0 complements the existing Summary tab functionality, allowing you to extract both structured data (specific fields) and unstructured data (conversation summaries) from your AI interactions.
The example prompt below instructs the AI agent to answer the user's first question, then ask for their email address. After the user provides their email address, the AI agent will extract the data and send it to the saved webhook. After it sends that data the AI agent will ask the user if they want to schedule a meeting which then uses the scheduling prompt inside the scheduling tab.
Prompt Requirement
Requires a custom prompt
Prompt is provided for you
Integration
Data extraction separate from main conversation
Data extraction integrated into main system prompt
Implementation
More complex setup
Simplified setup
Partial Data Collection
Limited handling of incomplete responses
Successfully extracts partial data even if users don't answer all questions