- Email: an email to your team for each new lead.
- Leads webhook: a JSON message to a URL you choose, for each new lead. Use it to connect a CRM or an automation tool.
- CSV export: a file with all your leads, for a one-time import.
Before you start
- Plan: lead emails and CSV export work on any plan. The leads webhook needs the Scale plan or higher. See Plans and limits.
- Role: any team role can change lead email settings. To set up webhooks, you need the Manager role or higher. See Team members.
- Lead collection is turned on.
Get each lead by email
1
Open the lead settings
In your chatbot’s sidebar, select Leads > Leads Settings.
2
Turn on custom recipients
Under Lead Capture Email Notifications, turn on Enable Lead Notifications.
3
Add recipients
In Email Recipients, enter an email address and select Add. Repeat for each person.
4
Save
Select Save Changes.
The email subject contains
New Lead Capture and the chatbot name. The email shows the lead’s name, email, phone, custom fields, and the time of capture. It has a Reply to button that writes to the visitor, and a link to the lead in the dashboard.
For all SiteGPT emails and alerts, see Choose who gets notified.
Send each lead to a webhook
The leads webhook sends aPOST request with a JSON body to your URL each time a new lead is collected. The event name is NEW_LEAD_CAPTURE.
1
Open the webhook settings
In your chatbot’s sidebar, select Settings > Webhooks. If your plan does not include webhooks, this opens General instead.
2
Enter the URL
In Leads Webhook URL, enter the URL that receives the leads.
3
Enter a token
In Leads Webhook Token, enter a secret string. SiteGPT sends it in the
X-WEBHOOK-TOKEN header. Check this header in your system to confirm that the request comes from SiteGPT.4
Save
Select Save Changes.
Connect a CRM
SiteGPT has no built-in CRM connection. To send leads to a CRM, use the leads webhook with a tool that can receive webhooks.- In your CRM, or in an automation tool that connects to it, create a flow that starts from an incoming webhook.
- Copy the webhook URL that the tool gives you.
- Paste it into Leads Webhook URL in SiteGPT, as in Send each lead to a webhook.
- In the tool, map the fields from
leadDetailsto your CRM fields. For example, mapleadDetails.emailto the contact email. - Submit a test lead in your chatbot.
Export leads as a CSV file
In Leads > Leads Dashboard, select Export CSV. The file includes every lead that matches the current filter and search. For the columns, see Export leads to CSV.Check that it works
- Open your chatbot and submit the lead form with a new test email, for example
visitor@example.com. - Check the result for each method you set up:
- Email: the recipients get a “New Lead Capture” email.
- Webhook: your endpoint gets a
NEW_LEAD_CAPTURErequest with theX-WEBHOOK-TOKENheader. - CSV: the new lead is a row in the exported file.