Workflows

Actions

Everything a workflow can do, with every setting explained.

Actions do the work in a workflow. Settings marked “Merge tags allowed” can include placeholders such as {{contact.first_name}}, filled in for each contact when the step runs. Every action also has Continue if this step fails.

Note
In Simulate actions don’t run; each one describes what it would have done instead.

WordPress

Users, posts, comments, tags and SwiftAction's built-in actions.

Messaging

Send email

Send an email using your site's mailer (wp_mail): a quick message, or an email designed under SwiftAction → Emails.

ID core.send_email
SettingTypeDetails
To *TextOne or more addresses, separated by commas.Default: {{contact.email}}Merge tags allowed.
ContentChoiceQuick message · Designed emailDefault: Quick message
Email *ChoicePick from your site.Design emails under SwiftAction → Emails.Shown when Content is Designed email.
Subject (optional)TextLeave empty to use the email's own subject.Merge tags allowed.Shown when Content is Designed email.
Subject *TextMerge tags allowed.Shown when Content is Quick message.
Message *Rich textMerge tags allowed.Shown when Content is Quick message.
Email typeChoiceTransactional (always sent) · Marketing (respects unsubscribes)Default: Transactional (always sent)Shown when Content is Quick message.
Reply-toTextMerge tags allowed.

Show popup

Show a saved popup on the contact's next page view. Works for logged-in users and recognised guests. Design popups under SwiftAction → Popups.

ID core.show_popup
SettingTypeDetails
Popup *ChoicePick from your site.Merge tags in the popup, such as {{coupon.code}} from an earlier step, are filled in for this contact.
Show after (seconds on the page)NumberDefault: 2
Discard if not seen within (days)Number0 keeps it until the contact visits again.Default: 7

Show banner

Show a saved banner to the contact on their next page views, for example "Your cart is waiting" across the top. It takes the banner's spot (top bar, bottom bar, floating or its inline location) ahead of banners shown by display rules. Design banners under SwiftAction → Banners.

ID core.show_banner
SettingTypeDetails
Banner *ChoicePick from your site.Merge tags in the banner, such as {{cart.recovery_url}}, are filled in for this contact. Inline banners need a location (not "Only where I place it").
Stop showing after (days)NumberThe banner shows on every page view until the contact clicks, submits or closes it, or this many days pass. 0 keeps it until then.Default: 3
Contacts

Add tag

ID core.add_tag
SettingTypeDetails
Tags *Tags

Remove tag

ID core.remove_tag
SettingTypeDetails
Tags *Tags

Update contact field

Set a contact field (first name, last name, or a custom field such as "company"). Leave the value empty to clear a custom field.

ID core.update_contact_field
SettingTypeDetails
Field *ChoiceFirst name · Last name
ValueTextMerge tags allowed.

Update subscription

Subscribe or unsubscribe the contact from marketing emails. Transactional emails are always sent.

ID core.update_subscription
SettingTypeDetails
Set to *ChoiceSubscribed · UnsubscribedOnly subscribe people who agreed to get your emails.Default: Unsubscribed
Users

Update user meta

Set a user meta field. Skipped for guests.

ID core.update_user_meta
SettingTypeDetails
Meta key *Text
ValueTextMerge tags allowed.

Change user role

Give the user a different role. Never changes administrators and never grants admin-level roles.

ID core.change_user_role
SettingTypeDetails
New role *ChoiceAuthor · Contributor · Subscriber · Customer · Shop manager
Developer

Send webhook

Send the contact and trigger data to a URL (Zapier, Make, n8n, your own API...).

ID core.webhook
SettingTypeDetails
URL *TextMerge tags allowed.
MethodChoicePOST · PUT · PATCH · GET · DELETEDefault: POST
BodyChoiceContact + trigger data (JSON) · Custom JSONDefault: Contact + trigger data (JSON)Shown when Method is POST or PUT or PATCH.
JSON bodyLong textMerge tag values are JSON-escaped automatically, so put them inside quotes.Merge tags allowed.Shown when Body is Custom JSON.
HeadersKey / value pairsFor example an Authorization header.Merge tags allowed.

Run custom code (WordPress hook)

Calls do_action( 'your_hook', $payload, $context ) so your own code can react.

ID core.fire_hook
SettingTypeDetails
Hook name *TextLetters, numbers, "_", "-", "/", "." and ":" only.
Extra dataKey / value pairsPassed in $payload['args'].Merge tags allowed.

WooCommerce

Orders, payments, refunds, product views and reviews, cart activity, abandoned carts, coupons.

Add order note

Add a note to the order that started the workflow. Skipped when there is no order.

ID woo.add_order_note
SettingTypeDetails
Note *Long textMerge tags allowed.
Note to customer (emailed and shown in their account)Toggle

Create personal coupon

Generate a unique single-use coupon. Use {{coupon.code}} in later steps, e.g. an email.

ID woo.create_coupon
SettingTypeDetails
Discount typeChoicePercentage · Fixed amountDefault: Percentage
Amount *NumberDefault: 10
Also gives free shippingToggle
Expires after (days)Number0 = never.Default: 7
Minimum spendNumberDefault: 0
Only usable with the contact's email addressToggleDefault: on
Can't be combined with other couponsToggleDefault: on
Code prefixTextDefault: SAVE-
For SwiftAction 1.0 · Updated 5 December 2026 · Questions or corrections?