Skip to main content
A routing strategy is a saved routing setup: the channels a template sends on, their fallback order, and the providers behind each one. Templates point at a strategy by ID, so one edit changes delivery for every template that uses it.
A routing strategy in Design Studio: email always sends, then SMS, Slack, MS Teams, In-App, and push as fallbacks, with a flowchart of the route

What a strategy holds

A strategy carries the same routing object you’d pass on a send, plus the per-channel and per-provider settings around it. Its ID starts with rs_.

Build a strategy in Design Studio

Open a template and click the routing selector in the toolbar. It lists the workspace’s strategies, with a pencil icon to edit each one and Add new routing to create one. Picking a strategy attaches it to the template.
The routing selector open in the Design Studio toolbar, listing three strategies with edit icons and an Add new routing option
Give the strategy a Routing name, then pick a Routing scheme:
  • Basic sends on every channel you switch on, at the same time.
  • Advanced splits channels into two lists. Everything under Always send to the following channels (min. 1) sends. If the last of those fails, Courier tries the channels under If the last above fails, send to the first successful one below, in order, until one delivers.
Drag channels to change their order. The flowchart beside the lists draws the route as you build it. To set the provider order for a channel, click the pencil icon next to it. Under Routing scheme, To the best of tries providers in the order you drag them into, and To all sends through every one. Add more integrations puts another provider on the channel. The Conditions tab sets when the channel is used, on every template that shares the strategy. Click Create routing strategy to save a new one, or Save and close after an edit. Delete stays disabled while any template uses the strategy, so move those templates to another strategy first.

Manage strategies with the API

Create a strategy

takes a name and a routing object. This strategy tries email, then SMS, and sends email through SendGrid with SES as the backup:
The response carries the new strategy’s id. Set it as routing.strategy_id when you create or replace a template, as shown in .

Switch providers on every template at once

Every template that uses a strategy picks up a change on its next send, so one edit moves all of them to a new provider. Courier reads the strategy at send time, so no template needs republishing. To see which templates a change reaches, call first. takes the complete strategy and clears any field you leave out, so send every field you want to keep. This puts SES ahead of SendGrid:

List and archive strategies

returns each strategy’s name and tags. returns its full configuration. returns 409 while any template still uses the strategy.

FAQ

Templates don’t need republishing after a strategy edit. A template stores only the strategy’s ID, and Courier reads the strategy on every send, so the next message uses the new configuration.
A send can pass its own routing object, which replaces the strategy’s channel list and method for that message. The strategy’s provider order and channel conditions still apply. See .