Outreach-only steps
Reach new contacts on one step of a priority (for example Twilio SMS) and move them to the next (Blooio iMessage) once they reply.
v2 sends don't route between Twilio and Blooio numbers. An API key that holds both gets 400 on a v2 send that doesn't name a number.
To reach new contacts over SMS and continue on iMessage once they reply, send with v4 POST /messages and mark the key's Twilio step outreach only. See the v4 version of this page.
Related
An outreach-only step is a step in a priority meant only for contacts who haven't replied. The usual setup puts an API key's Twilio numbers at step 1, marked outreach only, and its Blooio numbers at step 2: cold outreach goes out over SMS, and once a contact replies, later sends move to iMessage. This replaces Hybrid mode, which did the same through a separate dashboard toggle.
SMS for the first touch, iMessage once the contact replies. Click a step for details.
How it routes
- A contact who hasn't replied on any channel in the priority is routed as usual (their history first, then the steps in order), so the outreach step reaches them.
- Once a contact has replied on a channel in the priority, outreach-only steps go last. The contact's history on those steps no longer picks the channel, so the send goes to the first other step that takes it. The outreach step is still tried if every other step passes the send over.
- Within a step, a pool keeps each contact on one number (see Number pools).
Transition message
A step's rule can carry a transition message. It goes out with the first message a contact reached on that step gets from the next step: pre sends it just before, post just after. The send response reports it:
{
"routing": {
"mode": "priority",
"channel_type": "blooio",
"priority": 2,
"transition": { "mode": "pre", "message_id": "msg_..." }
}
}If a pre transition can't be sent, the step counts as refusing the send and routing moves on. If a post transition fails after your message went out, routing.transition.error says why.
Configure
On the dashboard Channels board, open Step rule on a step of the API key's (or integration's) table, turn on Outreach only, and optionally add a transition message.
Over the API, set settings.steps on the priority, keyed by step number:
curl -X PATCH https://api.blooio.com/v4/priorities/priority_... \
-H "Authorization: Bearer bl_live_..." \
-H "Content-Type: application/json" \
-d '{
"channels": [
{ "channel_id": "ch_twilio...", "priority": 1 },
{ "channel_id": "ch_blooio...", "priority": 2 }
],
"settings": {
"steps": {
"1": {
"outreach_only": true,
"transition": { "mode": "pre", "text": "Hi, it is Sam from Acme. Texting you from our iMessage line now." }
}
}
}
}'Try itsettings.steps replaces every rule at once, and each rule must name a step the channel list has, so send both together when steps are renumbered.
The hybrid field
POST /messages still accepts the deprecated hybrid field: true routes like an omitted from, and a phone number routes as that number's owner. Omit from instead.