Trigger: Call Rejected by Agent
Learn how to use the trigger that starts a workflow whenever an agent rejects an incoming call.
What it is
The Call rejected by agent trigger fires whenever an agent rejects (declines) an incoming call in Omnifox — WhatsApp Calling or another connected voice channel.
When to use it
- Auto-apologize to the caller and offer a callback.
- Alert a supervisor when calls are repeatedly rejected.
- Log the event to your CRM for follow-up.
Requirements
- A plan with the calling feature enabled ("Call triggers" category).
- At least one voice channel connected.
- Workflows enabled for your workspace.
Available variables
$call.id,$call.wacid,$call.direction,$call.status,$call.from,$call.to,$call.duration$channel.id,$channel.name,$channel.type$user.id,$user.name— the agent who rejected the call$contact.*— the caller's contact data
How to set it up
- Open Workflows from the side menu and create (or edit) a workflow.
- In the trigger palette, open the "Call triggers" category.
- Drag "Call rejected by agent" onto the canvas.
- (Optional) Filter by a specific channel or direction (inbound only).
- Connect the trigger to your actions.
- Save and activate the workflow.
Example
A customer calls over WhatsApp and the on-duty agent rejects it. The workflow sends an automatic WhatsApp reply ("Sorry we missed your call, we'll get back to you shortly") using $contact.first_name, then posts an alert in Team with $call.from and $user.name.
Tips
Pair this trigger with a delay plus an outbound-callback action so you never lose the lead.
Troubleshooting
If the trigger isn't in the palette, your plan doesn't include calling — ask your admin to upgrade.
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.