Creating Workflows
A workflow is a set of messages you prepare ahead of time and organize into stages. Each stage holds the text message, email, or both that you want to send at one point during an event, and each stage is sent separately, whenever you choose. Workflows aren't tied to a single event, so the same workflow can be reused for every event like it, such as a planned maintenance window or a recurring type of outage.
To find your workflows, open Events in the sidebar and choose Workflows. From the Workflows page, click New Workflow to get started.
Workflow Setup
Creating a workflow takes two steps, shown at the top of the page: Workflow set up and Stages.
Start by giving the workflow a name. The name is required, and since it's how you pick the workflow out later, a descriptive one such as "Planned Maintenance" or "Storm Outage" works best.
Message Type
Next, choose which type of message the workflow sends:
- SMS
- SMS + Email
- SMS + Email fallback
- Email + SMS fallback
The message type decides which messages each stage holds, so every stage in the workflow follows the same type. If email features haven't been set up yet, the options that include email are grayed out, along with a notice on who to contact to set them up.
Internal Notes
Internal notes are optional and only seen by your team. They appear in the Internal notes column on the Workflows page, so they are a good place to describe when the workflow should be used.
Once the workflow has a name and a message type, click Next step to move on to its stages.
Stages
A new workflow starts with a single stage, and you can add as many more as you need with + Add stage. Each stage shows its place in the workflow ("Stage 1 of 3") along with a section for each message it holds, based on the message type you chose. For the fallback types, the second section is labeled SMS fallback or Email fallback.
Stage Category
Clicking Choose category at the top of a stage lets you label it, such as "Initial Notice" or "Restored". Categories make it possible to filter for these stage messages later on the Messages page.
To add a category, type its name under New category and click Create, or pick one from Existing categories, then click Save category. Categories are shared between all of your workflows, and deleting one removes it from every stage that uses it.
SMS
Click + Add SMS message to open the SMS editor. Along with the Message box, you have the option to switch on your opt-out message, which adds it to the end of your message.
You can also click + Add auto reply to add an Auto-reply message to the stage. If a recipient texts back, they get the auto-reply from the latest stage they received. Once the event is complete, its auto-replies are no longer sent, and any automated replies set up in your settings apply as usual.
The last stage of a workflow can't have an auto-reply, since sending it completes the event.
The Helpers on the right offer three ways to fill in your message:
- SMS presets fill the message box with a saved preset, replacing anything already in it. You can also create a new preset here with
+ Add preset. - Contact variables fill in each contact's own details when the message is sent.
- Workflow variables are covered in the next section.
When you are finished, click Save message. The stage then shows a preview of the message, and Edit reopens it.
Workflow Variables
Workflow variables let one workflow say something different each time it's used. You create one by typing a name between double curly braces in your message, such as {{start_eta}}. The value isn't set in the workflow at all. Instead, you choose it on each event that uses the workflow.
For example, a stage reading "Crews will begin work at {{start_eta}}" could fill in "2:00 PM" for one event and "9:30 AM" for the next, without changing the workflow.
Unlike contact variables, which change from one contact to the next, a workflow variable has the same value for everyone receiving that event's messages. Once a workflow is saved, its variables are listed under Existing workflow variables in the helpers, so you can insert them again without retyping them.
Workflow variables work in SMS messages and auto-replies.
Each email needs a Subject, and the workflow can't be saved while a stage has an email design without one.
Click + Add email design to open the email editor, where you can build the email from scratch or start from one of your email presets. If you use a preset without changing it, its saved subject fills in the Subject field. An unsubscribe footer is automatically added to the bottom of every email sent.
When you are finished, click Save email. The stage then shows a preview of the email, and Edit reopens it.
Arranging Stages
Stages are placed on the event's timeline in the order they appear here. To reorder them, open the three-dot menu on a stage and choose Move stage up or Move stage down.
Remove stage in the same menu deletes the stage once the workflow is saved. If it's the only stage, it clears the stage's messages instead, since a workflow always keeps at least one stage.
Saving the Workflow
When your stages are ready, click Save workflow. You are returned to the Workflows page, where the new workflow is listed with its name, type, and internal notes. If you need to change the name or message type before saving, Back returns you to the setup step without losing your stages.
Editing and Deleting Workflows
Clicking a workflow's name on the Workflows page, or choosing View from its Actions menu, opens it for editing. The setup and stages are shown together on one page, and Save keeps your changes. Changing the message type here saves the workflow right away, including any other changes made so far.
To delete a workflow, choose Delete from its Actions menu and confirm.
Changes Affect All Events
Editing a stage changes it for every event using the workflow, unless that event has already sent the stage. Deleting a workflow removes it from every event using it.