{"id":1707,"date":"2025-05-14T19:29:06","date_gmt":"2025-05-14T13:59:06","guid":{"rendered":"https:\/\/www.smsgatewaycenter.com\/blog\/?post_type=docs&#038;p=1707"},"modified":"2025-05-14T19:29:07","modified_gmt":"2025-05-14T13:59:07","password":"","slug":"trigger-whatsapp-chatbot-with-template-smsgatewaycenter","status":"publish","type":"docs","link":"https:\/\/www.smsgatewaycenter.com\/blog\/kb\/trigger-whatsapp-chatbot-with-template-smsgatewaycenter\/","title":{"rendered":"How do I use a WhatsApp template message to trigger a chatbot on SMSGatewayCenter, and what are the steps involved?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>Triggering a chatbot with a WhatsApp template message<\/strong> allows you to automate customer interactions, providing instant responses to user actions. <strong>SMSGatewayCenter<\/strong> makes it easy to set up this automation using template messages with interactive elements like buttons. Here\u2019s a step-by-step guide to help you get started.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why Trigger a Chatbot with a Template Message?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A <strong>WhatsApp template message<\/strong> can initiate a conversation outside the 24-hour Customer Care Window, and by adding interactive buttons, you can trigger a chatbot to respond automatically when a customer interacts with the message. This is ideal for automating responses to FAQs, guiding users through a process, or providing instant support.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Prerequisites<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A pre-approved WhatsApp template message with interactive buttons.<\/li>\n\n\n\n<li>A configured chatbot in SMSGatewayCenter with defined keywords and responses.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Steps to Trigger a Chatbot with a Template Message on SMSGatewayCenter<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Create a Template Message with Interactive Buttons<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Access the Template Messages Section<\/strong>:\n<ul class=\"wp-block-list\">\n<li>Log in to your SMSGatewayCenter account.<\/li>\n\n\n\n<li>Navigate to the WhatsApp Business API section, then go to the <em>Template Messages<\/em> tab.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Add a New Template<\/strong>:\n<ul class=\"wp-block-list\">\n<li>Click <em>Add New Template<\/em>.<\/li>\n\n\n\n<li>Select the <em>Marketing<\/em> or <em>Utility<\/em> category, depending on your use case.<\/li>\n\n\n\n<li>Choose the template type as <em>Interactive &#8211; Message with Buttons<\/em>.<\/li>\n\n\n\n<li>Fill in the details:<\/li>\n\n\n\n<li><em>Template Name<\/em>: Use a descriptive name (e.g., \u201cchatbot_trigger_may2025\u201d).<\/li>\n\n\n\n<li><em>Language<\/em>: Select the language (e.g., English).<\/li>\n\n\n\n<li><em>Message Body<\/em>: Write the message (e.g., \u201cHi {{1}}, need help? Choose an option below!\u201d).<\/li>\n\n\n\n<li><em>Buttons<\/em>: Add up to 3 quick reply buttons:\n<ul class=\"wp-block-list\">\n<li><em>Button Text<\/em>: Label the button (e.g., \u201cTalk to Bot,\u201d up to 20 characters).<\/li>\n\n\n\n<li><em>Postback ID<\/em>: Assign a unique keyword (e.g., \u201cstart_bot\u201d) that the chatbot will recognize.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Submit the template for WhatsApp approval. Approval typically takes 24-48 hours.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.smsgatewaycenter.com\/blog\/wp-content\/uploads\/2025\/05\/auto-response-template.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"360\" src=\"https:\/\/www.smsgatewaycenter.com\/blog\/wp-content\/uploads\/2025\/05\/auto-response-template-1024x360.webp\" alt=\"auto response template\" class=\"wp-image-1709\" srcset=\"https:\/\/www.smsgatewaycenter.com\/blog\/wp-content\/uploads\/2025\/05\/auto-response-template-1024x360.webp 1024w, https:\/\/www.smsgatewaycenter.com\/blog\/wp-content\/uploads\/2025\/05\/auto-response-template-300x106.webp 300w, https:\/\/www.smsgatewaycenter.com\/blog\/wp-content\/uploads\/2025\/05\/auto-response-template-768x270.webp 768w, https:\/\/www.smsgatewaycenter.com\/blog\/wp-content\/uploads\/2025\/05\/auto-response-template-1536x540.webp 1536w, https:\/\/www.smsgatewaycenter.com\/blog\/wp-content\/uploads\/2025\/05\/auto-response-template.webp 1888w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Set Up the Chatbot in SMSGatewayCenter<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Access the Chatbot Settings<\/strong>:\n<ul class=\"wp-block-list\">\n<li>Navigate to the <em>Auto Response<\/em> section in your dashboard, then go to the Auto Response configuration area.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Configure the Chatbot<\/strong>:\n<ul class=\"wp-block-list\">\n<li>Add a keyword that matches the button\u2019s Postback ID (e.g., \u201cstart_bot\u201d).<\/li>\n\n\n\n<li>Define the chatbot\u2019s response for this keyword (e.g., \u201cHello! How can I assist you today?\u201d).<\/li>\n\n\n\n<li>Optionally, set up a sequence of messages or additional keywords for further automation (e.g., \u201ctrack_order\u201d to provide order status).<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Save the chatbot settings.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.smsgatewaycenter.com\/blog\/wp-content\/uploads\/2025\/05\/auto-response-chatbot.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"798\" src=\"https:\/\/www.smsgatewaycenter.com\/blog\/wp-content\/uploads\/2025\/05\/auto-response-chatbot-1024x798.webp\" alt=\"auto response chatbot\" class=\"wp-image-1708\" srcset=\"https:\/\/www.smsgatewaycenter.com\/blog\/wp-content\/uploads\/2025\/05\/auto-response-chatbot-1024x798.webp 1024w, https:\/\/www.smsgatewaycenter.com\/blog\/wp-content\/uploads\/2025\/05\/auto-response-chatbot-300x234.webp 300w, https:\/\/www.smsgatewaycenter.com\/blog\/wp-content\/uploads\/2025\/05\/auto-response-chatbot-768x598.webp 768w, https:\/\/www.smsgatewaycenter.com\/blog\/wp-content\/uploads\/2025\/05\/auto-response-chatbot-1536x1197.webp 1536w, https:\/\/www.smsgatewaycenter.com\/blog\/wp-content\/uploads\/2025\/05\/auto-response-chatbot.webp 1684w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Send the Template Message<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Once the template is approved, go to the <em>Compose<\/em> section in your dashboard.<\/li>\n\n\n\n<li>Select the approved template with interactive buttons.<\/li>\n\n\n\n<li>Replace any dynamic variables (e.g., {{1}} with the customer\u2019s name).<\/li>\n\n\n\n<li>Choose your recipients (e.g., upload a contact list or target a segment).<\/li>\n\n\n\n<li>Send the message.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Chatbot Trigger in Action<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>When a customer receives the template message and clicks a button (e.g., \u201cTalk to Bot\u201d), the Postback ID (e.g., \u201cstart_bot\u201d) is sent to SMSGatewayCenter.<\/li>\n\n\n\n<li>The chatbot recognizes the keyword and automatically responds with the preconfigured message (e.g., \u201cHello! How can I assist you today?\u201d).<\/li>\n\n\n\n<li>The chatbot can continue the conversation within the 24-hour Customer Care Window, providing automated replies based on user inputs.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Best Practices for Triggering a Chatbot<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Clear Button Labels<\/strong>: Use intuitive button text (e.g., \u201cGet Help,\u201d \u201cTrack Order\u201d) to encourage clicks.<\/li>\n\n\n\n<li><strong>Test the Flow<\/strong>: Use SMSGatewayCenter\u2019s <em>Test<\/em> feature to send the template to a test number and ensure the chatbot triggers correctly.<\/li>\n\n\n\n<li><strong>Obtain Opt-In<\/strong>: For Marketing templates, ensure customers have opted in to receive messages to comply with WhatsApp\u2019s policies.<\/li>\n\n\n\n<li><strong>Monitor Engagement<\/strong>: Track button clicks and chatbot interactions using SMSGatewayCenter\u2019s analytics to optimize your automation.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Why Use This Feature?<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Automate Support<\/strong>: Provide instant responses to customer queries, reducing agent workload.<\/li>\n\n\n\n<li><strong>Enhance Engagement<\/strong>: Interactive buttons encourage users to interact, opening the 24-hour window for session messaging.<\/li>\n\n\n\n<li><strong>Scalability<\/strong>: Handle large volumes of inquiries efficiently with automated chatbot responses.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Triggering a chatbot with a WhatsApp template message<\/strong> is a powerful way to streamline customer interactions. For further assistance with setting up templates or chatbots, contact our support team.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Triggering a chatbot with a WhatsApp template message allows you to automate customer interactions, providing instant responses to user actions. SMSGatewayCenter makes it easy to set up this automation using template messages with interactive elements like buttons. Here\u2019s a step-by-step guide to help you get started. Why Trigger a Chatbot with a Template Message? A [&hellip;]<\/p>\n","protected":false},"author":118,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[1383],"doc_tag":[],"class_list":["post-1707","docs","type-docs","status-publish","hentry","doc_category-template-messages"],"year_month":"2026-07","word_count":636,"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":"Template Messages","term_url":"https:\/\/www.smsgatewaycenter.com\/blog\/kb-cat\/template-messages\/"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/docs\/1707","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=1707"}],"version-history":[{"count":0,"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/docs\/1707\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/media?parent=1707"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/doc_category?post=1707"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/doc_tag?post=1707"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}