Failover is an advanced feature available only for inbound agents. It is not enabled by default. Contact your Customer Success Manager to enable it.
- Transfer the call to an advisor in case of infrastructure unavailability
- Play an unavailability message adapted to the context
- Intelligently route calls according to customer profile despite the error
The failover workflow consists of two mandatory main steps:
- Failover trigger - Initializes the workflow with the available pre-call context
- Failover action return - Defines the action to execute (call transfer or voice message)
Configuring the failover trigger
The failover trigger is the starting point of your workflow. It gives you access to the pre-call context to determine the best fallback strategy.Create a data sample
To effectively test your workflow, you must generate a representative data sample:
- In the configuration interface, locate the Generate a data sample section
- Click the Load a data sample button
The failover workflow receives the pre-call context that was available before the error, as well as system variables (caller number, agent concerned, etc.). It does not receive information about the reason that triggered the failover.
Configuring the return
The last step of the workflow allows you to define the failover action that will be executed to manage the error.The failover workflow can work in two ways:
- Without action return: The workflow only performs actions (API calls, notifications, etc.) and the call will be hung up at the end of the webhook execution
- With action return: The workflow ends with a Return Context containing a failover action (voice message or call transfer)
The failover action return allows you to:
- Define the fallback behavior adapted to the context
- Intelligently transfer the call to the right resources
- Customize error messages according to customer profile
- Guarantee a consistent user experience despite the technical error
Configure failover actions
Return structure
In the Return Context step interface, you must return a failover action in JSON format. Two types of actions are available:Option 1: Call transfer
Transfers the call to a phone number or SIP destination. Transfer to a phone number:type: Must be"FAILOVER_TRANSFER_CALL"config.phone:- Without SIP connection: Phone number in international format (e.g.:
+33199001234) - With SIP connection: SIP destination identifier
- Without SIP connection: Phone number in international format (e.g.:
config.ringTimeout: Maximum ring duration in seconds before interrupting the transfer and resuming the call with the agent (default: 30)config.sipOutboundConnectionId(optional): Identifier of the outbound SIP connection to useconfig.headers(optional): Custom SIP headers (key-value format). Only usable ifsipOutboundConnectionIdis specifiedconfig.standardSipHeaders(optional): Standard User-To-User SIP header to customize. Only usable ifsipOutboundConnectionIdis specified. Format:{"User-To-User": "value"}
Option 2: Voice message
Plays a voice message then ends the call.type: Must be"FAILOVER_SAY"config.sentence: The text to speak to the callerconfig.language: The language of the message (ISO format:fr-FR,en-US, etc.)