Send leads to your CRM

Lead delivery sends each qualifying call to your own system, for example your CRM, as a JSON request. Each call is sent one time, when the call ends.

Set up lead delivery

  1. Go to AI Calls > Lead delivery.
  2. Select Send leads to my system.
  3. Select the Method: POST, PUT or PATCH.
  4. Type the URL of your endpoint, for example https://your-crm.example.com/leads.
  5. Under Which calls count as a lead, select the outcomes to send, for example interested and callback. If you select none, every completed call is sent.
  6. Optional: click Add header to add a header, for example Authorization.
  7. Optional: click Add field to add a fixed field to each lead, for example source = smsedge.
  8. Click Save.

Payload

Each lead has these fields:

FieldDescription
external_refThe unique reference of the call.
phoneThe number of the contact.
outcomeThe call outcome, for example interested.
statusThe call status.
billable_secondsThe billed length of the call.
answeredWhether the contact answered.
campaign_id, campaign_nameThe campaign of the call.
called_atThe time of the call.

Your extra fields are added to each lead. Under Payload, you can also select Include a link to the recording and Include the full transcript. Set a Daily limit to cap the number of leads per day (0 = no limit).

Delivery log

The Delivery log shows the last 100 attempts with the time, the call, the result and the response of your system.

Your endpoint must answer within 10 seconds. A failed lead is not sent again. Check the delivery log after you set up the endpoint, and fix any errors quickly.

Need more help? Contact support.