Integrate Callingly Using A Webhook
| One-way integration | Webhook trigger | No owner sync |
If your lead source isn't one of our integrations but can send a webhook, it can send leads straight to Callingly. Each lead it sends is called by your AI Agent right away.
Owners and Admins can set up integrations. Approx. reading time 3 min.
Set Up The Webhook
- 1.
- Go to Integrations, click New Integration, find Webhook and click Connect.
- 2.
- On the integration's Settings tab, copy the Webhook URL. You can also rename the integration there, which helps if you set up more than one.
- 3.
- In the app that collects your leads, set up a webhook that sends each new lead to that URL as a POST request.
- 4.
- On the Routing tab, choose which team calls these leads. See Understanding Call Routing.
What to send
Send the lead's details as JSON or form data, with at least a phone number. Callingly reads the name, phone number, email, company and other details from whatever your webhook sends, so the field names don't have to match ours. On the Fields tab you can add a hint for a field Callingly isn't finding, or a value to always use. On older Webhook integrations, the Fields tab instead asks for the exact field names your webhook sends.
To assign the lead to one of your users, include the user's full name, email address or phone number in a field such as lead_owner.
Test Your Webhook
Send a test lead from your app, using a phone number that isn't one of your users' numbers, during your team's call hours. Callingly answers each request with {"success": true} and your AI Agent calls the test number. The request also shows on the integration's Events (Last 7 Days) tab.
Common Questions
How do I send leads to different teams?
Add routing rules on the integration's Routing tab, such as one per lead source. Or set up a second Webhook integration, which gets its own URL.
A lead I sent wasn't called. What should I check?
Open the integration's Events (Last 7 Days) tab. If the request isn't there, check the URL in your app. If it's there, make sure it included a phone number and that a routing rule or Everything else sends it to a team.