> For the complete documentation index, see [llms.txt](https://docs.dapta.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dapta.ai/ai-text-agents/campaigns/create-a-campaign.md).

# Create a sequence

Create a WhatsApp sequence with an approved template, a sending schedule, and mapped contacts.

Open **Text Agents → Sequences** and choose the create action. This guide follows the file-import flow. Have a connected WhatsApp line assigned to the intended agent and an [approved template for that line](https://docs.dapta.ai/ai-text-agents/channels/message-templates.md).

## 1. Choose the message and sender

Enter the sequence name and objective, select the WhatsApp channel, and select its approved template. Check the sending number before continuing; a template approved for another provider/account may not be available here.

Use **Save and continue** to advance. Do not assume that closing the wizard preserves a usable draft: complete the final step and confirm the sequence appears in the list.

## 2. Set the schedule

Choose the start date and time zone. Add the allowed days and time windows; when using several windows on the same day, keep them ordered and non-overlapping.

The end date is optional:

* Set it when outreach must stop at a defined time.
* Leave it empty for an open-ended sequence. There is no automatic one-year end date.
* An open-ended sequence can wait for more contacts after its current contacts are processed. It does not complete merely because the queue is empty.

The schedule limits dispatch; it does not guarantee delivery or override provider restrictions. See [message logic and limits](https://docs.dapta.ai/ai-text-agents/campaigns/message-logic-and-limits.md).

## 3. Choose where the contacts come from

The source chooser offers a file, a live source such as a Google Sheet, a webhook or a HubSpot list, and **Dapta CRM**: contacts already in your CRM, all of them, a list or a pipeline. The top of the wizard shows **Step n of 4** with a dot per step; click a dot you completed to go back.

**Upload a file.** Upload a **CSV or XLSX of 5 MB or less**. Use one row per contact and include a phone-number column plus the data your template needs.

If you choose **Skip**, you can finish without importing a list. This is not a guarantee of a paused draft: the sequence can start and wait for contacts. Only skip when you have a supported way to supply contacts later.

See [importing contacts](https://docs.dapta.ai/ai-text-agents/campaigns/importing-contacts.md) for formatting, mapping, and partial-import outcomes.

**Dapta CRM.** Click it and answer **Which CRM contacts?**:

* **All contacts**: a copy of every contact in your CRM today, once. Contacts added later are not included, and the option is off while the CRM is empty.
* **A list**: a copy of the contacts in one of your [lists](https://docs.dapta.ai/crm/crm-lists.md), once. An empty list can't be chosen.
* **A pipeline**: whoever is in a stage of one of your [pipelines](https://docs.dapta.ai/crm/crm-pipelines.md), and whoever enters it later. It is offered when you create a sequence, not when you reopen one: a started sequence can't be linked to a stage.

The bar above the picker shows your option; **Change** goes back to the three, and **Other sources** to the cards. With a pipeline:

1. Pick the **Pipeline**, then the **Stage**. Each stage shows its color and how many contacts it holds. The contacts in the stage now are enrolled when the sequence is created; a stage with more than 5,000 contacts is too large to enroll at once, so split it first.
2. Leave **Live sequence: keep it linked to the stage** on to keep the stage linked: whoever enters it later is enrolled on their own, and whoever leaves it is taken out of what the sequence still had pending for them. Turn it off to message who is in the stage now, once, with no link. On an empty stage the switch can't be off; when live links are off on Dapta's side, it is off and locked, with the reason under it.

A stage can feed up to 5 sequences, and a sequence can take one stage. You pause, resume or unlink it later from **Connections**: see [Managing your sequence](https://docs.dapta.ai/ai-text-agents/campaigns/managing-your-campaign.md#a-linked-pipeline-stage).

## 4. Map, review, and finish

1. Map the recipient phone-number field to the correct column. With a Dapta CRM source, the columns offered are the contact's CRM fields, named as the CRM names them.
2. Map every required template variable and review the preview using real rows from your file.
3. Optionally map conversation variables used by the Text Agent. These provide context; they do not replace required template values.
4. With a file, tick **Also add these contacts to the CRM** if you want them in your CRM as well. It is off by default. See [Importing contacts](https://docs.dapta.ai/ai-text-agents/campaigns/importing-contacts.md#add-the-contacts-to-the-crm).
5. Recheck the sender, template, time zone, schedule, and contact consent.
6. Click **Finish**, wait for the result, and review any import errors.

{% hint style="warning" %}
Finishing can start the sequence immediately if its schedule is open. Use a future start time when you need a review period; do not rely on an assumed draft state. If a request times out, check the list and imported contacts before trying to create it again.
{% endhint %}

## Confirm the first run

Open the sequence and check its status and **Conversations**. **Waiting for schedule** or **Waiting for contacts** can be normal, not errors. **Waiting for credits** means your workspace has no credits to send with; sending resumes by itself once credits are confirmed. Check each recipient's delivery separately from whether they replied.

Configure an optional [call fallback](https://docs.dapta.ai/ai-text-agents/campaigns/call-fallback.md) in the sequence settings after creation. It is a separate voice action, not another WhatsApp send.

*Source review: September 17, 2026.*

{% content-ref url="/pages/uRpzLaOCmIdzifXeO9xO" %}
[Managing your sequence](https://docs.dapta.ai/ai-text-agents/campaigns/managing-your-campaign.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.dapta.ai/ai-text-agents/campaigns/create-a-campaign.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
