{"id":2482,"date":"2026-06-29T20:56:33","date_gmt":"2026-06-29T15:26:33","guid":{"rendered":"https:\/\/www.smsgatewaycenter.com\/blog\/?post_type=docs&#038;p=2482"},"modified":"2026-06-29T20:56:34","modified_gmt":"2026-06-29T15:26:34","password":"","slug":"how-do-i-map-an-otp-from-sms-to-whatsapp-in-fallback","status":"publish","type":"docs","link":"https:\/\/www.smsgatewaycenter.com\/blog\/kb\/how-do-i-map-an-otp-from-sms-to-whatsapp-in-fallback\/","title":{"rendered":"How do I map an OTP from SMS to WhatsApp in Fallback?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Put SMS first in your sequence, select SMS and WhatsApp templates that both carry the OTP, then in Variable mapping link WhatsApp&nbsp;<code>{{1}}<\/code>&nbsp;(or the correct placeholder) to the SMS source variable that holds the OTP.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Example setup<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Sequence:<\/strong>&nbsp;SMS \u2192 WhatsApp<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>SMS template (source):<\/strong>&nbsp;\u201cYour OTP is {#var#}. Valid 5 min.\u201d<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>WhatsApp template:<\/strong>&nbsp;\u201cYour verification code is {{1}}.\u201d<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Steps<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Create fallback flow with SMS and WhatsApp checked.<\/li>\n\n\n\n<li>Drag SMS to the top (source position).<\/li>\n\n\n\n<li>Select both templates.<\/li>\n\n\n\n<li>Scroll to\u00a0<strong>Variable mapping<\/strong>.<\/li>\n\n\n\n<li>For WhatsApp\u00a0<code>{{1}}<\/code>, choose\u00a0<strong>From source variable<\/strong>.<\/li>\n\n\n\n<li>Select the SMS variable that carries the OTP from the dropdown.<\/li>\n\n\n\n<li>Save the flow.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Test after save<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Send a test OTP using this fallback mapping.<\/li>\n\n\n\n<li>Open\u00a0<strong>Fallback \u2192 Delivery Reports<\/strong>\u00a0and search the mobile number.<\/li>\n\n\n\n<li>Confirm SMS was tried first and WhatsApp received the same OTP if SMS failed.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Put SMS first in your sequence, select SMS and WhatsApp templates that both carry the OTP, then in Variable mapping link WhatsApp&nbsp;{{1}}&nbsp;(or the correct placeholder) to the SMS source variable that holds the OTP. Example setup Sequence:&nbsp;SMS \u2192 WhatsApp SMS template (source):&nbsp;\u201cYour OTP is {#var#}. Valid 5 min.\u201d WhatsApp template:&nbsp;\u201cYour verification code is {{1}}.\u201d Steps [&hellip;]<\/p>\n","protected":false},"author":118,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[1979],"doc_tag":[],"class_list":["post-2482","docs","type-docs","status-publish","hentry","doc_category-multi-channel-fallback"],"year_month":"2026-06","word_count":137,"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":"Multi-Channel Fallback","term_url":"https:\/\/www.smsgatewaycenter.com\/blog\/kb-cat\/multi-channel-fallback\/"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/docs\/2482","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=2482"}],"version-history":[{"count":0,"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/docs\/2482\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/media?parent=2482"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/doc_category?post=2482"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/doc_tag?post=2482"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}