Before you start
- Plan: any plan. See Plans and limits.
- Role: any team role can change lead settings. See Team members.
- If you use a booking tool, have your booking page URL ready.
Turn on lead collection
1
Open the lead settings
In your chatbot’s sidebar, select Leads > Leads Settings. The Settings tab opens.
2
Turn on lead collection
Turn on Enable Lead Collection.
3
Choose the contact fields
Under Basic Contact Fields, turn on Name, Phone Number, or both. Email Address is always collected. You cannot turn it off.
4
Choose a template
Under Industry Template, select a template for your business, or select Custom. See Industry templates.
5
Choose when the form appears
Under Collection Triggers, select one trigger. See Choose a trigger.
6
Save
Select Save Changes.
Choose a trigger
You can select only one trigger.
With the two AI triggers, the AI asks for the details with the form, not in a chat message. The AI is told to show the form only one time per conversation.
The After N messages form does not show if the visitor already gave their details, for example in the pre-chat form.
Add trigger keywords
When you select the Custom template, you can add keywords. The AI then tries to collect details when a visitor mentions one of them.- Under Custom Trigger Keywords, enter words in Keywords (Optional). Separate the words with commas, for example
pricing, demo, quote. - Select Save Changes.
Industry templates
A template sets preset form fields and topic keywords for one type of business. The templates are:- Dental Clinic
- HVAC Services
- Legal Services
- Real Estate
- Automotive
- Healthcare
- SaaS/Software
- E-commerce
- Consulting
- Custom (no preset fields)
Add custom fields
Custom fields are available when the template is Custom.1
Add a field
Under Custom Form Fields, select Add Field.
2
Set the label
In Display Label, enter the text that the visitor sees, for example
Budget Range.3
Set the field name
In Field Name, enter an internal name, for example
budget_range. SiteGPT uses this name in exports and webhooks.4
Choose the field type
In Field Type, select Text, Email, Phone, Text Area, or Select Dropdown. For Select Dropdown, enter each option on a new line in Dropdown Options.
5
Set the other options
Turn on Required field if the visitor must fill in the field. In Placeholder Text, enter a hint that shows inside the field.
6
Save
Select Save Changes.
page_url. You do not need a field for it.
Add a booking link
A booking link lets visitors book a time with you from the chat. The AI includes the link when it collects the lead.- With an industry template that includes booking, enter your link in Booking System URL. This field is required.
- With the Custom template, turn on Enable booking integration, then enter your link in Booking System URL.
Hand the conversation to your team after a lead
Turn on Auto-escalate on lead capture to send the conversation to a human after the visitor submits the form. To set up human support, see Set up human support.Ask for details before the chat starts
Pre-Chat User Details is a separate form. It shows before the conversation starts. It works independently of AI lead collection. The Name and Phone Number toggles under Basic Contact Fields choose which fields it shows. You can change these toggles only while Enable Lead Collection is on.- On the Settings tab, go to Pre-Chat User Details.
- Select one option:
- Required: visitors must enter their details before they can start the conversation.
- Optional: the form shows before the conversation, but visitors can skip it.
- Off: no pre-chat form. The AI or an escalation can still collect details.
- Select Save Changes.
Change the text on the lead form
To change the form heading, the button text, or the confirmation message, go to Language & Region and edit the Lead Form section. See Change the widget language and text.On HIPAA workspaces, industry templates are not available. Conversations are redacted after 7 days, but lead records stay until you delete them. See HIPAA.
Check that it works
- Open your chatbot on your website or in the dashboard preview.
- Start a conversation that matches your trigger. For example, ask about pricing if you use When user shows interest (Recommended).
- Fill in the form and submit it.