# How to Send an Automated SMS

Source: https://callingly.com/help/article/101-how-to-send-an-automated-sms

<div class="callout-blue mb-2"><span class="material-icons">tips_and_updates</span><div><strong>Tip</strong>: Automated texts can include the lead's details, your own fields and your company name. See <a href="https://callingly.com/help/article/99-how-to-personalize-sms-messages" target="_blank">How to Personalize SMS Messages</a>.</div></div>

Callingly can text a lead automatically, as soon as they come in or after a call that doesn't reach them. Most automatic texts are steps in a <a href="https://callingly.com/help/article/80-handling-retries-followups" target="_blank">sequence</a>.

<h2 id="right-away">Text A New Lead Right Away</h2>

<dl><dt>1.</dt><dd>Go to <a href="https://callingly.com/dashboard/sequences" target="_blank">Sequences</a> and edit the sequence the lead's team uses.</dd><dt>2.</dt><dd>Add an <strong>SMS</strong> step at the top of the <em>During Business Hours</em> branch, the <em>Outside Business Hours</em> branch, or both. Each branch can have its own message, for example to tell after-hours leads when you'll call.</dd><dt>3.</dt><dd>Write the message and save the sequence.</dd></dl>

To send the text before anything else happens, make sure no **Wait** step comes before it.

<h2 id="after-a-missed-call">Text A Lead After A Call That Doesn't Reach Them</h2>

Add an **SMS** step right after a call step. If the call reaches the lead, the sequence stops and the text isn't sent. If it doesn't, the lead moves on to the text.

<h2 id="replies">Replying To Texts Automatically</h2>

Your AI Agent replies to texts leads send to your numbers: the agent of the lead's team, or the number's team's agent if the lead's team has none of its own. When you reply to a lead yourself on the **SMS** page, the AI stops replying to that lead until you click **Hand back to AI**. See <a href="https://callingly.com/help/article/112-setting-up-your-ai-agent#where-its-used" target="_blank">Setting Up Your AI Agent</a>.

<h2 id="when-texts-go-out">When Automated Texts Go Out</h2>

Callingly only texts leads in the US and Canada between 8am and 9pm in the lead's local time. Leads who reply STOP aren't texted again.
