{"id":2307,"date":"2022-12-12T10:49:56","date_gmt":"2022-12-12T10:49:56","guid":{"rendered":"https:\/\/support.spoki.com\/docs\/uncategorized\/how-to-start-an-automation-with-api\/"},"modified":"2025-10-16T12:44:41","modified_gmt":"2025-10-16T12:44:41","password":"","slug":"how-to-start-an-automation-with-api","status":"publish","type":"docs","link":"https:\/\/support.spoki.com\/en\/docs\/how-to-en\/how-to-start-an-automation-with-api\/","title":{"rendered":"How to start an automation with API"},"content":{"rendered":"\n<p>To start an automation from the API trigger step, you need to:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Define and get approval for the template you want to send.<\/li>\n\n\n\n<li>Create an automation with an API Trigger:<\/li>\n<\/ul>\n\n\n\n<p>Go to <strong>Automations &gt; New &gt; Trigger &gt; Integrations &gt; API<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1056\" height=\"488\" src=\"https:\/\/support.spoki.com\/wp-content\/uploads\/2022\/12\/Screenshot-2025-10-16-alle-14.27.53.png\" alt=\"\" class=\"wp-image-9240\" srcset=\"https:\/\/support.spoki.com\/wp-content\/uploads\/2022\/12\/Screenshot-2025-10-16-alle-14.27.53.png 1056w, https:\/\/support.spoki.com\/wp-content\/uploads\/2022\/12\/Screenshot-2025-10-16-alle-14.27.53-300x139.png 300w, https:\/\/support.spoki.com\/wp-content\/uploads\/2022\/12\/Screenshot-2025-10-16-alle-14.27.53-1024x473.png 1024w, https:\/\/support.spoki.com\/wp-content\/uploads\/2022\/12\/Screenshot-2025-10-16-alle-14.27.53-768x355.png 768w\" sizes=\"(max-width: 1056px) 100vw, 1056px\" \/><\/figure>\n\n\n\n<p>A panel will open with the information to be inserted into the API. For full details on how to set up the APIs, you can consult the following documentation: <strong><a href=\"https:\/\/documenter.getpostman.com\/view\/21611004\/UzBqnPvF\">API Documentation<\/a><\/strong>.<\/p>\n\n\n\n<p>If the API calls a form, for each field in the form you will need to create a dynamic field in Spoki so that the API can update the contact\u2019s information.<\/p>\n\n\n\n<p>By clicking the <strong>+<\/strong> button, you can select the template to send to contacts and configure all the other actions you want.<\/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\/how-to-en\/how-to-create-template-button-response-automation\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to create template button response automation<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/support.spoki.com\/en\/docs\/platform\/template-messages\/\" target=\"_blank\" rel=\"noreferrer noopener\">Template messages<\/a><\/p>\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><\/p>\n","protected":false},"excerpt":{"rendered":"<p>To start an automation from the API trigger step, you need to: Go to Automations &gt; New &gt; Trigger &gt; [&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-2307","docs","type-docs","status-publish","hentry","doc_category-how-to-en"],"year_month":"2026-04","word_count":142,"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 start an automation with API - 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-start-an-automation-with-api\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to start an automation with API - Supporto Spoki\" \/>\n<meta property=\"og:description\" content=\"To start an automation from the API trigger step, you need to: Go to Automations &gt; New &gt; Trigger &gt; [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/support.spoki.com\/en\/docs\/how-to-en\/how-to-start-an-automation-with-api\/\" \/>\n<meta property=\"og:site_name\" content=\"Supporto Spoki\" \/>\n<meta property=\"article:modified_time\" content=\"2025-10-16T12:44:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/support.spoki.com\/wp-content\/uploads\/2022\/12\/Screenshot-2025-10-16-alle-14.27.53.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1056\" \/>\n\t<meta property=\"og:image:height\" content=\"488\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/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=\"1 minute\" \/>\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-start-an-automation-with-api\/\",\"url\":\"https:\/\/support.spoki.com\/en\/docs\/how-to-en\/how-to-start-an-automation-with-api\/\",\"name\":\"How to start an automation with API - Supporto Spoki\",\"isPartOf\":{\"@id\":\"https:\/\/support.spoki.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/support.spoki.com\/en\/docs\/how-to-en\/how-to-start-an-automation-with-api\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/support.spoki.com\/en\/docs\/how-to-en\/how-to-start-an-automation-with-api\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/support.spoki.com\/wp-content\/uploads\/2022\/12\/Screenshot-2025-10-16-alle-14.27.53.png\",\"datePublished\":\"2022-12-12T10:49:56+00:00\",\"dateModified\":\"2025-10-16T12:44:41+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/support.spoki.com\/en\/docs\/how-to-en\/how-to-start-an-automation-with-api\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/support.spoki.com\/en\/docs\/how-to-en\/how-to-start-an-automation-with-api\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/support.spoki.com\/en\/docs\/how-to-en\/how-to-start-an-automation-with-api\/#primaryimage\",\"url\":\"https:\/\/support.spoki.com\/wp-content\/uploads\/2022\/12\/Screenshot-2025-10-16-alle-14.27.53.png\",\"contentUrl\":\"https:\/\/support.spoki.com\/wp-content\/uploads\/2022\/12\/Screenshot-2025-10-16-alle-14.27.53.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/support.spoki.com\/en\/docs\/how-to-en\/how-to-start-an-automation-with-api\/#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 start an automation with API\"}]},{\"@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 start an automation with API - 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-start-an-automation-with-api\/","og_locale":"en_US","og_type":"article","og_title":"How to start an automation with API - Supporto Spoki","og_description":"To start an automation from the API trigger step, you need to: Go to Automations &gt; New &gt; Trigger &gt; [&hellip;]","og_url":"https:\/\/support.spoki.com\/en\/docs\/how-to-en\/how-to-start-an-automation-with-api\/","og_site_name":"Supporto Spoki","article_modified_time":"2025-10-16T12:44:41+00:00","og_image":[{"width":1056,"height":488,"url":"https:\/\/support.spoki.com\/wp-content\/uploads\/2022\/12\/Screenshot-2025-10-16-alle-14.27.53.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/support.spoki.com\/en\/docs\/how-to-en\/how-to-start-an-automation-with-api\/","url":"https:\/\/support.spoki.com\/en\/docs\/how-to-en\/how-to-start-an-automation-with-api\/","name":"How to start an automation with API - Supporto Spoki","isPartOf":{"@id":"https:\/\/support.spoki.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/support.spoki.com\/en\/docs\/how-to-en\/how-to-start-an-automation-with-api\/#primaryimage"},"image":{"@id":"https:\/\/support.spoki.com\/en\/docs\/how-to-en\/how-to-start-an-automation-with-api\/#primaryimage"},"thumbnailUrl":"https:\/\/support.spoki.com\/wp-content\/uploads\/2022\/12\/Screenshot-2025-10-16-alle-14.27.53.png","datePublished":"2022-12-12T10:49:56+00:00","dateModified":"2025-10-16T12:44:41+00:00","breadcrumb":{"@id":"https:\/\/support.spoki.com\/en\/docs\/how-to-en\/how-to-start-an-automation-with-api\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/support.spoki.com\/en\/docs\/how-to-en\/how-to-start-an-automation-with-api\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/support.spoki.com\/en\/docs\/how-to-en\/how-to-start-an-automation-with-api\/#primaryimage","url":"https:\/\/support.spoki.com\/wp-content\/uploads\/2022\/12\/Screenshot-2025-10-16-alle-14.27.53.png","contentUrl":"https:\/\/support.spoki.com\/wp-content\/uploads\/2022\/12\/Screenshot-2025-10-16-alle-14.27.53.png"},{"@type":"BreadcrumbList","@id":"https:\/\/support.spoki.com\/en\/docs\/how-to-en\/how-to-start-an-automation-with-api\/#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 start an automation with API"}]},{"@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\/2307","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=2307"}],"version-history":[{"count":4,"href":"https:\/\/support.spoki.com\/en\/wp-json\/wp\/v2\/docs\/2307\/revisions"}],"predecessor-version":[{"id":9248,"href":"https:\/\/support.spoki.com\/en\/wp-json\/wp\/v2\/docs\/2307\/revisions\/9248"}],"wp:attachment":[{"href":"https:\/\/support.spoki.com\/en\/wp-json\/wp\/v2\/media?parent=2307"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/support.spoki.com\/en\/wp-json\/wp\/v2\/doc_category?post=2307"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/support.spoki.com\/en\/wp-json\/wp\/v2\/doc_tag?post=2307"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}