ResoneraDocs

Integrate with your CRM

Call new leads from your CRM and write each call's result back to the record.

Most CRM integrations run one scheduled job: it creates a campaign from new leads, launches it, and writes each call's result back to the matching record.

For HubSpot, Zoho CRM, Pipedrive, and Google Sheets, the dashboard's Connectors import contacts and log calls without code.

Before you begin

  • An API key with the agents:read, calls:read, calls:write, and calls:dispatch scopes. Set a daily dispatch cap slightly above your normal volume to limit the impact of a faulty job.
  • An agent to place the calls.

Integration flow

Every 15 minutes:
  1. Read new leads from your CRM that have not been called.
  2. POST /campaigns                    One campaign per batch, with the CRM record ID in extra.
  3. POST /campaigns/{id}/launch        Start calling.
  4. Mark the leads as "calling" in your CRM.

For each call.ended webhook event (or by polling GET /calls?since=...):
  5. Write the status, outcome, and summary to the record identified by contact.extra.crm_id.

Choose an agent

Look up the agent ID once and store it in your configuration. To create the agent from code, see Manage agents.

Create a campaign for each batch

Add the leads to call in one campaign. Use a name you can find later in the dashboard, such as the date and lead source.

{
  "name": "Website leads 2026-10-05 14:00",
  "agent_id": "8b8e3307-2c1a-4f6e-9a51-0d7c2b9e4f10",
  "campaign_prompt": "The contact submitted the pricing form. Offer a demo this week.",
  "contacts": [
    { "phone_number": "+919876543210", "name": "Asha", "extra": { "crm_id": "42", "source": "pricing-form" } }
  ]
}
RuleDetail
Phone numbersAny common format, such as +91 98765 43210 or 09876543210. Numbers without a country code are treated as Indian. A number that cannot be parsed rejects the request, and the error identifies the row.
Contacts per campaignUp to 10,000.
extraAny JSON object. Include the identifiers you need to update the record.

Launch the campaign

POST /campaigns/{campaign_id}/launch calls every pending contact.

To require a person to approve each batch, create the campaign with a key that has calls:write but not calls:dispatch, and launch it from the dashboard.

Write the results to your CRM

Create a webhook endpoint for call.ended events and update the record identified in contact.extra. If you cannot expose a public endpoint, poll GET /calls instead, as described in Retrieve call results.

Call fields for CRM records

FieldUse
status, end_reasonWhether the call connected and how it ended.
outcomeA short label set by the agent, such as requirements_gathered. Suitable for mapping to pipeline stages.
summaryOne or two sentences for the activity note.
duration_secondsCall length for reporting.
transcriptThe full conversation. Returned by GET /calls/{call_id}.
RecordingA link from GET /calls/{call_id}/recording-url, valid for one hour. Request a new link each time instead of storing it.

Next steps

On this page