Templates
SMS templates with personalisation
At a glance
- Reusable message templates
- Variables: {{name}}, {{mobile}}, {{company}}, {{order_id}}
- Any CSV column as a variable
- Preview with length and part count
Why use templates
- Consistency: every customer receives the same carefully worded message.
- Speed: staff choose a template instead of typing from scratch.
- Fewer mistakes: no wrong phone numbers, prices or spelling in a rushed message.
- Cost control: you check the length and part count once, when you write the template.
Variables that fill themselves in
Variables are placeholders written in double curly braces. When the message is sent, each placeholder is replaced with the value for that recipient.
- {{name}} — the contact’s name
- {{mobile}} — the contact’s mobile number
- {{company}} — the contact’s company
- {{order_id}} — an order or reference number
- Any column from your uploaded CSV, such as {{due_amount}} or {{class}}
Example
Template: “Hi {{name}}, your order #{{order_id}} has been shipped. Thank you for shopping with us.” For a customer named Nusrat with order 1042, the message becomes “Hi Nusrat, your order #1042 has been shipped. Thank you for shopping with us.”
Over the API you can pass your own variables per recipient when you create a bulk campaign — for example a discount code for each customer.
Plan for message length
Because variables are replaced with real values, the final message can be longer than the template. A long name, a long address or a value written in Bangla can push a message into an extra part, or switch it from GSM-7 to Unicode. The preview shows the length and part count, and each recipient is billed for the parts their own message uses.
Tip: write the template with realistic long values in mind, and keep the fixed text short. If you write in Bangla, remember that a single Unicode SMS holds 70 characters and each part of a longer message holds 67.
Templates in Bangla and English
You can keep templates in both languages — for example “প্রিয় {{name}}, আপনার অর্ডার #{{order_id}} পাঠানো হয়েছে।” alongside an English version — and choose the one that suits each audience.
Use cases
How businesses use it
Order updates
Confirmed, shipped and delivered messages with the order number filled in.Payment reminders
Use a {{due_amount}} column from your CSV for each customer’s balance.Appointments
Reminders with the patient’s name, date and time.Admissions and results
Personal notices for students and guardians.
FAQ
Frequently asked questions
Which variables can I use?
Built-in variables are {{name}}, {{mobile}}, {{company}} and {{order_id}}. When you send from a CSV file, any column in the file can also be used as a variable, for example {{due_amount}}.
Does a variable change the cost of a message?
It can. The cost depends on the final message after variables are filled in. A longer value may need an extra SMS part, and a Bangla value makes the message Unicode, which holds fewer characters per part.
Can I use templates through the API?
The bulk SMS endpoint accepts a message with {{variable}} placeholders and per-recipient values, so your software can send personalised campaigns using the same approach.
Start sending with SMSGELY
Create an account, top up your prepaid wallet and send your first message from the dashboard or the API.