Triggers
A trigger defines when a workflow runs. Every workflow must have exactly one trigger configured.
Post-Call Trigger
Currently, BuildVoiceAI supports one trigger type: Post-Call.
The Post-Call trigger fires automatically after a call ends. When a call completes (or fails), BuildVoiceAI checks all enabled workflows to see if any are assigned to the agent that handled the call. For each matching workflow, the system evaluates the workflow’s conditions and, if they pass, executes the actions.
How It Works
- A call ends (completed, failed, etc.)
- BuildVoiceAI identifies which agent handled the call
- All enabled workflows assigned to that agent (or to “all agents”) are retrieved
- For each workflow, conditions are evaluated against the call data
- If all conditions pass (or no conditions are set), the actions execute in order
Agent Assignment
When configuring a Post-Call trigger, you choose which agents the workflow applies to:
- All Agents — The workflow triggers after every call, regardless of which agent handled it. This is useful for universal actions like logging all calls to your CRM.
- Specific Agents — The workflow only triggers for calls handled by the selected agents. This is useful when different agents need different post-call behavior.
If you have agents serving different clients, assign workflows to specific agents rather than all agents. This prevents client A’s call data from being sent to client B’s CRM.
Timing
The Post-Call trigger fires as soon as the call data is fully processed by the voice provider. This typically happens within a few seconds of the call ending, but may take up to a minute depending on the provider and call length (longer calls take longer to transcribe).
Future Trigger Types
Additional trigger types are planned for future releases. These may include:
- Scheduled — Run a workflow on a recurring schedule
- Manual — Trigger a workflow on-demand from the dashboard
- Inbound-only / Outbound-only — Trigger based on call direction
For now, you can achieve direction-based filtering by adding a Condition on the direction field.
The Post-Call trigger fires for all call outcomes, including failed calls. If you only want to run actions for successful calls, add a condition: call_status equals completed.