{"id":2359,"date":"2022-12-12T15:54:54","date_gmt":"2022-12-12T15:54:54","guid":{"rendered":"https:\/\/support.spoki.com\/docs\/uncategorized\/how-to-create-template-button-response-automation\/"},"modified":"2023-11-10T11:25:31","modified_gmt":"2023-11-10T11:25:31","password":"","slug":"how-to-create-template-button-response-automation","status":"publish","type":"docs","link":"https:\/\/support.spoki.com\/en\/docs\/how-to-en\/how-to-create-template-button-response-automation\/","title":{"rendered":"How to create template button response automation"},"content":{"rendered":"\n<p>With Spoki it is possible to send messages with text response buttons, which provide for sending a different response message based on the click on each button.<\/p>\n\n\n\n<p>A template with &#8220;Text Response&#8221; type buttons should be requested:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"507\" src=\"https:\/\/support.spoki.com\/wp-content\/uploads\/2022\/12\/Schermata-2022-12-12-alle-12.50.35-1024x507.png\" alt=\"\" class=\"wp-image-464\" srcset=\"https:\/\/support.spoki.com\/wp-content\/uploads\/2022\/12\/Schermata-2022-12-12-alle-12.50.35-1024x507.png 1024w, https:\/\/support.spoki.com\/wp-content\/uploads\/2022\/12\/Schermata-2022-12-12-alle-12.50.35-300x148.png 300w, https:\/\/support.spoki.com\/wp-content\/uploads\/2022\/12\/Schermata-2022-12-12-alle-12.50.35-768x380.png 768w, https:\/\/support.spoki.com\/wp-content\/uploads\/2022\/12\/Schermata-2022-12-12-alle-12.50.35.png 1530w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Next you will need to create an automation in which to insert the template with the buttons and another automation for each button in the template.<\/p>\n\n\n\n<p>The only automation to be started will be the main one with the buttons, the others will start automatically only if the customer clicks on the text response buttons.<\/p>\n\n\n\n<p>Below is an example of setting up <a href=\"https:\/\/support.spoki.com\/en\/docs\/platform\/automations\/\" target=\"_blank\" rel=\"noreferrer noopener\">automation<\/a> with the template with buttons. The trigger\/step can be whatever you prefer or even automation can be initiated by a campaign.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"803\" height=\"822\" src=\"https:\/\/support.spoki.com\/wp-content\/uploads\/2022\/12\/Schermata-2022-12-12-alle-11.48.43-1.png\" alt=\"\" class=\"wp-image-466\" srcset=\"https:\/\/support.spoki.com\/wp-content\/uploads\/2022\/12\/Schermata-2022-12-12-alle-11.48.43-1.png 803w, https:\/\/support.spoki.com\/wp-content\/uploads\/2022\/12\/Schermata-2022-12-12-alle-11.48.43-1-293x300.png 293w, https:\/\/support.spoki.com\/wp-content\/uploads\/2022\/12\/Schermata-2022-12-12-alle-11.48.43-1-768x786.png 768w\" sizes=\"(max-width: 803px) 100vw, 803px\" \/><\/figure>\n\n\n\n<p>By clicking on the inscription in the lower right corner under each button in the <a href=\"https:\/\/support.spoki.com\/en\/docs\/platform\/template-messages\/\" target=\"_blank\" rel=\"noreferrer noopener\">template<\/a>, it will be possible to create the automation linked to that specific button, which will have as its trigger a message received from the client that exactly matches the phrase written on the button.  <\/p>\n\n\n\n<p>Warning. It is suggested that you do not include simple answers (e.g., yes, no) in the template buttons since the automation will provide for sending the message you set up, whenever any customer types in that word\/phrase regardless of whether or not it is related to the original automation.<\/p>\n\n\n\n<p>We recommend always using tags within automations to be able to easily track clicks made by customers and be able to extract statistics by doing CSV extractions from contacts (see <a href=\"https:\/\/support.spoki.com\/en\/docs\/platform\/contact\/#export\" target=\"_blank\" rel=\"noreferrer noopener\">Contacts<\/a>).<\/p>\n\n\n\n<p>Below are the two automations linked to the two buttons in the template:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"918\" height=\"701\" src=\"https:\/\/support.spoki.com\/wp-content\/uploads\/2022\/12\/Schermata-2022-12-12-alle-14.22.44.png\" alt=\"\" class=\"wp-image-468\" srcset=\"https:\/\/support.spoki.com\/wp-content\/uploads\/2022\/12\/Schermata-2022-12-12-alle-14.22.44.png 918w, https:\/\/support.spoki.com\/wp-content\/uploads\/2022\/12\/Schermata-2022-12-12-alle-14.22.44-300x229.png 300w, https:\/\/support.spoki.com\/wp-content\/uploads\/2022\/12\/Schermata-2022-12-12-alle-14.22.44-768x586.png 768w\" sizes=\"(max-width: 918px) 100vw, 918px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"910\" height=\"689\" src=\"https:\/\/support.spoki.com\/wp-content\/uploads\/2022\/12\/Schermata-2022-12-12-alle-14.23.03.png\" alt=\"\" class=\"wp-image-469\" srcset=\"https:\/\/support.spoki.com\/wp-content\/uploads\/2022\/12\/Schermata-2022-12-12-alle-14.23.03.png 910w, https:\/\/support.spoki.com\/wp-content\/uploads\/2022\/12\/Schermata-2022-12-12-alle-14.23.03-300x227.png 300w, https:\/\/support.spoki.com\/wp-content\/uploads\/2022\/12\/Schermata-2022-12-12-alle-14.23.03-768x581.png 768w\" sizes=\"(max-width: 910px) 100vw, 910px\" \/><\/figure>\n\n\n\n<p>Summing up then, a template with two buttons will correspond to three automations: one for each button and one (the main one) with the template.<\/p>\n\n\n\n<p>At the following link an example video: <a href=\"https:\/\/www.youtube.com\/watch?v=SIQRKNO_0q8\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.youtube.com\/watch?v=SIQRKNO_0q8<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Related articles<\/h2>\n\n\n\n<p><a href=\"https:\/\/support.spoki.com\/en\/docs\/whatsapp-rules\/rules-to-avoid-ban-from-whatsapp\/\" target=\"_blank\" rel=\"noreferrer noopener\">Rules to avoid ban from WhatsApp<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/support.spoki.com\/en\/docs\/how-to-en\/how-to-link-a-chat-button-on-the-site-to-an-automated-response\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to link a chat button on the site to an automated response<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/support.spoki.com\/en\/docs\/integrations\/integrate-whatsapp-with-google-sheets\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to integrate WhatsApp with google sheets<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>With Spoki it is possible to send messages with text response buttons, which provide for sending a different response message [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[45],"doc_tag":[],"class_list":["post-2359","docs","type-docs","status-publish","hentry","doc_category-how-to-en"],"year_month":"2026-04","word_count":335,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"Emanuela Locorotondo","author_nicename":"emanuelalocorotondo","author_url":"https:\/\/support.spoki.com\/en\/author\/emanuelalocorotondo\/"},"doc_category_info":[{"term_name":"How to","term_url":"https:\/\/support.spoki.com\/en\/docs-category\/how-to-en\/"}],"doc_tag_info":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to create template button response automation - Supporto Spoki<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/support.spoki.com\/en\/docs\/how-to-en\/how-to-create-template-button-response-automation\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to create template button response automation - Supporto Spoki\" \/>\n<meta property=\"og:description\" content=\"With Spoki it is possible to send messages with text response buttons, which provide for sending a different response message [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/support.spoki.com\/en\/docs\/how-to-en\/how-to-create-template-button-response-automation\/\" \/>\n<meta property=\"og:site_name\" content=\"Supporto Spoki\" \/>\n<meta property=\"article:modified_time\" content=\"2023-11-10T11:25:31+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/support.spoki.com\/wp-content\/uploads\/2022\/12\/Schermata-2022-12-12-alle-12.50.35-1024x507.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/support.spoki.com\/en\/docs\/how-to-en\/how-to-create-template-button-response-automation\/\",\"url\":\"https:\/\/support.spoki.com\/en\/docs\/how-to-en\/how-to-create-template-button-response-automation\/\",\"name\":\"How to create template button response automation - Supporto Spoki\",\"isPartOf\":{\"@id\":\"https:\/\/support.spoki.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/support.spoki.com\/en\/docs\/how-to-en\/how-to-create-template-button-response-automation\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/support.spoki.com\/en\/docs\/how-to-en\/how-to-create-template-button-response-automation\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/support.spoki.com\/wp-content\/uploads\/2022\/12\/Schermata-2022-12-12-alle-12.50.35-1024x507.png\",\"datePublished\":\"2022-12-12T15:54:54+00:00\",\"dateModified\":\"2023-11-10T11:25:31+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/support.spoki.com\/en\/docs\/how-to-en\/how-to-create-template-button-response-automation\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/support.spoki.com\/en\/docs\/how-to-en\/how-to-create-template-button-response-automation\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/support.spoki.com\/en\/docs\/how-to-en\/how-to-create-template-button-response-automation\/#primaryimage\",\"url\":\"https:\/\/support.spoki.com\/wp-content\/uploads\/2022\/12\/Schermata-2022-12-12-alle-12.50.35-1024x507.png\",\"contentUrl\":\"https:\/\/support.spoki.com\/wp-content\/uploads\/2022\/12\/Schermata-2022-12-12-alle-12.50.35-1024x507.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/support.spoki.com\/en\/docs\/how-to-en\/how-to-create-template-button-response-automation\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/support.spoki.com\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Docs\",\"item\":\"https:\/\/support.spoki.com\/docs\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to create template button response automation\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/support.spoki.com\/#website\",\"url\":\"https:\/\/support.spoki.com\/\",\"name\":\"Supporto Spoki\",\"description\":\"Documentation for Spoki use\",\"publisher\":{\"@id\":\"https:\/\/support.spoki.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/support.spoki.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/support.spoki.com\/#organization\",\"name\":\"Supporto Spoki\",\"url\":\"https:\/\/support.spoki.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/support.spoki.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/support.spoki.com\/wp-content\/uploads\/2022\/11\/Logo_Spoki-Primary_Black-01-scaled.jpg\",\"contentUrl\":\"https:\/\/support.spoki.com\/wp-content\/uploads\/2022\/11\/Logo_Spoki-Primary_Black-01-scaled.jpg\",\"width\":2560,\"height\":761,\"caption\":\"Supporto Spoki\"},\"image\":{\"@id\":\"https:\/\/support.spoki.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/spokiapp\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to create template button response automation - Supporto Spoki","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/support.spoki.com\/en\/docs\/how-to-en\/how-to-create-template-button-response-automation\/","og_locale":"en_US","og_type":"article","og_title":"How to create template button response automation - Supporto Spoki","og_description":"With Spoki it is possible to send messages with text response buttons, which provide for sending a different response message [&hellip;]","og_url":"https:\/\/support.spoki.com\/en\/docs\/how-to-en\/how-to-create-template-button-response-automation\/","og_site_name":"Supporto Spoki","article_modified_time":"2023-11-10T11:25:31+00:00","og_image":[{"url":"https:\/\/support.spoki.com\/wp-content\/uploads\/2022\/12\/Schermata-2022-12-12-alle-12.50.35-1024x507.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/support.spoki.com\/en\/docs\/how-to-en\/how-to-create-template-button-response-automation\/","url":"https:\/\/support.spoki.com\/en\/docs\/how-to-en\/how-to-create-template-button-response-automation\/","name":"How to create template button response automation - Supporto Spoki","isPartOf":{"@id":"https:\/\/support.spoki.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/support.spoki.com\/en\/docs\/how-to-en\/how-to-create-template-button-response-automation\/#primaryimage"},"image":{"@id":"https:\/\/support.spoki.com\/en\/docs\/how-to-en\/how-to-create-template-button-response-automation\/#primaryimage"},"thumbnailUrl":"https:\/\/support.spoki.com\/wp-content\/uploads\/2022\/12\/Schermata-2022-12-12-alle-12.50.35-1024x507.png","datePublished":"2022-12-12T15:54:54+00:00","dateModified":"2023-11-10T11:25:31+00:00","breadcrumb":{"@id":"https:\/\/support.spoki.com\/en\/docs\/how-to-en\/how-to-create-template-button-response-automation\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/support.spoki.com\/en\/docs\/how-to-en\/how-to-create-template-button-response-automation\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/support.spoki.com\/en\/docs\/how-to-en\/how-to-create-template-button-response-automation\/#primaryimage","url":"https:\/\/support.spoki.com\/wp-content\/uploads\/2022\/12\/Schermata-2022-12-12-alle-12.50.35-1024x507.png","contentUrl":"https:\/\/support.spoki.com\/wp-content\/uploads\/2022\/12\/Schermata-2022-12-12-alle-12.50.35-1024x507.png"},{"@type":"BreadcrumbList","@id":"https:\/\/support.spoki.com\/en\/docs\/how-to-en\/how-to-create-template-button-response-automation\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/support.spoki.com\/en\/"},{"@type":"ListItem","position":2,"name":"Docs","item":"https:\/\/support.spoki.com\/docs\/"},{"@type":"ListItem","position":3,"name":"How to create template button response automation"}]},{"@type":"WebSite","@id":"https:\/\/support.spoki.com\/#website","url":"https:\/\/support.spoki.com\/","name":"Supporto Spoki","description":"Documentation for Spoki use","publisher":{"@id":"https:\/\/support.spoki.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/support.spoki.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/support.spoki.com\/#organization","name":"Supporto Spoki","url":"https:\/\/support.spoki.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/support.spoki.com\/#\/schema\/logo\/image\/","url":"https:\/\/support.spoki.com\/wp-content\/uploads\/2022\/11\/Logo_Spoki-Primary_Black-01-scaled.jpg","contentUrl":"https:\/\/support.spoki.com\/wp-content\/uploads\/2022\/11\/Logo_Spoki-Primary_Black-01-scaled.jpg","width":2560,"height":761,"caption":"Supporto Spoki"},"image":{"@id":"https:\/\/support.spoki.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.linkedin.com\/company\/spokiapp\/"]}]}},"_links":{"self":[{"href":"https:\/\/support.spoki.com\/en\/wp-json\/wp\/v2\/docs\/2359","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/support.spoki.com\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/support.spoki.com\/en\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/support.spoki.com\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/support.spoki.com\/en\/wp-json\/wp\/v2\/comments?post=2359"}],"version-history":[{"count":2,"href":"https:\/\/support.spoki.com\/en\/wp-json\/wp\/v2\/docs\/2359\/revisions"}],"predecessor-version":[{"id":2608,"href":"https:\/\/support.spoki.com\/en\/wp-json\/wp\/v2\/docs\/2359\/revisions\/2608"}],"wp:attachment":[{"href":"https:\/\/support.spoki.com\/en\/wp-json\/wp\/v2\/media?parent=2359"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/support.spoki.com\/en\/wp-json\/wp\/v2\/doc_category?post=2359"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/support.spoki.com\/en\/wp-json\/wp\/v2\/doc_tag?post=2359"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}