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

# Outbound chats and Salesflow

> Start SMS chats by hand, schedule them, or trigger them from a pipeline

There are three ways to have an agent text first: by hand from the inbox, on a schedule, or
from a Salesflow sequence. All three need the same things:

<Check>The agent is **Active**.</Check>
<Check>Its **Agent Type** is **Outbound**.</Check>
<Check>It has a **First Message**.</Check>
<Check>It has a **phone number** bound.</Check>
<Check>The contact has a usable phone number.</Check>
<Check>Your plan and credit balance allow SMS chat.</Check>

## Start an SMS chat by hand

Open the contact under **CRM → Conversations** and pick the SMS tab. With no open session, the
composer shows an opening-message box, a **Schedule** button and **Start SMS Chat**.

<Frame caption="No open session: write an opener, schedule it, or start now">
  <img src="https://mintcdn.com/dialtu-0be120d3/GIBR8K1e58Uj8RP_/images/en/sms-agents/composer-no-session.png?fit=max&auto=format&n=GIBR8K1e58Uj8RP_&q=85&s=acd3f42bf6ca486a933df60af9d62640" alt="SMS composer with the opening-message box, the predefined-messages menu, the Schedule button and the Start SMS Chat button" width="932" height="178" data-path="images/en/sms-agents/composer-no-session.png" />
</Frame>

**Start SMS Chat** opens a window with the **Client**, the **SMS Agent** picker — outbound,
active agents, shown as "Name (+number)" — an optional **Disposition Tag**, and **Start Chat**.

Whatever you typed in the box overrides the agent's **First Message** for this run. The First
Message must still exist on the agent.

<Frame caption="Pick the outbound agent and an optional disposition tag">
  <img src="https://mintcdn.com/dialtu-0be120d3/GIBR8K1e58Uj8RP_/images/en/sms-agents/start-sms-chat-modal.png?fit=max&auto=format&n=GIBR8K1e58Uj8RP_&q=85&s=e573ca0ca7c231e2a0ea446b3490d0ec" alt="Start SMS Chat window with the client, an agent selected in the SMS Agent dropdown, the Disposition Tag field and the Start Chat button" width="512" height="684" data-path="images/en/sms-agents/start-sms-chat-modal.png" />
</Frame>

<Note>
  The picker lists every outbound SMS agent on the account, not only Lumina ones. Pick yours by
  name.
</Note>

## Why a start can fail

| Message                                                                               | Cause                                                              |
| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------ |
| No active billing plan / SMS chat not enabled on plan                                 | Your plan                                                          |
| Insufficient credits                                                                  | Your balance                                                       |
| Daily SMS session limit                                                               | Your plan's daily cap                                              |
| "…already has an open SMS thread on that number. End it before starting another."     | One open session per contact per number                            |
| "This contact has opted out of SMS messages. Release them from the suppression list…" | Opt-out. See [Compliance](/en/sms-agents/compliance)               |
| "The opening SMS was not sent: …"                                                     | The carrier refused the opener. The session is parked in **Error** |

## Replies come back to the same agent

The open session owns the customer-and-number pair. A reply reaches **this** agent even outside
its hours, and even if the number has no inbound agent at all.

## Schedule an SMS chat

**Schedule** opens **Schedule an SMS chat**: the client, the **SMS Agent**, an **Opening
message**, a **Timezone**, and **When should the chat start?** — a date and time picker with a
countdown ("Will execute in 1 day, 2 hours"). The scheduler fires every minute, so expect a
delivery window of about a minute around the chosen time.

* The time must be at least **5 minutes** ahead.
* The contact must have a phone number.
* At fire time the same checks as a manual start run, and the chat fails if the contact has any
  open SMS session by then.
* Pending chats can be rescheduled or cancelled from the **Scheduled SMS chats** button in the
  composer.

