{"id":11108,"date":"2024-08-20T12:22:44","date_gmt":"2024-08-20T12:22:44","guid":{"rendered":"https:\/\/spreecommerce.org\/?post_type=cpt_integrations&#038;p=11108"},"modified":"2024-08-21T13:27:31","modified_gmt":"2024-08-21T13:27:31","slug":"zapier-and-spree-integration","status":"publish","type":"cpt_integrations","link":"https:\/\/spreecommerce.org\/integrations\/zapier-and-spree-integration\/","title":{"rendered":"Zapier and Spree Commerce integration"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"577\" src=\"\/cdn-cgi\/image\/width=1420,height=800,fit=crop,quality=70,format=auto,onerror=redirect,metadata=none\/wp-content\/uploads\/2024\/08\/image-1-1024x577.png\" alt=\"\" class=\"wp-image-11112\" srcset=\"https:\/\/spreecommerce.org\/wp-content\/uploads\/2024\/08\/image-1-1024x577.png 1024w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2024\/08\/image-1-300x169.png 300w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2024\/08\/image-1-768x433.png 768w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2024\/08\/image-1.png 1420w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>If you\u2019re running an eCommerce business, then you know that there are a million and one things to keep track of. Orders, inventory, shipping \u2013 it can be overwhelming! That\u2019s where Zapier comes in.&nbsp;<\/p>\n\n\n\n<p><a href=\"https:\/\/zapier.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Zapier<\/a>&nbsp;is a tool that helps you automate tasks between different applications. It can integrate your eCommerce platform with 4,000+ apps without the need to code anything! This saves you time and energy and allows you to focus on what\u2019s important \u2013 growing your business! (On average, Zapier customers save&nbsp;<a href=\"https:\/\/zapier.com\/how-it-works\" target=\"_blank\" rel=\"noreferrer noopener\">10 hours<\/a>&nbsp;of work per week.)<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to integrate Zapier with Spree<a href=\"https:\/\/github.com\/spree-contrib\/spree-adyen#installation\"><\/a><\/h2>\n\n\n\n<p>Zapier allows you to create zaps that are automated workflows between your different apps and services.&nbsp;<\/p>\n\n\n\n<p>For example, Zapier can automatically send an order request to the supplier once the product stock item quantity has reached a minimum defined quantity.<\/p>\n\n\n\n<p>As of the&nbsp;<a href=\"https:\/\/spreecommerce.org\/spree-commerce-4-4-is-even-more-composable-and-customizable\/\" target=\"_blank\" rel=\"noreferrer noopener\">4.4 version<\/a>, Spree supports&nbsp;<a href=\"https:\/\/spreecommerce.org\/what-are-webhooks-and-how-can-they-automate-your-ecommerce-business\/\" target=\"_blank\" rel=\"noreferrer noopener\">webhooks<\/a>&nbsp;that can be the trigger step of a zap.&nbsp;<\/p>\n\n\n\n<p>If your eCommerce website is running on Spree 4.4, you can follow the below steps to set up your zaps. (In this instruction, we use the use case of automatically sending an order request to the supplier once the product stock item quantity will reach a minimum defined quantity.)<\/p>\n\n\n\n<p>1. Create a Zap &amp; choose Webhooks as its trigger<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" width=\"1024\" height=\"714\" src=\"https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zapier-A-1024x714.png\" alt=\"Zapier integration\" class=\"wp-image-9375\" srcset=\"https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zapier-A-1024x714.png 1024w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zapier-A-300x209.png 300w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zapier-A-768x535.png 768w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zapier-A-1536x1071.png 1536w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zapier-A-600x418.png 600w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zapier-A.png 1816w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>2. Generate a URL to send requests to Zapier from Spree<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" width=\"1024\" height=\"861\" src=\"https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zapier-C-1024x861.png\" alt=\"Zapier integration\" class=\"wp-image-9377\" srcset=\"https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zapier-C-1024x861.png 1024w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zapier-C-300x252.png 300w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zapier-C-768x645.png 768w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zapier-C-1536x1291.png 1536w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zapier-C-600x504.png 600w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zapier-C.png 1830w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>3. Create &amp; activate a Webhook Subscriber in Spree Dashboard using the URL from the Zap trigger<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" width=\"1024\" height=\"367\" src=\"https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zapier-D-1024x367.png\" alt=\"Zapier integration\" class=\"wp-image-9378\" srcset=\"https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zapier-D-1024x367.png 1024w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zapier-D-300x107.png 300w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zapier-D-768x275.png 768w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zapier-D-1536x550.png 1536w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zapier-D-2048x733.png 2048w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zapier-D-600x215.png 600w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>4. Test your webhook to see if Zapier receives correct information<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" width=\"1024\" height=\"902\" src=\"https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/variant-out-of-stock-1024x902.png\" alt=\"Zapier integration\" class=\"wp-image-9383\" srcset=\"https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/variant-out-of-stock-1024x902.png 1024w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/variant-out-of-stock-300x264.png 300w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/variant-out-of-stock-768x676.png 768w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/variant-out-of-stock-1536x1353.png 1536w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/variant-out-of-stock-600x528.png 600w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/variant-out-of-stock.png 1960w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>5. Add new action, and choose filter App from the left side of the screen.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" width=\"1024\" height=\"793\" src=\"https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/action-1024x793.png\" alt=\"Zapier integration\" class=\"wp-image-9385\" srcset=\"https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/action-1024x793.png 1024w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/action-300x232.png 300w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/action-768x595.png 768w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/action-1536x1189.png 1536w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/action-600x465.png 600w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/action.png 1950w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>6. Set Filter settings to narrow down when the Zap trigger should be fired (Zapier offer comprehensive tutorials on their filtering app on the left side of the screen)<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" width=\"1024\" height=\"531\" src=\"https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zap-Filter-1024x531.png\" alt=\"Zapier integration\" class=\"wp-image-9386\" srcset=\"https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zap-Filter-1024x531.png 1024w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zap-Filter-300x155.png 300w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zap-Filter-768x398.png 768w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zap-Filter-1536x796.png 1536w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zap-Filter-2048x1061.png 2048w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zap-Filter-600x311.png 600w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>7. Add New Action to, choose Gmail App and choose Send Email as an action<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" width=\"1024\" height=\"792\" src=\"https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zap-4-1024x792.png\" alt=\"Zapier integration \" class=\"wp-image-9368\" srcset=\"https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zap-4-1024x792.png 1024w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zap-4-300x232.png 300w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zap-4-768x594.png 768w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zap-4-1536x1188.png 1536w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zap-4-2048x1585.png 2048w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zap-4-600x464.png 600w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>8. Authorize&nbsp; &amp; connect your Gmail Account&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" width=\"1024\" height=\"498\" src=\"https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zap-6-1024x498.png\" alt=\"Zapier integration \" class=\"wp-image-9367\" srcset=\"https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zap-6-1024x498.png 1024w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zap-6-300x146.png 300w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zap-6-768x373.png 768w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zap-6-1536x746.png 1536w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zap-6-2048x995.png 2048w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zap-6-600x292.png 600w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>9. Set up action details, filling out preferred fields on Send Email Action Event<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" width=\"1024\" height=\"722\" src=\"https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zap-7-1024x722.png\" alt=\"Zapier integration step\" class=\"wp-image-9365\" srcset=\"https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zap-7-1024x722.png 1024w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zap-7-300x211.png 300w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zap-7-768x541.png 768w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zap-7-1536x1083.png 1536w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zap-7-2048x1443.png 2048w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zap-7-600x423.png 600w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>10. Test Action, to see if this Action works as intended<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" width=\"1024\" height=\"567\" src=\"https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zap-9-1024x567.png\" alt=\"Zapier integration step 10\" class=\"wp-image-9363\" srcset=\"https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zap-9-1024x567.png 1024w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zap-9-300x166.png 300w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zap-9-768x425.png 768w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zap-9-1536x850.png 1536w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zap-9-2048x1134.png 2048w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2022\/02\/zap-9-600x332.png 600w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Other examples of Zaps that might be useful in your eCommerce business:<a href=\"https:\/\/github.com\/spree-contrib\/spree-adyen#installation\"><\/a><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Send automated emails with Store Credits or Promotion Code once a user placed an order above a certain amount in your store<\/li>\n\n\n\n<li>Email once a month all users who have a&nbsp;<a href=\"https:\/\/spreecommerce.org\/5-reasons-to-add-a-wishlist-to-your-ecommerce-website\/\" target=\"_blank\" rel=\"noreferrer noopener\">Wishlist<\/a>&nbsp;&amp; updated it in the last month<\/li>\n\n\n\n<li>Email each user whose order was shipped with information that they will receive further instructions from the shipping company, based on the chosen shipping method&nbsp;<\/li>\n\n\n\n<li>Create a new ticket in Zendesk for every canceled order<\/li>\n\n\n\n<li>Automatically creates a Google Document with newly created promotion and its details such as name and code<\/li>\n\n\n\n<li>Automatically create a post on the company\u2019s Facebook page whenever a product is restocked<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>If you\u2019re running an eCommerce business, then you know that there are a million and one things to keep track of. Orders, inventory, shipping \u2013 it can be overwhelming! That\u2019s where Zapier comes in.&nbsp; Zapier&nbsp;is a tool that helps you automate tasks between different applications. It can integrate your eCommerce platform with 4,000+ apps without [&hellip;]<\/p>\n","protected":false},"featured_media":0,"template":"","meta":{"_acf_changed":true,"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":""},"cpt_integrations_category":[992],"class_list":["post-11108","cpt_integrations","type-cpt_integrations","status-publish","hentry","cpt_integrations_category-webhooks"],"acf":[],"_links":{"self":[{"href":"https:\/\/spreecommerce.org\/wp-json\/wp\/v2\/cpt_integrations\/11108","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/spreecommerce.org\/wp-json\/wp\/v2\/cpt_integrations"}],"about":[{"href":"https:\/\/spreecommerce.org\/wp-json\/wp\/v2\/types\/cpt_integrations"}],"wp:attachment":[{"href":"https:\/\/spreecommerce.org\/wp-json\/wp\/v2\/media?parent=11108"}],"wp:term":[{"taxonomy":"cpt_integrations_category","embeddable":true,"href":"https:\/\/spreecommerce.org\/wp-json\/wp\/v2\/cpt_integrations_category?post=11108"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}