# Follow-up messages

> Send a timed series of emails or widget messages after an event such as a signup, and stop automatically when the goal event happens. Growth plan and up.

A follow-up sequence sends a series of messages over time after something happens, for example "signed up", and stops when the person does what you wanted. Each step is an email or a message in your chat widget, with a delay before it goes out. 

Sequences answer one question: who did something, and what should they hear next? Back to [Automation](/automation/).

## Before you start

- You need the Growth plan and the Admin role to create or change a sequence.
- Your site must tell AskVault when the event happens, by calling `AskVault.track("event_name")` from the widget. See the [widget JavaScript API](/developers/widget-javascript-api/).
- For email steps, AskVault needs an email address for the visitor, such as one captured as a lead. See [Contacts, leads and segments](/contacts/).

## Steps

#### New dashboard

1. Open **Automation** in the sidebar, then the **Sequences** tab.
2. Create a sequence and give it a name, such as "Trial nurture".
3. Under **Enroll on event**, enter the event name that starts it, such as `signup`.
4. Under **Exit on event**, enter the event name that stops it, such as `purchased`.
5. Add steps. For each, choose **Email** or **Widget message**, set the delay in minutes, hours or days, and write the message.
6. Save and turn the sequence on.

#### Previous dashboard

1. Open **Automation** › **Sequences** (under **Advanced**).
2. Create a sequence and give it a name, such as "Trial nurture".
3. Under **Enroll on event**, enter the event name that starts it, such as `signup`.
4. Under **Exit on event**, enter the event name that stops it, such as `purchased`.
5. Add steps. For each, choose **Email** or **Widget message**, set the delay in minutes, hours or days, and write the message.
6. Save and turn the sequence on.

## How steps work

- A sequence has up to 10 steps.
- Each step has a delay from the previous one: at least 5 minutes and at most 30 days. The default is one day.
- An **Email** step has a subject (up to 300 characters) and a body (up to 8,000 characters).
- A **Widget message** step shows a message in your chat widget.
- In an email, `{name}` and `{email}` are replaced with the person's details.

## Starting and stopping

A person is enrolled when the **Enroll on event** fires for them. If the **Exit on event** fires, the sequence stops for that person and no further steps are sent. Each step is sent once.

Every email carries a one-click unsubscribe link. Someone who unsubscribes gets no more emails from your sequences.

The sequence page lists who is enrolled, so you can see where each person is.

## Check it worked

Fire the starting event from a test page with your own email already captured as a lead, and confirm you appear in the enrolments list. Set the first delay to 5 minutes to see the first message arrive quickly.

## If it doesn't work

**Nobody is enrolled.** The event name must match exactly, including case. Check that your site calls `AskVault.track` with the same name, and that the visitor has a captured email for email steps.

**An email never arrived.** Check that the person did not unsubscribe and that the exit event did not fire first.

**The Create button is locked.** Sequences need the Growth plan.

## Related

- [Website messages](/automation/website-messages/)
- [Contacts, leads and segments](/contacts/)
- [Widget JavaScript API](/developers/widget-javascript-api/)

Source: https://docs.askvault.co/automation/follow-up-messages/
