{"id":5817,"date":"2024-04-14T20:32:09","date_gmt":"2024-04-14T12:32:09","guid":{"rendered":"https:\/\/webflow.tenten.co\/?p=5817"},"modified":"2024-04-14T20:32:09","modified_gmt":"2024-04-14T12:32:09","slug":"include-followers-to-mailchimp-with-webflow-logic","status":"publish","type":"post","link":"https:\/\/webflow.tenten.co\/en\/include-followers-to-mailchimp-with-webflow-logic\/","title":{"rendered":"Include followers to Mailchimp with Webflow Logic"},"content":{"rendered":"\n<div class=\"docs_rich-text w-richtext\">\n<p>By utilizing Mailchimp, you have the ability to craft and dispatch promotional emails, bulletins, and focused campaigns. Logic empowers you to enroll fresh followers on Mailchimp from your Webflow portal, smoothly uniting two vital components of your marketing approach.<\/p>\n<h6><strong>Prior to initiating:<\/strong> In case you haven\u2019t done so already, <a href=\"https:\/\/mailchimp.com\/help\/create-an-account\/\">formulate a Mailchimp account<\/a> as well as a <a href=\"https:\/\/mailchimp.com\/help\/create-audience\/\">Mailchimp audience<\/a>. Additionally, you will need to insert a form to your Webflow page and incorporate a mandatory field with Text category: email where visitors can sign up.<\/h6>\n<p>This tutorial will encompass:<\/p>\n<ol role=\"list\">\n<li>Ways in which you can generate your Mailchimp API key<\/li>\n<li>How to establish your Logic flow\u2019s validation system<\/li>\n<li>Ways in which you can obtain your Mailchimp audience ID<\/li>\n<li>Setting up your HTTP request<\/li>\n<li>How to conduct testing and release your flow<\/li>\n<li>How to tackle challenges with your flow<\/li>\n<\/ol>\n<h2>Generating your Mailchimp API key<\/h2>\n<ol role=\"list\">\n<li>Proceed to your Mailchimp control panel<\/li>\n<li>Tap on your profile icon and choose<strong> Account &amp; billing<\/strong><\/li>\n<li>Proceed to <strong>Extras<\/strong> &gt; <strong>API keys<\/strong>\u00a0<\/li>\n<li>Hit <strong>Create a key\u00a0<\/strong><\/li>\n<li>Replicate your recent <strong>API key <\/strong>and <strong>maintain this tab extant<\/strong>!<\/li>\n<\/ol>\n<figure class=\"w-richtext-align-fullwidth w-richtext-figure-type-image\">\n<div><img decoding=\"async\" src=\"https:\/\/webflow.tenten.co\/wp-content\/uploads\/2024\/04\/64b94a8af7242ef49d84253f_63d2a97b8786f96faa3009f9_6ehqlbanyb54bxnnvlpvy-ruycmfx-3fbgmumlgll9jy4s3y_vkqvt4cwekz0mbde7a24rocvtvuw9jnzfbwdc8gqhogxostgpsuscsmfrg-4gwaj3wvoqdeycajt1ueoqhbpqcld_04vbkefplngs.png\" title=\"64b94a8af7242ef49d84253f_63d2a97b8786f96faa3009f9_6ehqlbanyb54bxnnvlpvy-ruycmfx-3fbgmumlgll9jy4s3y_vkqvt4cwekz0mbde7a24rocvtvuw9jnzfbwdc8gqhogxostgpsuscsmfrg-4gwaj3wvoqdeycajt1ueoqhbpqcld_04vbkefplngs\"><\/div>\n<\/figure>\n<figure class=\"w-richtext-align-fullwidth w-richtext-figure-type-image\">\n<div><img decoding=\"async\" src=\"https:\/\/webflow.tenten.co\/wp-content\/uploads\/2024\/04\/64b94a8af7242ef49d842543_63d2a97b8dfcfd5deebfc4b9_yylprb4flbpprqe090dxncy2ryhwzqjlhjmu_xqugzdl-ebomj1uyrl0ulwciwagbgy1ldfgao-w5evwjdsi88hqzx7dmukq18d-nki5eeggmhhyafq2wf5dxqimzwlhpe_vr5pi9sidedca-dhsue\"><\/div>\n<\/figure>\n<figure class=\"w-richtext-align-fullwidth w-richtext-figure-type-image\">\n<div><img decoding=\"async\" src=\"https:\/\/webflow.tenten.co\/wp-content\/uploads\/2024\/04\/64b94a8af7242ef49d842546_63d2a97b6f74d44a30799d89_x0-lylwqxxxvmhthui6wxv5blfv9bos525vehzimxymyob8k8wfrfhmbtbkfsjoliubgakr33lrnr7lybudbq0jfspzdmqgjd2lhlbtdn7kfrz1jrmpm9sdpa-lcvhn3msbbonhxbbouozvne_prri\"><\/div>\n<\/figure>\n<h2>Establishing your Logic flow\u2019s validation system<\/h2>\n<ol role=\"list\">\n<li>Launch your webpage within the Webflow Designer on a new browser tab<\/li>\n<li>Choose your form block on the Designer canvas and reveal <strong>Form block settings<\/strong><\/li>\n<li>Press the <strong>Source<\/strong> list and opt for <strong>Logic<\/strong><\/li>\n<li>Tap on <strong>Add new flow<\/strong><\/li>\n<li>Name your new flow (e.g. \u201cInclude follower to Mailchimp bulletin\u201d) within the <strong>Name<\/strong> section and include a description in the <strong>Description<\/strong> segment as desired<\/li>\n<li>Drag a <strong>Make HTTP request<\/strong> block to the flow editor canvas and name it (e.g. \u201cDispatch request to Mailchimp\u201d)\u00a0<\/li>\n<li>Select <strong>API token <\/strong>from the <strong>Authentication<\/strong> dropdown\u00a0<\/li>\n<li>Select <strong>Header<\/strong> from the <strong>Add to<\/strong> dropdown<\/li>\n<li>Type \u201cAuthorization\u201d in the <strong>Header<\/strong> field\u00a0<\/li>\n<li>Hit <strong>Select a credential<\/strong> &gt; <strong>Add new credential<\/strong>\u00a0<\/li>\n<li>Label your API token (e.g. \u201cMailchimp API token\u201d) in the <strong>Name<\/strong> segment and add a description in the <strong>Description<\/strong> segment as desired\u00a0<\/li>\n<li>Enter \u201cBearer <strong>{API key}<\/strong>\u201d in the <strong>Token<\/strong> field, replacing the <strong>{API key} <\/strong>with the API key you copied from Mailchimp<\/li>\n<li>Tap <strong>Create<\/strong> to store your new credential and <strong>maintain this tab extant<\/strong>!<strong>\u00a0<\/strong><\/li>\n<\/ol>\n<h6><strong>Insider&#8217;s tip: <\/strong>You can also link your form to a new Logic flow from the <strong>Logic panel<\/strong> &gt; <strong>Flows<\/strong>list. Acquaint yourself with more details regarding form submission triggers in Logic.\u00a0<\/h6>\n<figure class=\"w-richtext-align-fullwidth w-richtext-figure-type-image\">\n<div><img decoding=\"async\" src=\"https:\/\/webflow.tenten.co\/wp-content\/uploads\/2024\/04\/64b94a8af7242ef49d842519_63d2a97b8dfcfd8613bfc4b8_jqqpo3kzgzevfu-uczjo5_aekuwlp6x3fgzhh_hx9t1i0zhjavgswnyc_-pucu6othnxmaiwxh5na0imboymncgmccb9ugptvgu28y-ewqly-3bxkzaowwxe9lwuknldreairqvt3azoipyfp6horf\"><\/div>\n<\/figure>\n<figure class=\"w-richtext-align-fullwidth w-richtext-figure-type-image\">\n<div><img decoding=\"async\" src=\"https:\/\/webflow.tenten.co\/wp-content\/uploads\/2024\/04\/64b94a8af7242ef49d842526_63d2a97b278485543fa62582_akkfetbd72hptoietw4hjadpyqasiozbkbti7lkv-av6xbzmmof8cjfb86mx9vmbapkc7krwmzw9ofqkd4yjho7x8jeotiga7a6va4kqrfr0jwumizsb_w5tqfrjfk2zna9ll99zoxxhz4gruxzzex\"><\/div>\n<\/figure>\n<figure class=\"w-richtext-align-fullwidth w-richtext-figure-type-image\">\n<div><img decoding=\"async\" src=\"https:\/\/webflow.tenten.co\/wp-content\/uploads\/2024\/04\/64b94a8af7242ef49d842549_63d2a97b5ca5261bcc653788_0lomvsonpk4mjm5ilwytu0hvbe3nyij8s_xyqgzjzmzkcsqbh4jcyxjjxor-zuof6jpzua9kkup5izam3qirnnlxeyj_x4akcihcttx5ghpijkdw1ws_nzowmcwsyr5atqtkhxkxbxujewk0c8kc6q\"><\/div>\n<\/figure>\n<figure class=\"w-richtext-align-fullwidth w-richtext-figure-type-image\">\n<div>\n<figure class=\"w-richtext-align-fullwidth w-richtext-figure-type-image\">\n<div>\n      <img decoding=\"async\" src=\"https:\/\/webflow.tenten.co\/wp-content\/uploads\/2024\/04\/64b94a8af7242ef49d84252d_63d2a97c8786f934d33009fa_yrknlewhqp5vqqxz23zpwtbjenrhp0c0uyfyjpd3ylzqn4mkxu1m6_zyss8g7ooyso-dxqwn2jlaebwtniglw7tx8ivfqld1h3xdt6yd0pswlpcp7ccgyfo5jcrybjuir-krs-v3-mnb_qh4eunpbi.png\" alt=\"The \u201cNew credential\u201d modal window displays fields for the name, description, type, and value of an API credential.\" title=\"64b94a8af7242ef49d84252d_63d2a97c8786f934d33009fa_yrknlewhqp5vqqxz23zpwtbjenrhp0c0uyfyjpd3ylzqn4mkxu1m6_zyss8g7ooyso-dxqwn2jlaebwtniglw7tx8ivfqld1h3xdt6yd0pswlpcp7ccgyfo5jcrybjuir-krs-v3-mnb_qh4eunpbi\"><\/div>\n<\/figure>\n<h2>Acquiring your Mailchimp audience ID<\/h2>\n<ol role=\"list\">\n<li>Return to your Mailchimp dashboard<\/li>\n<li>Proceed to <strong>Audience<\/strong> &gt; <strong>All contacts<\/strong><\/li>\n<li>If you possess multiple Mailchimp audiences, click the <strong>Current audience<\/strong> dropdown and select the audience you wish to link to your Webflow site<\/li>\n<li>Choose <strong>Settings<\/strong> from the dropdown and then select <strong>Audience name and defaults<\/strong><\/li>\n<li>Retrieve your <strong>Audience ID<\/strong><\/li>\n<\/ol>\n<blockquote><p><strong>CRUCIAL: <\/strong>Make a note of the initial segment of the URL on this page (e.g., us5, us6, etc.), which corresponds to the data center for your Mailchimp account \u2014 including this in your HTTP request is vital.<\/p><\/blockquote>\n<figure class=\"w-richtext-align-fullwidth w-richtext-figure-type-image\">\n<div>\n      <img decoding=\"async\" src=\"https:\/\/webflow.tenten.co\/wp-content\/uploads\/2024\/04\/64b94a8af7242ef49d84251d_63d2a97ca187ac6d68c70d23_gqix696lny3nwnovbfaucxkrkcvli1-vxwvtgfru34rpnddaddrhvzvavn6xugd2lhwliwryfzxrv5dnlyb0eqsj2fwf9u4xpb5r281etnxt-62mlg-oejoksjfcvdwiehuasvzc3_43byysc4gsys\" title=\"64b94a8af7242ef49d84251d_63d2a97ca187ac6d68c70d23_gqix696lny3nwnovbfaucxkrkcvli1-vxwvtgfru34rpnddaddrhvzvavn6xugd2lhwliwryfzxrv5dnlyb0eqsj2fwf9u4xpb5r281etnxt-62mlg-oejoksjfcvdwiehuasvzc3_43byysc4gsys\">\n   <\/div>\n<\/figure>\n<figure class=\"w-richtext-align-fullwidth w-richtext-figure-type-image\">\n<div>\n      <img decoding=\"async\" src=\"https:\/\/webflow.tenten.co\/wp-content\/uploads\/2024\/04\/64b94a8af7242ef49d842536_63d2a97c8786f996583009fb_nbdz34mfqn3vzi1jydhlekzpqaghlvxwfbwx86-d-tntxk7dljet3w6bk4ra9irgcv5slijpe150omw_0i_hro-ncptk72tl9eckih1e-sjb2gejcargssrjpny0lbj4cdc6qw3rbyctlx4kg05zk0\" title=\"64b94a8af7242ef49d842536_63d2a97c8786f996583009fb_nbdz34mfqn3vzi1jydhlekzpqaghlvxwfbwx86-d-tntxk7dljet3w6bk4ra9irgcv5slijpe150omw_0i_hro-ncptk72tl9eckih1e-sjb2gejcargssrjpny0lbj4cdc6qw3rbyctlx4kg05zk0\">\n   <\/div>\n<\/figure>\n<figure class=\"w-richtext-align-fullwidth w-richtext-figure-type-image\">\n<div>\n      <img decoding=\"async\" src=\"https:\/\/webflow.tenten.co\/wp-content\/uploads\/2024\/04\/64b94a8af7242ef49d84254d_63d2a97cc37d18ee40b89be1_t1s2o5gb4v_prvsmi_p5uybga1ggp94-idhsfsoxcwyhbyvdhbviuyxaw6yhz7_nmyexfg9pwyz-fngjeqgtg9quksevb_mpjs142kaztshfvc0kupdtmrygbsgog9vaizjy3u76o0gesj60itenxm\" title=\"64b94a8af7242ef49d84254d_63d2a97cc37d18ee40b89be1_t1s2o5gb4v_prvsmi_p5uybga1ggp94-idhsfsoxcwyhbyvdhbviuyxaw6yhz7_nmyexfg9pwyz-fngjeqgtg9quksevb_mpjs142kaztshfvc0kupdtmrygbsgog9vaizjy3u76o0gesj60itenxm\">\n   <\/div>\n<\/figure>\n<h2>Configuring your HTTP request<\/h2>\n<p>After establishing your Logic flow and Mailchimp authentication credentials, revisit Webflow and set up an HTTP request within your flow. This configured HTTP request will add a new subscriber to Mailchimp whenever a site visitor submits your subscription form.\u00a0<\/p>\n<h6><strong>Note: <\/strong>If you closed the tab where your Webflow site was open, navigate to <strong>Logic panel<\/strong> &gt; <strong>Flows<\/strong> tab and choose the flow configured in the prior steps. Then, select the <strong>Make HTTP request<\/strong> block on the flow editor canvas to open the block settings and complete the subsequent steps.<\/h6>\n<ol role=\"list\">\n<li>Choose the <strong>Request method<\/strong> from the dropdown menu and select <strong>POST<\/strong><\/li>\n<li>In the <strong>URL<\/strong> field, substitute the placeholders with &#8220;https:\/\/<strong>{dc}<\/strong>.api.mailchimp.com\/3.0\/lists\/<strong>{list_id}<\/strong>\/members&#8221;. Replace <strong>{dc}<\/strong> with your Mailchimp data center and <strong>{list_id}<\/strong> with the audience ID extracted from Mailchimp\u00a0<\/li>\n<li>Insert the below content in the <strong>Body <\/strong>field:<\/li>\n<\/ol>\n<div class=\"w-embed\">\n<div class=\"code-block\">\n<pre class=\"code-block_body\">\n         <code id=\"snippet1\" class=\"code-block_code\">\n            {\n               \"email_address\": \"\",\n               \"status\": \"subscribed\"\n            }\n         <\/code>\n      <\/pre>\n<\/p><\/div>\n<\/div>\n<ol start=\"4\" role=\"list\">\n<li>Position your cursor between the empty quotes in the <strong>Body<\/strong> section<\/li>\n<li>Click the purple \u201c<strong>dot<\/strong>\u201d icon and opt for your <strong>Email<\/strong> form field\u00a0<\/li>\n<\/ol>\n<figure class=\"w-richtext-align-fullwidth w-richtext-figure-type-image\">\n<div>\n      <img decoding=\"async\" src=\"https:\/\/webflow.tenten.co\/wp-content\/uploads\/2024\/04\/64b94a8af7242ef49d842539_63d2a97c3901614804ff2d68_atljz2_j2c9xc9ryfljm3jdjpssz5xplr7z4sfqh2s7lkjzgeeyopbfpdaujzrwnpw3gxzfrfd_ilawdhdzfuwx1aqmtd8fey1ynpewfap9ymkkborkrksun_66sdr8hluyq1vtutbcch0dspaj1b8.png\" title=\"64b94a8af7242ef49d842539_63d2a97c3901614804ff2d68_atljz2_j2c9xc9ryfljm3jdjpssz5xplr7z4sfqh2s7lkjzgeeyopbfpdaujzrwnpw3gxzfrfd_ilawdhdzfuwx1aqmtd8fey1ynpewfap9ymkkborkrksun_66sdr8hluyq1vtutbcch0dspaj1b8\">\n   <\/div>\n<\/figure>\n<h2>Testing and deploying your flow<\/h2>\n<ol role=\"list\">\n<li>Click <strong>Run test to finalize setup\u00a0<\/strong><\/li>\n<li>Enter a sample email address into the provided input field<\/li>\n<li>Click <strong>Run test\u00a0<\/strong><\/li>\n<li>Choose <strong>Cancel<\/strong> or <strong>Apply data<\/strong> to exit the test modal<\/li>\n<li>Opt for <strong>Publish<\/strong>\u00a0<\/li>\n<li>Select <strong>Stage flow for publish<\/strong><\/li>\n<li>Publish your site<\/li>\n<\/ol>\n<h6><strong>Note: <\/strong>If you encounter an error message during the flow test, follow our diagnostic guidelines and repeat the above steps. Find additional information on testing HTTP requests.<\/h6>\n<h2>Troubleshooting flow-related issues<\/h2>\n<p>If errors are surfacing while testing your flow, consider the following actions:<\/p>\n<ul role=\"list\">\n<li>Validate that your request URL employs the accurate <a href=\"https:\/\/mailchimp.com\/developer\/marketing\/docs\/fundamentals\/#api-structure\">data center<\/a> and audience ID<\/li>\n<li>Scrutinize your request body for potential errors using a complimentary tool like <a href=\"https:\/\/jsonlint.com\/\">JSONLint<\/a>\u00a0<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"Use Logic\u2019s Make HTTP request block to collect contact information and register new subscribers on Mailchimp.","protected":false},"author":2,"featured_media":5207,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"om_disable_all_campaigns":false,"inline_featured_image":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"csco_display_header_overlay":false,"csco_singular_sidebar":"","csco_page_header_type":"","footnotes":""},"categories":[298],"tags":[],"class_list":{"0":"post-5817","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-logic","8":"cs-entry"},"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/posts\/5817","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/comments?post=5817"}],"version-history":[{"count":0,"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/posts\/5817\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/media\/5180"}],"wp:attachment":[{"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/media?parent=5817"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/categories?post=5817"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/tags?post=5817"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}