Trigger: Call Ended
Fires an automation the moment a call hangs up, with its final status and recording available.
The Call ended trigger fires the instant a voice call finishes, regardless of how it ended. It's the right spot for closing actions: logging the outcome, firing a satisfaction survey, or creating a follow-up task.
When to use it
- Automatically log every call's outcome in the contact's history.
- Send a CSAT survey over WhatsApp right after a support call hangs up.
- Create a follow-up task when a call ended with no answer.
Trigger settings
- Specific channel and Direction.
- Final status: filter by one or more statuses — Completed, No answer, Busy, Failed, Cancelled, Voicemail.
Available variables
Standard call and contact variables, plus:
$call.recording_url— ⚠️ today this always comes back empty on this trigger, regardless of whether recording is enabled. The recording is processed and uploaded asynchronously after the call has already hung up, so at the moment "Call ended" fires that URL doesn't exist yet. If you need the recording URL, use the "Recording ready" trigger instead.$call.ended_at— when the call ended.
Steps
- Create or open an automation.
- Drag "Call ended" from Call triggers.
- Optionally filter by Final status (e.g. only "No answer").
- Connect an action, e.g. "Create task" or "Send template".
- Activate and save.
Example
When a call ends as "No answer", you want to create a task for an agent to call back. Set Final status = No answer and add a "Create task" action: "Call {{$contact.display_name}} ({{$call.to}}) back, missed call on {{$call.ended_at}}."
Troubleshooting
- If
$call.recording_urlalways comes back empty, even with recording enabled: that's expected today, this variable isn't available on this trigger because the recording finishes processing after the call has already ended. Use the "Recording ready" trigger if you need that URL. - Remember this trigger fires for every final status — use the Final status filter if you only care about one case (or use the dedicated "Missed call" / "Call answered" triggers instead).
Related articles
-
Build your first workflow
Omnifox workflows automate your operation: a trigger starts the automation and action nodes do the work. Build a welcome message in minutes.
-
Workflow triggers catalog
Learn which events can start a workflow automatically in Omnifox.
-
Action nodes available in workflows
Discover the actions a workflow can run automatically.
-
Conditions and branching (if/then) in a workflow
Make your flows take decisions and follow different paths based on each contact data.
-
Ready-to-use workflow templates
Start your automations in minutes from prebuilt flows you can customize.