Workflows

Workflow builder

The canvas, steps, If/Else branches, delays, publishing, versions and re-entry rules.

Open the builder from SwiftAction → Workflows. The toolbar at the top holds the workflow name, its status, the mode switch (Edit · Live, plus Replay · Simulate), Tidy up layout, Workflow settings, Pause/Activate and Publish.

Builder with the step palette on the left, the canvas and the settings of a Create coupon step
Palette on the left, canvas in the middle, the selected step’s settings on the right.

The canvas

  • Add a step: drag it from the palette onto the canvas, or select a step and click a palette item to add it below. Use the search box to find steps.
  • Connect steps: drag from the dot at the bottom of one step to the top of another. A step has one way out; an If/Else has two (Yes and No).
  • Delete: select a step or a connection and press Delete, or use Delete step in its panel.
  • Tidy up layout arranges everything top to bottom. Zoom with the controls in the corner or your trackpad; the mini-map shows where you are.
  • Save now with Ctrl/⌘ + S (drafts also save automatically). Leaving with unsaved changes asks first.

Step types

StepWhat it does
TriggerEvery workflow has exactly one. It decides when a contact enters. See Triggers.
If / ElseChecks rules and continues down the Yes or No path. Give it a name so the canvas and run pages read well. See Conditions.
ActionDoes something: email, tag, popup, banner, coupon, webhook… See Actions.
DelayWaits for a period of time (minutes, hours, days or weeks) or until a specific date and time. If that date has already passed, the run continues straight away.
EndFinishes the run. A path that simply stops also ends the run; the End step just makes it explicit.

If / Else rules

A condition holds one or more rules (field, operator, value), combined with All of (AND) or Any of (OR). Add a Groupto nest logic, for example “VIP tag AND (order total > 100 OR first order)”. Fields that only make sense for some triggers (order fields need an order trigger) are only offered when they apply.

An If/Else step with a cart total rule

Options on every action

  • Continue if this step fails: by default a failed action stops the run (after any retries). Turn this on for steps that are nice to have, like a webhook to an analytics tool.
  • Retries: emails retry twice (5 minutes apart) and webhooks three times with a growing wait. The run waits in between and shows waiting.
  • Skipped: some actions skip instead of failing, for example a marketing email to someone who unsubscribed. The run continues.

Saving, publishing and versions

  • Changes are autosaved as a draft while you work. The toolbar shows “Draft saved” or “Unsaved changes”.
  • The right panel validates the workflow as you go. Publish is only possible when there are no problems.
  • Publishing creates a new version (v1, v2…). New runs use the latest version; runs already in progress finish on the version they started on, so editing a live workflow never strands anyone.
  • A workflow can be Draft (never published), Active or Paused. Only active workflows start runs.

Workflow settings

Workflow settings dialog with re-entry and pause options

Who can enter

OptionBehaviour
Each contact only onceThe default. A contact who has ever entered never enters again.
Every time the trigger happensEach matching event starts a new run, even if the contact is already inside.
At most once every N daysA contact can enter again after N days. Good for abandoned carts or browse reminders.

The default for new workflows is set under Settings → Workflows.

When the workflow is paused

Pausing stops new runs. For people already inside choose Stay where they are and continue when resumed (the default) or Leave the workflow (their runs exit).

Managing workflows

The Workflows list shows each workflow’s status, trigger and runs, with row actions Edit, Pause/Activate, Duplicate and Delete. Deleting a workflow makes contacts inside it exit; their run history is kept in Logs until retention removes it.

The workflows list

Loop protection

Workflows can start other workflows (an Add tag action fires a Tag added trigger). To stop endless chains SwiftAction limits the depth, 5 by default (Settings → Workflows → Loop protection depth). When the limit is hit the next run is not started and a swiftaction_loop_prevented action fires.

Tip
Not sure a change is right? Use Simulate before publishing: it runs the editor’s unpublished version. You can also enroll yourself as a test contact and check the run’s page under Logs.
For SwiftAction 1.0 · Updated 5 December 2026 · Questions or corrections?