{"id":2989,"date":"2026-09-18T14:47:09","date_gmt":"2026-09-18T09:17:09","guid":{"rendered":"https:\/\/www.smsgatewaycenter.com\/blog\/?post_type=docs&#038;p=2989"},"modified":"2026-09-18T14:47:10","modified_gmt":"2026-09-18T09:17:10","password":"","slug":"how-do-i-use-variables-to-personalise-rcs-templates","status":"publish","type":"docs","link":"https:\/\/www.smsgatewaycenter.com\/blog\/kb\/how-do-i-use-variables-to-personalise-rcs-templates\/","title":{"rendered":"How do I use variables to personalise RCS templates?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Variables let one approved template carry different values for each recipient, such as a name, an OTP, an order number or an amount.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Adding variables to a template<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In the template form, place your cursor where the value should go.<\/li>\n\n\n\n<li>Click <strong>+ Add Var<\/strong> and pick a variable, for example <code>[name]<\/code>, <code>[otp]<\/code>, <code>[orderid]<\/code>, <code>[amount]<\/code>, <code>[date]<\/code> or <code>[tracking_id]<\/code>. You can also insert numbered custom fields such as <code>[custom_param_1]<\/code>, <code>[custom_param_2]<\/code>.<\/li>\n\n\n\n<li>Variables work in text messages, card titles, card descriptions, suggestion text, postbacks and URLs.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Filling variables when sending<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Quick and Group send:<\/strong> after you select the template, the Send RCS screen shows one input per variable (Variable 1, Variable 2 and so on). Enter the values and check the live preview.<\/li>\n\n\n\n<li><strong>Custom file upload:<\/strong> for each variable, choose the column in your uploaded file that holds its value, so every recipient gets their own values.<\/li>\n\n\n\n<li><strong>API:<\/strong> pass the values as <code>customParams<\/code>. See <em>Can I send RCS messages through the API?<\/em><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Tip:<\/strong> keep variable values short and within the field&#8217;s character limits. A long value can make the message fail validation.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Variables let one approved template carry different values for each recipient, such as a name, an OTP, an order number or an amount. Adding variables to a template Filling variables when sending Tip: keep variable values short and within the field&#8217;s character limits. A long value can make the message fail validation.<\/p>\n","protected":false},"author":118,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[2260],"doc_tag":[],"class_list":["post-2989","docs","type-docs","status-publish","hentry","doc_category-rcs-templates"],"year_month":"2026-09","word_count":178,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"admin","author_nicename":"admin","author_url":"https:\/\/www.smsgatewaycenter.com\/blog\/author\/admin\/"},"doc_category_info":[{"term_name":"Templates","term_url":"https:\/\/www.smsgatewaycenter.com\/blog\/kb-cat\/rcs-templates\/"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/docs\/2989","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/users\/118"}],"replies":[{"embeddable":true,"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/comments?post=2989"}],"version-history":[{"count":0,"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/docs\/2989\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/media?parent=2989"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/doc_category?post=2989"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/doc_tag?post=2989"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}