Fallback routing

Fallback routing is a feature of the The Omnichannel API that allows you to choose what channels to try to deliver a message through, and what preference order to try them. Fallback routing will let you create the most effective communication strategies easily, whether your channel preferences are to reduce costs or maximize engagement.

1612

Fallback routing helping you reach your customers

Fallback routing works by trying channels in a priority order for each message sent trying to send to the highest priority channel. If a customer isn't registered on a channel, such as Facebook, then the channel will be skipped and the next channel tried.

Here’s an example…

Try to send the message to a user who has my app first , if they are not an app user send the message to Facebook Messenger, if I can’t reach them through those channels send an SMS as my user/customer must get the message.

Fallback routing supports any messaging channel that is currently available through the Omnichannel API, the most commonly used channels today are SMS, Facebook Messenger, WhatsApp and App messaging (into your own app). As new messaging channels become available we will add them to our messaging “bench”

Each channel in a fallback routing rule set may require a different addressing field in order to identify the customer on that channel, such as a Facebook Messenger Id, so when sending pass as much addressing data as you have in order to help fallback routing use the selected channels, otherwise fallback routing will have to skip the channel.

How to use fallback routing

To use fallback routing features with a message send is very simple, you just specify more than one channel to send to in your preference order explicitly in the JSON of your send request.

To use fallback routing with explicitly set channels is very simple, simply include more than one channel id in the rules array in your message send in the priority order required. For example:

"rules": [
  "fbMessenger",
  "sms"
  ]
{
  "body": "Fallback routing send",
  "to": {
    "profileId": "[email protected]",
    "phoneNumber": "447123123123"
  },
  "rules": [
    "fbMessenger",
    "sms"
  ]
}