Skip to content

Email sequences

Build automated email flows, such as welcome or onboarding series, that start when your app sends an event to Axoryn.

5 min read 8 sections

Email sequences send a series of emails, with waits in between, to your own users. A sequence starts when your backend sends an event to the Sequences API. This page covers building and running sequences in the dashboard. For the API itself, see the Sequences API reference.

Open a project and select Sequences in the sidebar. The page is titled Email Sequences.

How a sequence runs

  1. Your backend sends an event, such as user.signed_up, with the user’s email address.
  2. Every active sequence in the project whose Event trigger key matches the event enrolls that user.
  3. The steps run from top to bottom: Send email steps send right away, and Wait steps pause for the time you set.
  4. After the last step, the enrollment is completed.

The page shows how many contacts are active in the selected sequence and how many have completed it.

Create a sequence

  1. Select New sequence.
  2. Enter a Sequence name.
  3. Enter the Event trigger key. Use letters, numbers, dots, or underscores (e.g. user.signed_up). Hyphens are also accepted. The key can be up to 120 characters.
  4. Select Create sequence.

New sequences start as Draft.

Build the flow

The flow is shown as a canvas: the API Trigger at the top, your steps, and End of sequence.

  • Use the Add step button between nodes, or the Wait and Send email buttons on the canvas, to insert a step.
  • Select a step to edit it. Select Remove step to delete it.
  • Select Save flow to save your step changes. Nothing on the canvas is saved until you do.

Wait steps

A Wait step takes an Amount from 1 to 365 and a Unit of minutes, hours or days.

Email steps

FieldNotes
”Subject”Required. Supports variables.
”Preview text (optional)“The short line inbox apps show next to the subject. Supports variables.
”Email body”Required. Use Insert button to add a button with Button text and Button URL, and Insert image to add an image by Image URL with Alt text.

Switch to Preview to see the email with sample values.

Variables

Write variables as {{name}} in the subject, preview text or body. Available variables lists {{first_name}}, {{email}}, {{plan}} and any user variables you define under Data & Events. Select one to add it to the subject.

When an email is sent, variables are filled from:

  1. The traits you sent for that contact with the identify call.
  2. The variables and traits sent with the event that started the sequence (these win over stored traits).
  3. {{email}}, which is always the recipient’s address.

A variable with no value is replaced with nothing.

Send a test email

In an email step, select Send test email. The test goes to your own login email, with [Test] in front of the subject and sample values (first_name is Alex). Save the flow before sending a test email; the button is off while you have unsaved changes.

Sender and styling

Select the API Trigger node to open Configure trigger:

SettingWhat it does
”Sequence name”Shown only to your team.
”Event trigger key”The event that starts this sequence. Event keys you add under Data & Events appear as shortcuts.
”Sender name”The name your emails come from. If empty, the project name is used.
”Reply-To email”Where replies go. If empty, no Reply-To is set.
”Layout""Light card”, Minimal or Dark card.
”Accent color”A 6-digit hex color.
”Header""Sender name”, Logo (URL) or Hidden. Logo (URL) needs an http(s) Logo URL.

Emails are sent from an Axoryn sending address with your Sender name.

Activate and pause

  • Select Activate to start enrolling contacts. A sequence needs at least one email step before it can be activated. If you have unsaved flow changes, they are saved first.
  • Select Pause to stop it. A paused sequence enrolls no one and sends no emails.

Warning: Contacts whose next step comes due while the sequence is paused stop at that step. Activating the sequence again does not resume them.

Step changes you save also apply to contacts already in the sequence: they continue from their current step position in the new flow.

To delete a sequence, select the delete button next to Activate or Pause and confirm Delete sequence. Its enrollments are deleted with it.

Data & Events

Select Data & Events to manage the data your sequences use:

TabWhat it holds
”User Data”User variables (for example plan or created_first_review) with a Key, Label and Type: Text, Boolean, Number or Date. Each key appears under Available variables.
”Events”Event keys (for example review.created) with a label. Each appears as a shortcut for the trigger key.
”Contacts”The 100 most recently seen contacts synced through the API, with their traits.

Defining variables and events here is optional. The API accepts any trait or event key; definitions only make them easier to pick in the editor.

Unsubscribes

Every sequence email includes an Unsubscribe link and one-click unsubscribe headers that mail apps can use. When a recipient unsubscribes:

  • All of their active enrollments in the project stop.
  • Future events for that email address in the project enroll nothing.

Who can do what

ActionWho
View sequences, flows and Data & EventsEvery teammate
Create, edit, activate, pause, delete, send tests, add or remove definitionsOwners and admins
See the API key (API Key)Owners and admins
Rotate the API keyOwners only
Still stuck? Check Troubleshooting or the FAQ. What changed recently