The Voice Call Events trigger runs a workflow when one of your voice agents' phone calls starts or ends. It works the same on every phone provider your agents use (Twilio and neWave). Use it to log calls in a CRM, notify a team, open a follow-up task, or send the caller a summary.
Events
Pick one event per Voice Call Events trigger block:
- Call Started: the voice agent answered the call. The caller is already talking to the agent, so the workflow runs alongside the conversation and cannot change it.
- Call Ended: the call is over. It carries the transcript, the duration and how the call finished.
A call that fails before the agent answers fires only Call Ended, with the status failed.
Voice Agents
By default the trigger watches every voice agent in the workspace. Select specific agents to narrow it.
Outputs
Both events include event, timestamp, callId, callLogId, agentId, agentName, channelId, agentNumber, telephonyProvider, direction, callerNumber, calledNumber, variables, startedAt, and resumedAfterTransfer.
- endedAt: when the call ended
- durationSec: call duration in seconds
- status:
completed,failed, ortimeout - endReason: why the call ended, such as
call_ended(the line hung up),agent_hangup,transfer,disconnect,timeout, orerror - errorMessage: what went wrong, when the call failed
- toolCallsCount: how many tools the agent ran
- transcript: the conversation, as a list of
role,content, andtimestampentries - recordingFollows: true when the call was recorded; the recording is stored shortly after the call ends
Behavior
- The workflow containing the trigger must be deployed for events to fire.
- When a transfer does not connect and the caller comes back to the agent, the agent takes a new leg of the same call. That leg fires its own Call Started and Call Ended with the same
callIdandresumedAfterTransferset to true. - Runs are billed like any other run and are subject to workspace rate limits.
Trigger configuration is snapshotted at deploy time. After changing the event or the voice agents, redeploy the workflow for the changes to take effect.