<Frame caption="Agent, opening message, timezone, and a start time at least five minutes out">
  <img src="https://mintcdn.com/dialtu-0be120d3/GIBR8K1e58Uj8RP_/images/en/sms-agents/schedule-sms-modal.png?fit=max&auto=format&n=GIBR8K1e58Uj8RP_&q=85&s=c976f79d69af2ee5632115417bedadf6" alt="Schedule an SMS chat window with the client, the Delivery follow-up agent selected, an opening message, the America/New_York timezone, a start date and time, and the countdown Will execute in 1 day" width="512" height="668" data-path="images/en/sms-agents/schedule-sms-modal.png" />
</Frame>

## From Salesflow: the Send SMS Chat action

Add a **Send SMS Chat** action to a sequence and press **Configure SMS Chat**.

<Frame caption="Agent, tags, wait, and an AI-generated opener">
  <img src="https://mintcdn.com/dialtu-0be120d3/GIBR8K1e58Uj8RP_/images/en/sms-agents/salesflow-sms-chat-config.png?fit=max&auto=format&n=GIBR8K1e58Uj8RP_&q=85&s=7d14e4a6fd7db41b34440340a5ff00b8" alt="SMS Chat Configuration window with the Delivery follow-up agent selected, the disposition tag picker, Wait for Completion on, and Opening message set to Generate with AI with a generation prompt that uses first_name" width="512" height="964" data-path="images/en/sms-agents/salesflow-sms-chat-config.png" />
</Frame>

| Field                   | What it does                                                                                                                                                                                                                                                                                                                                   |
| ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **SMS Chat Agent**      | Outbound, active agents                                                                                                                                                                                                                                                                                                                        |
| **Disposition Tags**    | Attached to the session                                                                                                                                                                                                                                                                                                                        |
| **Wait for Completion** | On by default. The sequence waits until the session ends or resolves; a session that ends in **Error** fails the action                                                                                                                                                                                                                        |
| **Opening message**     | **Static message** — text with variables (`client_name`, `first_name`, `last_name`, `phone_number`, `email`, `company_name`, `area_code` and custom fields); leave it empty to send the agent's First Message. **Generate with AI** — you write a generation prompt and the AI drafts an opener of up to 320 characters; this consumes credits |

<Warning>
  **There's no retry block.** The failures are the same as for a manual start, and after three
  failed runs the event stops firing for that contact.
</Warning>

<Note>
  The conversation's credits are charged when the session **closes**, not when the action runs.
</Note>

<Card title="Salesflow action reference" icon="list-check" href="/en/salesflow/actions">
  Every action a sequence can run.
</Card>

## Salesflow entries and stage triggers

A pipeline can also **react** to SMS conversations. The input-node source **SMS Chat** enters a
contact:

* **on start** — any new session, inbound or outbound;
* **on resolved** — when a session closes.

Both modes take a **Filter by Agent** (which SMS agents count) and optional **Keyword Filters**,
combined with **All filters (AND)** or **Any filter (OR)**.

The **SMS Chat Completed** stage trigger fires when a session closes.

<Frame caption="An SMS Chat entry: on resolved, filtered to one agent">
  <img src="https://mintcdn.com/dialtu-0be120d3/GIBR8K1e58Uj8RP_/images/en/sms-agents/salesflow-sms-input-node.png?fit=max&auto=format&n=GIBR8K1e58Uj8RP_&q=85&s=4d34b73f0bbc0df54f487e7a54341ccf" alt="Configure Input Node panel with SMS Chat Conditions: Trigger mode set to On conversation resolved, Match Mode All filters (AND), Filter by Agent with Order support selected, and a Keyword Filters field" width="480" height="520" data-path="images/en/sms-agents/salesflow-sms-input-node.png" />
</Frame>

<Card title="Input nodes" icon="right-to-bracket" href="/en/salesflow/input-nodes">
  How contacts enter a pipeline.
</Card>

## What doesn't exist

* **A bulk or campaign send screen** for Lumina — use a pipeline.
* **A retry setting** on the action.
* **Starting a chat from the client page** — it's done from Conversations.

## Next step

<Card title="Compliance and opt-outs" icon="shield-check" href="/en/sms-agents/compliance">
  Before you text anyone: opt-outs and registration.
</Card>
