{"id":896,"date":"2025-10-11T00:23:55","date_gmt":"2025-10-11T00:23:55","guid":{"rendered":"https:\/\/smppcenter.com\/kb\/?p=896"},"modified":"2025-10-11T00:23:56","modified_gmt":"2025-10-11T00:23:56","slug":"what-are-the-available-email-template-placeholders","status":"publish","type":"post","link":"https:\/\/smppcenter.com\/kb\/what-are-the-available-email-template-placeholders\/","title":{"rendered":"What Are the Available Email Template Placeholders?"},"content":{"rendered":"\n<p>Placeholders (also called merge tags or variables) allow you to personalize each email automatically. The system replaces placeholders with actual user data when sending emails.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Universal Placeholders (All Automation Types):<\/strong><\/h4>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Placeholder<\/th><th>Description<\/th><th>Example Output<\/th><\/tr><\/thead><tbody><tr><td><code>{{USERNAME}}<\/code><\/td><td>User&#8217;s login username<\/td><td>john_doe<\/td><\/tr><tr><td><code>{{FIRSTNAME}}<\/code><\/td><td>User&#8217;s first name<\/td><td>John<\/td><\/tr><tr><td><code>{{LASTNAME}}<\/code><\/td><td>User&#8217;s last name<\/td><td>Doe<\/td><\/tr><tr><td><code>{{EMAIL}}<\/code><\/td><td>User&#8217;s email address<\/td><td>john@example.com<\/td><\/tr><tr><td><code>{{BALANCE}}<\/code><\/td><td>User&#8217;s current balance<\/td><td>1,234.50<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Note on {{BALANCE}}:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Automatically detects user&#8217;s credit type (SMS Credits or Wallet)<\/li>\n\n\n\n<li>Shows SMS Balance for credit-based users<\/li>\n\n\n\n<li>Shows Wallet Balance for wallet-based users<\/li>\n\n\n\n<li>No need to use separate placeholders<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Inactive User Automation Placeholders:<\/strong><\/h4>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Placeholder<\/th><th>Description<\/th><th>Example Output<\/th><\/tr><\/thead><tbody><tr><td><code>{{LASTMESSAGEDATE}}<\/code><\/td><td>Date of user&#8217;s last message<\/td><td>2024-08-15<\/td><\/tr><tr><td><code>{{INACTIVEDAYS}}<\/code><\/td><td>Days since last message<\/td><td>45<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>New User Automation Placeholders:<\/strong><\/h4>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Placeholder<\/th><th>Description<\/th><th>Example Output<\/th><\/tr><\/thead><tbody><tr><td><code>{{REGISTRATIONDATE}}<\/code><\/td><td>User&#8217;s signup date<\/td><td>2024-10-01<\/td><\/tr><tr><td><code>{{DAYSSINCEREGISTRATION}}<\/code><\/td><td>Days since signup<\/td><td>10<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>How to Use Placeholders:<\/strong><\/h4>\n\n\n\n<p><strong>In Email Subjects:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>We Miss You, {{FIRSTNAME}}! \ud83d\udc4b\nYour {{BALANCE}} Credits Are Waiting, {{USERNAME}}<\/code><\/pre>\n\n\n\n<p><strong>In Email Content:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;p&gt;Hi &lt;strong&gt;{{FIRSTNAME}}&lt;\/strong&gt;,&lt;\/p&gt;\n\n&lt;p&gt;We noticed you haven't sent any messages in the last \n&lt;strong&gt;{{INACTIVEDAYS}} days&lt;\/strong&gt;. Your last message was on \n&lt;strong&gt;{{LASTMESSAGEDATE}}&lt;\/strong&gt;.&lt;\/p&gt;\n\n&lt;p&gt;You still have &lt;strong&gt;{{BALANCE}}&lt;\/strong&gt; credits available!&lt;\/p&gt;<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Placeholder Best Practices:<\/strong><\/h4>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Always Use Fallbacks:<\/strong> Ensure your message still makes sense if a placeholder is empty<\/li>\n\n\n\n<li><strong>Test Thoroughly:<\/strong> Send test emails to verify placeholder replacements<\/li>\n\n\n\n<li><strong>Be Personal But Professional:<\/strong> Use first names for friendly tone<\/li>\n\n\n\n<li><strong>Highlight Value:<\/strong> Use balance placeholders to remind users of unused credits<\/li>\n\n\n\n<li><strong>Create Urgency:<\/strong> Use inactive days to create time-based urgency<\/li>\n<\/ol>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>HTML Formatting:<\/strong><\/h4>\n\n\n\n<p>Placeholders work with HTML formatting:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;p&gt;Dear &lt;span style=\"color: #007bff;\"&gt;{{FIRSTNAME}}&lt;\/span&gt;,&lt;\/p&gt;\n&lt;p&gt;Your balance: &lt;strong class=\"highlight\"&gt;{{BALANCE}}&lt;\/strong&gt; credits&lt;\/p&gt;<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Placeholders (also called merge tags or variables) allow you to personalize each email automatically. The system replaces placeholders with actual user data when sending emails. Universal Placeholders (All Automation Types): Placeholder Description Example Output {{USERNAME}} User&#8217;s login username john_doe {{FIRSTNAME}} User&#8217;s first name John {{LASTNAME}} User&#8217;s last name Doe {{EMAIL}} User&#8217;s email address john@example.com {{BALANCE}} [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[301],"tags":[],"class_list":["post-896","post","type-post","status-publish","format-standard","hentry","category-automation"],"_links":{"self":[{"href":"https:\/\/smppcenter.com\/kb\/wp-json\/wp\/v2\/posts\/896","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/smppcenter.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/smppcenter.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/smppcenter.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/smppcenter.com\/kb\/wp-json\/wp\/v2\/comments?post=896"}],"version-history":[{"count":0,"href":"https:\/\/smppcenter.com\/kb\/wp-json\/wp\/v2\/posts\/896\/revisions"}],"wp:attachment":[{"href":"https:\/\/smppcenter.com\/kb\/wp-json\/wp\/v2\/media?parent=896"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/smppcenter.com\/kb\/wp-json\/wp\/v2\/categories?post=896"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/smppcenter.com\/kb\/wp-json\/wp\/v2\/tags?post=896"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}