Overview
The CT Leads Pro AI Action connects ChatSpark to your WordPress CRM. When a visitor expresses interest and shares their contact information during a chat, the AI captures the lead and sends it directly to CT Leads Pro. No copy-pasting, no missed leads.
This pairs naturally with the CT IDX Pro+ AI Action. Your agent shows listings, the visitor expresses interest, and CT Leads Pro receives the lead with a full summary of what they were looking for.
This integration requires the CT Leads Pro WordPress plugin installed and activated on your site. The plugin generates a secure webhook endpoint that ChatSpark uses to deliver lead data.
Prerequisites
Before setting up the CT Leads Pro AI Action, make sure you have:
- CT Leads Pro installed and activated on your WordPress site
- Admin access to your WordPress dashboard
- Your site accessible over HTTPS
Setup Instructions
Step 1: Get Your Webhook URL and Secret
- Log in to your WordPress admin dashboard
- Go to CT Leads Pro in the left menu
- Click Settings, then open the Integrations tab
- Scroll to the ChatSpark AI Action section
- Copy the Webhook URL
- If you have not saved integrations settings yet, click Save Settings first. This generates your Webhook Secret. Then copy the secret.
CT Leads Pro generates your Webhook Secret automatically the first time you save the Integrations settings. You do not need to create or manage it manually.
Step 2: Enable in ChatSpark
- In ChatSpark, go to AI Actions
- Find CT Leads Pro in the Library and click Enable
- Select the AI Agent(s) that should capture leads
- Paste the Webhook URL from Step 1
- Paste the Webhook Secret from Step 1
- Click Test in Sandbox and Save
Configuration Fields
| Field | Description | Where to Find It |
|---|
| Webhook URL | The endpoint on your WordPress site that receives lead data | CT Leads Pro → Settings → Integrations → ChatSpark AI Action |
| Webhook Secret | A shared secret that authenticates requests from ChatSpark | CT Leads Pro → Settings → Integrations → ChatSpark AI Action |
What Gets Captured
When the AI Action triggers, the following data is sent to CT Leads Pro:
| Field | Notes |
|---|
| Email | Required. The lead is created or updated by email address. |
| Name | Collected if the visitor shares it during the conversation. |
| Phone | Collected if the visitor shares it during the conversation. |
| Message | A brief note on what the visitor is looking for or asked about. |
| Conversation Summary | A concise summary of the chat including property criteria, price range, location, and any specific listings they asked about. |
| Source | Always set to chatspark so you can filter by source in CT Leads Pro. |
When the AI Triggers
The AI triggers the Create Lead action when a visitor expresses interest and provides an email address. The AI will not trigger the action unless it has at least an email. It will naturally collect name and phone if the visitor provides them during conversation.
Examples that trigger the action:
- “I would like to be contacted about this property”
- “Can someone reach out to me?”
- “I want to schedule a showing. Here is my email.”
- “Save my info, I'm interested”
- “Please have an agent call me”
Pairs Well With CT IDX Pro+
Use
CT IDX Pro+ and CT Leads Pro together for a complete real estate chat experience. The agent shows matching listings from your MLS, and when the visitor is ready, it captures their information as a lead. CT Leads Pro receives the summary of everything they looked at.
Troubleshooting
Sandbox test returns an error
Common causes:
- Wrong Webhook URL: Make sure you copied the full URL from CT Leads Pro settings, including the path.
- Site not HTTPS: WordPress REST API requests from ChatSpark require a valid HTTPS connection.
- Plugin not active: Confirm CT Leads Pro is installed and activated on your site.
Leads not appearing in CT Leads Pro
If the sandbox test passes but leads are not showing up:
- Wrong secret: The Webhook Secret must match exactly. Go back to CT Leads Pro settings and copy it again.
- Missing email: CT Leads Pro requires an email address. Make sure your agent is collecting it before the action fires.
- Check the CT Leads Pro inbox: Leads created via ChatSpark are tagged with the source “chatspark” and can be filtered in the leads list.
Secret not showing in CT Leads Pro
If you do not see a Webhook Secret in CT Leads Pro settings, click Save Settings on the Integrations tab. The secret is generated on first save.
For CT Leads Pro product issues, contact Contempo Themes support. For ChatSpark integration issues, open the Help Center and start a conversation with our team.