> ## Documentation Index
> Fetch the complete documentation index at: https://docs.raycaster.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Email Sequences

> Build automated multi-step email campaigns with a visual drag-and-drop builder

## Overview

Email sequences let you create multi-step email campaigns that send automatically over time. Build sequences visually with a drag-and-drop builder, set wait times between steps, and track progress as emails are delivered.

## Key Concepts

| Concept       | Description                                                                                        |
| ------------- | -------------------------------------------------------------------------------------------------- |
| **Sequence**  | A multi-step email campaign with recipients. Created from a sheet with selected rows.              |
| **Template**  | A reusable sequence blueprint without recipients. Can be applied to different sheets and contacts. |
| **Node**      | A single step in the sequence — either an email to send or a wait period.                          |
| **Wait Node** | A pause between steps (e.g., wait 2 days before the follow-up).                                    |

## Creating a Sequence

Sequences are always created from a sheet with selected recipients:

<Steps>
  <Step title="Select Recipients">
    In your sheet, select the rows for the people you want to include in the sequence using the checkboxes.
  </Step>

  <Step title="Open Sequence Composer">
    Click the **Sequence** button in the toolbar. This is separate from the single-email button.
  </Step>

  <Step title="Choose How to Start">
    You have two options:

    * **Create New Sequence** — Opens the visual sequence builder to design a new sequence from scratch
    * **Choose from Templates** — Pick from your saved sequence templates or system templates
  </Step>

  <Step title="Build Your Sequence">
    Use the visual builder to add email nodes and wait nodes. Write the content for each email step using `{{variables}}` from your sheet columns.
  </Step>

  <Step title="Save and Launch">
    Save the sequence. It starts in **draft** status. When ready, click **Start** to begin execution.
  </Step>
</Steps>

## Visual Sequence Builder

<Frame caption="The visual sequence builder with email nodes, wait nodes, and conditional branching">
  <img src="https://mintcdn.com/raycaster/_VVk1UxeaQQsf887/images/email-sequence-builder.png?fit=max&auto=format&n=_VVk1UxeaQQsf887&q=85&s=3db435b86e55e7b855f9d041533079c1" alt="Email Sequence Builder" width="3024" height="1964" data-path="images/email-sequence-builder.png" />
</Frame>

The sequence builder uses a drag-and-drop canvas powered by React Flow. You can:

* **Add Email Nodes** — Each node represents one email in the sequence with its own subject and body
* **Add Wait Nodes** — Set delays between emails (minutes, hours, days, or weeks)
* **Connect Nodes** — Draw connections to define the order of steps
* **Configure Each Step** — Click on any node to edit its content and settings

### Wait Time Rules

Since sequences are executed by an automated job that runs every 5 minutes:

| Unit    | Minimum Wait |
| ------- | ------------ |
| Minutes | 10 minutes   |
| Hours   | 1 hour       |
| Days    | 1 day        |
| Weeks   | 1 week       |

<Note>
  Wait times of less than 10 minutes are not supported because the execution engine processes sequences in 5-minute intervals.
</Note>

## Sequence Lifecycle

Once created, a sequence progresses through these statuses:

```
Draft → Scheduled → Active → Completed
                      ↓
                    Paused → Active (resume)
                      ↓
                    Stopped (terminal)
```

| Status        | Description                                                           |
| ------------- | --------------------------------------------------------------------- |
| **Draft**     | Sequence is being set up. Emails can still be edited.                 |
| **Scheduled** | Set to start at a specific time.                                      |
| **Active**    | Sequence is running. Emails are being sent according to the schedule. |
| **Paused**    | Temporarily halted. Can be resumed.                                   |
| **Completed** | All steps have been executed for all recipients.                      |
| **Stopped**   | Manually stopped. Cannot be resumed.                                  |
| **Failed**    | An error prevented execution. Check error details.                    |

### Managing Active Sequences

From the **Email Sequences** page (`/email-sequences`), the Active Sequences tab shows all running, paused, and completed sequences. For each sequence you can:

* **Start** — Begin a draft or scheduled sequence
* **Pause** — Temporarily halt an active sequence
* **Stop** — Permanently stop a sequence (cannot be resumed)
* **Delete** — Remove the sequence and its associated drafts

## Variable Resolution in Sequences

Sequence emails use the same `{{Column Name}}` variable syntax as regular emails. Variables are resolved at the time each step executes, pulling the latest data from the linked sheet row.

**Example multi-step sequence:**

**Step 1 (Day 0):**

```
Subject: Introduction from {{Your Company}}
Hi {{First Name}}, I noticed {{Company}} is working on {{Research Area}}...
```

**Step 2 (Wait 3 days):**

```
Subject: Following up — {{Research Area}} collaboration
Hi {{First Name}}, I wanted to follow up on my previous email...
```

**Step 3 (Wait 5 days):**

```
Subject: Quick question about {{Company}}'s pipeline
Hi {{First Name}}, I have one last thought regarding...
```

## Execution Engine

The sequence execution engine runs automatically:

1. Every 5 minutes, the system checks for sequences that need processing
2. For each active sequence, it identifies the next email to send for each recipient
3. Variables are resolved from the latest sheet row data
4. Emails are sent through the connected email integration (Gmail or Outlook)
5. Progress is tracked — sent count, replied count, and any failures

## Tracking and Analytics

Each sequence tracks:

* **Total recipients** — How many people are in the sequence
* **Sent count** — How many emails have been successfully sent
* **Reply count** — How many recipients have replied (via thread tracking)
* **Failed count** — How many emails failed to send
* **Current step** — Which step the sequence is currently executing

Click on any sequence in the table to open the detail panel and see per-recipient progress.

## Next Steps

<CardGroup cols={2}>
  <Card title="Sequence Templates" icon="copy" href="/advanced/email/templates">
    Learn how to create and manage reusable sequence templates
  </Card>

  <Card title="Composing Emails" icon="pen-to-square" href="/advanced/email/composing">
    Master email composition with templates and AI drafts
  </Card>
</CardGroup>
