# How to Personalize SMS Messages

Source: https://callingly.com/help/article/99-how-to-personalize-sms-messages

Callingly can personalize automated texts, like the text steps in your sequences, using information about the lead, sender, or any custom fields you have defined. Texts you type and send on the SMS page go out exactly as typed. This makes it easy to add a personal touch to your SMS.

<div class="callout"><p>Hey <b>{{lead.first_name | default: "there"}}</b>! <b>{{from.company}}</b> here. We received your inquiry and we'll be calling your shortly from <b>{{from.sms_phone_number}}</b>. If you have any questions, feel free to reply. Reply STOP to opt out of messages. Msg &amp; data rates may apply.</p></div>

Which would result in the following message:

<div class="callout"><p>Hey <b>Dave</b>! <b>Dunder Mifflin</b> here. We received your inquiry and we'll be calling your shortly from <b>(123) 456-7890.</b> If you have any questions, feel free to reply. Reply STOP to opt out of messages. Msg &amp; data rates may apply.</p></div>

<h3 id="Available-Fields-pkHMd">Available Fields</h3>

<b>From</b>

<table class="hs-table"><tbody><tr><td><b>Name</b></td><td><b>Example</b></td></tr><tr><td>{{from.company}}</td><td>Dunder Mifflin</td></tr><tr><td>{{from.sms_phone_number}}</td><td>(123) 456-7890</td></tr><tr><td>{{from.caller_id_number}}</td><td>(123) 456-7890</td></tr></tbody></table>

<b>Lead</b>

<table class="hs-table"><tbody><tr><td><b>Name</b></td><td><b>Example</b></td></tr><tr><td>{{lead.first_name}}</td><td>John</td></tr><tr><td>{{lead.last_name}}</td><td>Smith</td></tr><tr><td>{{lead.phone_number}}</td><td>(123) 456-7890</td></tr><tr><td>{{lead.email}}</td><td>john.smith@gmail.com</td></tr><tr><td>{{lead.company}}</td><td>John's Company</td></tr><tr><td>{{lead.category}}</td><td>High Value Leads</td></tr><tr><td>{{lead.comments}}</td><td>Decision Maker</td></tr><tr><td>{{lead.source}}</td><td>Google PPC</td></tr><tr><td>{{lead.crm}}</td><td>Hubspot</td></tr><tr><td>{{lead.source_id}}</td><td>12345</td></tr></tbody></table>

<b>User</b>

The user on the call that triggered the text. These are blank for texts that don't follow a call.

<table class="hs-table"><tbody><tr><td><b>Name</b></td><td><b>Example</b></td></tr><tr><td>{{user.first_name}}</td><td>Michael</td></tr><tr><td>{{user.last_name}}</td><td>Scott</td></tr></tbody></table>

<b>Lead Owner</b>

<table class="hs-table"><tbody><tr><td><b>Name</b></td><td><b>Example</b></td></tr><tr><td>{{lead_owner.first_name}}</td><td>Dwight</td></tr><tr><td>{{lead_owner.last_name}}</td><td>Schrute</td></tr></tbody></table>

<b>Custom Fields</b>

Your own fields are filled in with <code>{{lead.</code><em>field</em><code>}}</code>. <a href="https://callingly.com/dashboard/settings/fields" target="_blank">Settings → Fields</a> lists the exact merge field for each one.

<table class="hs-table"><tbody><tr><td><b>Name</b></td><td><b>Example</b></td></tr><tr><td>{{lead.my_field_name}}</td><td>Custom Field Value 1</td></tr><tr><td>{{lead.example_zip_code}}</td><td>12345</td></tr></tbody></table>

<div class="callout-blue mb-2"><span class="material-icons">tips_and_updates</span><div><strong>Tip</strong>: In any message box that supports merge fields, type <code>{{</code> to pick a field from a list.</div></div>

<div class="callout-green mb-2"><span class="material-icons">info_outline</span><div><strong>Note</strong>: <code>{{from.caller_id_number}}</code> is the number Callingly calls the lead from, when one has been set for the lead. To fall back to other text when a field is empty, add <code>| default: "…"</code> as in the example above.</div></div>
