Skip to content
  • There are no suggestions because the search field is empty.

Create a workflow

At a glance

AudienceApp Admin
PlanPremium (up to 10), Enterprise (unlimited)
Where in the appResponse Orchestration > Workflows

Why and when to use this

Create a workflow when you need a rule that isn't built in: escalate unassigned alerts, update a field, call a webhook, or notify stakeholders on close. This article walks through a real example end to end.

The example

DB - Escalate Unassigned Critical to Incident Commander: if a critical database alert is still Open 15 minutes after it began, send a message to Carlos Reyes. Stop once the alert is no longer Open.

Step 1: Create the workflow

  1. Go to Response Orchestration > Workflows and click Add Workflow.

  2. Enter a Name.

  3. Choose the Workflow Type: Alert.

  4. Choose the Alert Type.

  5. Turn on Scheduled and set Recurrence Interval (Minutes) to 5.

  6. Click Add Workflow. It opens in the builder, disabled.

Add Workflow: (1) name, (2) type, (3) Scheduled and recurrence interval

Add Workflow: (1) name, (2) type, (3) Scheduled and recurrence interval

The new workflow: (1) disabled, (2) time-based condition required, (3) stop condition required

The new workflow: (1) disabled, (2) time-based condition required, (3) stop condition required

Step 2: Add conditions

  1. Click Add Condition.

  2. Choose Time From Beginning (Minutes), operator is, value 15. Click Save.

  3. Click Add Condition again, click Add, and choose Alert Status is Open. Click Save.

(1) every field you can test on an alert

(1) every field you can test on an alert

(1) Alert Status values

(1) Alert Status values

Step 3: Add the action

  1. Click Add Action and choose Send Message.

  2. Choose the Escalation Policy or Response Play that sends the message.

  3. Click Add Recipients and choose Carlos Reyes.

  4. Enter a Subject, using { } to insert alert details, for example <<Alert.Description>>.

  5. Enter the Message and click Submit.

Send Message: (1) policy, (2) send-to options, (3) recipients, (4) subject with a variable, (5) message

Send Message: (1) policy, (2) send-to options, (3) recipients, (4) subject with a variable, (5) message

Step 4: Add a stop condition

Click Add Condition under Stop Conditions and choose Alert Status is not Open. Click Save.

Step 5: Enable and attach

  1. Turn the workflow on with the Enabled toggle.

  2. Open the escalation policy, go to Automate, click Add Workflow, and add it.

The finished workflow

The finished workflow

Attached to Database Ops - Critical

Attached to Database Ops - Critical

Usage: (1) the policies and plays using this workflow

Usage: (1) the policies and plays using this workflow

What happened in the live test

Test alert 216797 used Database Ops - Critical and was left unassigned:

TimeEvent
10:22Alert created; Maya Chen (Primary) emailed
10:27Sam Patel (Secondary) emailed; his SMS and call failed on a demo number
10:37Priya Raman (Manager) emailed
10:38Workflow sends the escalation message to Carlos Reyes
10:43, 10:48, 10:53...Workflow sends it again every 5 minutes

Test alert 216797 Audit Trail: (1) Maya, (2) Sam with failed SMS and call in red, (3) Priya, (4) repeated workflow runs

Test alert 216797 Audit Trail: (1) Maya, (2) Sam with failed SMS and call in red, (3) Priya, (4) repeated workflow runs

Messages: (1) the workflow message repeating every 5 minutes

Messages: (1) the workflow message repeating every 5 minutes

Important: scheduled workflows repeat. A scheduled workflow re-checks its conditions every recurrence interval and runs its actions every time they're true. Time conditions such as "Time From Beginning is 15" behave like "at least 15." For example, the escalation message went to Carlos at 15 minutes and then every 5 minutes after that until the alert was closed. Design your stop condition around what should end the repeats, or use a recurrence long enough that repeats are acceptable as reminders.

Best practices

  • Test on a demo policy first.

  • Always add a stop condition to scheduled workflows, and expect the action to repeat every interval until it's met.

  • Workflows in use can't be deleted. Remove them from policies first; check Usage.

  • Use variables in subjects so recipients know which alert it is.

  • Don't send a message through the same policy the workflow is attached to. AlertOps blocks this to prevent loops.

Troubleshooting

ProblemCauseFix
Add doesn't add a second condition rowThe first condition hasn't been savedSave, then reopen and click Add
Pressing Escape lost my changesEscape closes the drawer without savingClick Save first
Workflow never runsDisabled, or not attached to a policyEnable it and attach it in Automate
Add Workflow is greyed out on a policyThe policy is used in a workflow's Send MessageUse a different policy for the message

Condition operators

OperatorTrue when the value
Is / Is NotEquals, or doesn't equal, the value
Is ChangedHas changed since the last check
Is Any / Not Is AnyMatches, or matches none of, a list
Contains Any / Not Contains AnyContains, or contains none of, the text
Matches Regex / Not Matches RegexMatches, or doesn't match, a regular expression

Useful standard conditions

  • Alert Status: Open, Assigned, On Hold, Closed, Cancelled.

  • Topic, Owner, and any custom field on the alert type.

  • Complete Delivery: everyone has been sent the notification.

  • Time From Beginning / Before SLA / After SLA: minutes (Scheduled required).

Message text

Mix fixed text with alert fields using Insert Keyword, for example "Still open after 30 minutes: <Subject>". Choose Send to Original Recipients to reach everyone on the alert, or name users and groups, such as a managers group, to reach people who weren't on it. Launch New Thread starts a separate conversation instead of replying on the alert.

Plans and permissions

WhatAvailable onPermission neededBuilt-in roles that include it
Workflows (Step 1: Create the workflow; Step 2: Add conditions; Step 3: Add the action; Step 4: Add a stop condition; and more)Premium (up to 10), Enterprise (unlimited)Workflows_Update to change; Workflows_View to viewOwner, App Admin

Custom roles can include any of these permissions. See the Entitlements reference.