Trigger: Outbound Message Failed
Fires when an outbound message couldn't be delivered, exposing the error code so you can react automatically.
The Outbound Message Failed trigger fires when a message you sent from Omnifox couldn't be delivered, for any reason: provider error, WhatsApp's 24-hour window expired, insufficient wallet balance, and so on.
When to use it
- Alert the team when a critical send fails (e.g. a payment confirmation).
- Retry through another channel if WhatsApp fails (e.g. fall back to SMS or email).
- Specifically flag wallet/balance errors to avoid a service outage.
Filters available
- Channel type, Specific channel.
- Error code contains: e.g.
BSP_INSUFFICIENT_WALLET,SEND_FAILED,RETRY_FAILED.
Variables available
$message.id,$message.text,$message.direction(always outbound)$message.error_code,$message.error_message,$message.failed_at- Conversation and contact variables
How to build it
- Go to Workflows → New workflow.
- Drag a Trigger node → pick Outbound Message Failed (under Messages).
- To isolate one error type, fill in Error code contains (e.g.
BSP_INSUFFICIENT_WALLET). - Add an action like Notify team using
$message.error_message. - Save and activate.
Example
Workflow "Low wallet alert": filters on error code containing BSP_INSUFFICIENT_WALLET → Notify team (Billing space): ⚠️ Send to {{contact.display_name}} failed: {{message.error_message}}.
Tips
Build a separate workflow just for wallet/balance errors — they usually need immediate admin action, unlike a simple message retry.
Troubleshooting
If the trigger never fires, check the outbound message's history inside the conversation — many "silent failures" are actually queued for automatic retry and only count as a final failure once retries are exhausted.
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.