Automations

The Automations feature allows you to create automated email sequences to engage your contacts.

Set up triggers, actions, and rules to automate your workflows.

Use cases

Use integrations to add contacts into Mailtrap using API, SDKs, Make.com, Zapier, or N8N.

Use case: Greet new contacts, set expectations, and share first-week tips. Perfect for onboarding new subscribers and making a great first impression.

How to set it up:

  1. Trigger: Contact created

  2. Add Send email steps with Time delays

  3. Optionally: Conditional split by plan or locale

Functionality

Available components

Entry points for your automation

  • Contact created — Starts when a new contact is added

  • Contact field updated — Fires when specific field changes

  • Contact added to list — Activates on list addition

  • Contact removed from list — Triggers on list removal

  • Contact custom event — API event received

Each contact can only enter the same automation once every 24 hours.

Triggering via API Event

"Contact custom event" trigger requires you to send an API event.

Here is description of the endpoint.

Limits

  • Limited number of automation runs based on your plan

  • Each contact can go through the same automation once in 24 hours

  • Check your limits in Billing Dashboard

  • Look for "Automations run count"

  • Feature is currently included in your plans (may change later)

Creating your first automation

To get started, navigate to the tab in your Mailtrap account or go to https://mailtrap.io/automations.

1

Define the name for your automation.

Choose a descriptive name that indicates the automation's purpose.

2

Set up an entry trigger and select when the automation should start.

For this example, we'll use the "Contact created" trigger. This means the automation will start whenever a new contact is added. After selecting the trigger type, click "Save".

Building your automation sequence

Now that you've set up the trigger, you can start adding steps to your automation.

1

Click the "Add Step" button to add your first action.

2

Select "Send Email" as your first action.

3

Customize your email content and settings.

Add your subject line, choose a template, and personalize with merge tags.

Adding delays and additional steps

To create a more complex sequence, you can add time delays and further actions.

1

Insert waiting periods between actions.

Configure the delay duration (minutes, hours, days, or weeks).

2

Continue building your sequence with additional messages or actions.

Repeat the process to add more emails, list assignments, or field updates.

Automation activation

Once you've built your automation sequence, it's time to activate it.

Pausing and disabling

You can pause or disable your automation at any time.

Temporary suspension

  • No new contacts can enter automation

  • Contacts currently in automation continue the flow

  • Use when making minor adjustments

Stats — Monitoring automation performance

You can track the performance of your automation by clicking on the Reports tab within the automation builder.

Available metrics

  • Open rate per email

  • Click rate per email

  • Number of step completions

  • Delivery rate

Best practices

  • Start simple: Begin with basic welcome series before complex flows.

  • Test thoroughly: Use test contacts before going live.

  • Monitor performance: Check reports weekly for optimization opportunities.

  • Segment wisely: Use conditional splits for personalization.

  • Time delays: Consider time zones and optimal send times.

  • Exit strategies: Plan how contacts leave the automation.

Common automation workflows

Welcome Series Template

A multi-step onboarding sequence for new contacts:

  1. Trigger: Contact created

  2. Email 1: Welcome message (immediate)

  3. Delay: 2 days

  4. Email 2: Getting started guide

  5. Delay: 3 days

  6. Email 3: Feature highlights

Re-engagement campaign

Win back inactive subscribers with targeted messaging:

  1. Trigger: Contact added to "Inactive" list

  2. Email 1: We miss you + special offer

  3. Delay: 3 days

  4. Email 2: Last chance offer

  5. Delay: 7 days

  6. Action: Unsubscribe contact

Post-purchase flow

Maximize customer value after purchase:

  1. Trigger: API event "purchase_completed"

  2. Email 1: Order confirmation

  3. Delay: 1 hour

  4. Email 2: Thank you + getting started

  5. Delay: 3 days

  6. Email 3: Tips and tricks

  7. Delay: 7 days

  8. Email 4: Review request

  9. Action: Update field "customer_status" to "active"

Last updated

Was this helpful?