Cyber Week: a free onboarding call with every new server, until 7 December. See plans
VICIfast
ENES
Guides & tutorials

What an AI agent tells your CRM after each VICIdial call

Every field in the AI agent's ai_call.completed webhook, what each one means for your CRM, and how to match it to the right record.

VICIfast Support
··4 min read
Call-centre agent wearing a headset — illustration for: What an AI agent tells your CRM after each VICIdial call
Photo by Yan Krukau on Pexels

The AI agent worked your list all morning, and now a sales rep opens a CRM record and wants to know what happened on the call. VICIdial already knows: the AI wrote a status and its answers on the lead. Your CRM knows nothing until something tells it.

On VICIfast, that something is the AI's own report, a Webhook (a web request sent to an address you choose) called ai_call.completed. It arrives once per call, carrying the result in a shape your CRM side can use. The integrations guide shows where it sits next to VICIdial's own URLs.

Switching it on

Two steps. On the AI agent, switch on "Notify your CRM". Then add an endpoint under API › Webhooks and tick ai_call.completed.

The endpoint has to be HTTPS on the public internet. If your receiver doesn't exist yet, API › Webhooks has a hosted test inbox where you can watch real deliveries.

The webhook comes a minute or so after the call ends, once the AI has written its summary. Test calls to your own phone never send it. To try the whole path, put your own number on a lead and let the campaign dial it.

What each delivery carries

The fields fall into five groups. Read them as answers to the questions your CRM will ask.

  • Which call? id, agent (its id and name), direction, mode (voicemail when the AI left a message on a machine), caller_number (who called in, or the number dialed), started_at, ended_at and duration_seconds.
  • Which lead? lead_id, the VICIdial Lead, when there is one.
  • What happened? outcome, vicidial_status, transferred_to (the in-group the call went to, when it transferred), callback_at and appointment_at.
  • What did the person say? answers, keyed by the questions you set up, plus a summary and the sentiment.
  • Anything to check? do_not_call, flags and recording.

Two of those look alike and aren't. outcome is what the AI decided, in its own words: qualified, appointment, not_interested, callback, do_not_call, wrong_number, answered, message and so on. vicidial_status is the Status (lead status) it actually wrote on the lead.

The defaults are XFER, APPTBK, NI, CALLBK, WRONG and DNC, but you can change them, so vicidial_status speaks your campaign's language. Map CRM stages from outcome; use vicidial_status when the CRM should mirror what the dialer will do next.

Six flags worth a task for a manager

flags lists problems found when the call was reviewed. There are six: ai_not_disclosed, dnc_ignored, promise_made, talked_over, rude and wrong_info.

A flagged call is a good reason to open a review task in the CRM, not to change the lead's stage. promise_made and wrong_info are the two a sales rep should hear about before calling that person back. The Calls page in VICIfast holds each call's recording, transcript, outcome and every step, so the task only needs to point there.

Don't let the task sit. recording is true when a recording is kept, and it is kept for 90 days. Review flagged calls well inside that window.

do_not_call is the field to wire first. The AI already marks do-not-call in VICIdial during the call, and that can't be switched off. Your CRM's own follow-ups, such as email sequences or another team's calls, know nothing about it until this field arrives. Stop them when it says true.

Getting each result onto the right record, once

flowchart LR
  A[AI call ends] --> B[Summary written]
  B --> C[ai_call.completed sent]
  C --> D[Your receiver]
  D -->|2xx within 10 s| E[Queue]
  D -->|no answer| F[Retry 1 5 15 60 240 min]
  F --> D
  E --> G[Find lead by lead_id]
  G --> H[CRM ID on the lead]
  H --> I[CRM record updated]

The webhook carries VICIdial's lead_id, which your CRM has never seen. What bridges the two is the CRM's own ID, stored on the lead when you loaded it (where to keep your CRM's record ID). Your receiver can pull the lead with lead_all_info and read that ID off it.

Answer fast and do the CRM work afterwards. A 2xx answer within ten seconds counts as delivered. Anything else is retried after 1, 5, 15, 60 and 240 minutes, and a 4xx other than 408 or 429 isn't retried at all, so a receiver that rejects a payload by mistake loses it.

Retries mean the same event can arrive twice. Deduplicate on the event id, which stays the same on every retry and resend, not on the delivery header. The webhooks guide covers the signature check and the event id.

One more check before you go live. If the campaign also has a Dispo Call URL, make an AI call and read the URL Log Report to see whether VICIdial sent its own request too. If both reach the CRM, you'll log one call twice.

Frequently asked

› Does the webhook fire for test calls to my own phone?
No. Test calls never send it. To test the whole path, run one real call through the campaign to a lead that carries your own number.
› What happens if my receiver is down when a call ends?
Anything other than a 2xx answer within ten seconds is retried after 1, 5, 15, 60 and 240 minutes. Events are kept 30 days and can be listed and sent again.
› How long can a manager play the recording?
When the recording field is true, the recording is kept for 90 days.

VICIfast AI agents do the calling and write the results into VICIdial; this webhook is how those results leave. When the AI's results need to reach your CRM too, we build the receiver, the record matching and the retries as a fixed-fee project, quoted in writing within 48 hours of a discovery call.

About VICIfast

We run VICIdial servers for call centres, so you don’t have to. You get the dialer set up, secured and kept running — we handle the server, the updates and the backups. Bring your own phone carrier at no markup, or use VICIfast Voice, our own US calling and numbers, from $0.0085 a minute. From $49 a month per server.

Questions? Call +1 636 556 0022 and talk to someone who runs dialers.

Citing this article

VICIfast Engineering. “What an AI agent tells your CRM after each VICIdial call”. VICIfast LLC, December 2, 2026. Retrieved from https://vicifast.com/blog/ai-agent-call-results-to-crm

Have questions?

Related posts

You might be interested in

Comments

Comments are reviewed before they appear. We never publish your email.

No comments yet - be the first.