# Text Agents

Spara automates sales interactions over SMS, handling incoming text messages from leads and sending outgoing texts through Workflows.

<figure><img src="https://4072969777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FreCGkFdsmuPJzGP9ZgGA%2Fuploads%2Fgit-blob-47656467af3105dcc1d1e09ccf2c66b37a581759%2FText%20Agents.png?alt=media" alt=""><figcaption><p>The Text Agents page showing the active text agent configuration.</p></figcaption></figure>

* **Incoming replies** — Spara AI responds to incoming text messages from leads, answering questions and moving them through your sales funnel without rep involvement.
* **Automated outgoing texts** — Spara AI sends texts to leads as part of a Workflow. For example, after a lead submits a form, a Workflow can send an immediate text to prompt them to schedule a meeting.

Spara does not send cold or unsolicited outgoing texts outside of your Workflows.

## Configuration

### Agent setup

Text agents are configured through the [agent-editor](https://docs.spara.com/agents/agent-overview/agent-editor "mention") — the same interface used for Chat, Email, and Voice agents. Use the instructions field to define your agent's persona, tone, and how it should handle common scenarios like questions, objections, and handoffs to a rep.

### Phone number setup

Each text agent can be assigned an inbound phone number on the **Configuration** tab. This is the number the agent answers texts on and sends outgoing texts from. Phone numbers are provisioned through Twilio — contact your Spara account manager to enable texting and provision numbers for your organization.

{% hint style="warning" %}
**Twilio registration required.** Before your text agent can send or receive messages, your brand and messaging campaign must be registered and approved through Twilio's A2P 10DLC process. This industry-wide requirement verifies your business and ensures your messaging complies with carrier standards. Your Spara CSM handles the registration, but you'll need to provide a campaign description, links to your Terms of Service and Privacy Policy (with SMS opt-in language), and sample messages. See the [https://docs.spara.com/guides/onboarding-guides/text-agent-onboarding](https://docs.spara.com/guides/onboarding-guides/text-agent-onboarding "mention") for full details.
{% endhint %}

{% hint style="info" %}
Each phone number can only be assigned to one published text agent at a time. If you try to publish an agent with a number already in use, you'll see a conflict error.
{% endhint %}

## Outgoing texts with Workflows

The [send-text](https://docs.spara.com/agents/workflows/send-text "mention") step in Workflows lets you send personalized outgoing texts to leads as part of a broader automated sequence. Pair it with **Wait** and **Condition** steps to build multi-touch SMS follow-up flows.
