If you have multiple integrations of the same channel, you can create rules that define how to deliver notifications.
Priority | Integration | Condition |
---|---|---|
Priority 1 | Twilio | Default use Twilio |
Priority 2 | Plivo | If Twilio API fails or Twilio fails to deliver SMS within 30s |
Priority 3 | Kaleyra | If Plivo API fails or Plivo fails to deliver SMS within 20s |
traffic_split_percent
is a reserved keyword and can directly be selected in
the condition. Your Send Event API remains as is and you need not pass any extra
field to enable this rule.
user_id >= 1000 AND user_type = merchant
. You will have to pass the value of
all conditional key
fields in the data payload of the Send Event API. Raven
will use that value to evaluate the condition and use the correct set of
integrations. This is how the payload will look like 👇. Check our
Send Event API doc for more details.
key
field in the data payload of Send Event API,
the condition will fail and no integration will be selected to send the
notification.