{"id":1964105,"date":"2025-02-16T05:20:23","date_gmt":"2025-02-16T10:20:23","guid":{"rendered":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/?p=1964105"},"modified":"2025-02-16T05:20:24","modified_gmt":"2025-02-16T10:20:24","slug":"creating-a-zap-orders-to-google-sheets","status":"publish","type":"post","link":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/creating-a-zap-orders-to-google-sheets\/","title":{"rendered":"Creating a Zap (Orders to Google Sheets)"},"content":{"rendered":"\n<p>Event Automator allows you to use Zapier to integrate The Events Calendar and Event Tickets with your favorite third-party apps and tools. <\/p>\n\n\n\n<p>This is done by creating a &#8220;Zap&#8221; in Zapier. A zap is the simple &#8220;recipe&#8221; (instructions) that powers the automation of any of your workflows.<\/p>\n\n\n\n<p>Before reading further, make sure you have installed and configured Event Automator as <a href=\"https:\/\/staging.theeventscalendar.com\/knowledgebase\/k\/new-user-primer-event-automator\/\" target=\"_blank\" rel=\"noreferrer noopener\">explained here.<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-using-event-tickets-as-a-trigger\">Using Event Tickets as a Trigger<\/h2>\n\n\n\n<p>In this example, we&#8217;ll show you how to create a Zap that creates a new Google Sheets row when a new ticket order is added to your WordPress site.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In <a href=\"https:\/\/zapier.com\/app\/login\" target=\"_blank\" rel=\"noreferrer noopener\">Zapier,<\/a> click on the Zaps on the left side panel, then the + Create button.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1874\" height=\"530\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/08\/kbzap1v1.png\" alt=\"\" class=\"wp-image-1962723\" srcset=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/08\/kbzap1v1.png 1874w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/08\/kbzap1v1-300x85.png 300w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/08\/kbzap1v1-1024x290.png 1024w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/08\/kbzap1v1-768x217.png 768w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/08\/kbzap1v1-1536x434.png 1536w\" sizes=\"auto, (max-width: 1874px) 100vw, 1874px\" \/><\/figure>\n\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li>Select <strong>Event Tickets<\/strong> as the trigger.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"697\" height=\"727\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2025\/02\/1.png\" alt=\"\" class=\"wp-image-1964106\" srcset=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2025\/02\/1.png 697w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2025\/02\/1-288x300.png 288w\" sizes=\"auto, (max-width: 697px) 100vw, 697px\" \/><\/figure>\n\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li>Choose <strong>New Order<\/strong> as the Trigger event.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"661\" height=\"310\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2025\/02\/2.png\" alt=\"\" class=\"wp-image-1964107\" srcset=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2025\/02\/2.png 661w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2025\/02\/2-300x141.png 300w\" sizes=\"auto, (max-width: 661px) 100vw, 661px\" \/><\/figure>\n\n\n\n<ol start=\"4\" class=\"wp-block-list\">\n<li>Choose your account, wait until it loads, and click on <em>Continue<\/em>.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"585\" height=\"549\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2025\/02\/2.1.png\" alt=\"\" class=\"wp-image-1964110\" srcset=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2025\/02\/2.1.png 585w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2025\/02\/2.1-300x282.png 300w\" sizes=\"auto, (max-width: 585px) 100vw, 585px\" \/><\/figure>\n\n\n\n<ol start=\"5\" class=\"wp-block-list\">\n<li>You can now begin testing the trigger from Zapier. Once the testing completed, it will show one or more test records. &#8212; Make sure you&#8217;re working on the most recent record.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"723\" height=\"570\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2025\/02\/3.png\" alt=\"\" class=\"wp-image-1964108\" srcset=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2025\/02\/3.png 723w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2025\/02\/3-300x237.png 300w\" sizes=\"auto, (max-width: 723px) 100vw, 723px\" \/><\/figure>\n\n\n\n<p id=\"important\"><strong>Important: <\/strong>Testing your trigger is a crucial step! <\/p>\n\n\n\n<p id=\"important\">Successfully testing the trigger allows Zapier to \u201csee\u201d all the order fields available on your site.<br>In other words, if Zapier can\u2019t see the fields on your site, your Zaps will not work.<\/p>\n\n\n\n<p>The order record selected from the trigger test should display a list of fields that can be mapped along with their values.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"997\" height=\"724\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2025\/02\/4.png\" alt=\"\" class=\"wp-image-1964109\" srcset=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2025\/02\/4.png 997w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2025\/02\/4-300x218.png 300w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2025\/02\/4-768x558.png 768w\" sizes=\"auto, (max-width: 997px) 100vw, 997px\" \/><\/figure>\n\n\n\n<p><strong>Caution: <\/strong>Don&#8217;t be fooled by the fact that Zapier has found an order!<br>Look carefully at the screen. If you are not seeing a list of fields or if the fields do not contain values, that record cannot be used to test the trigger.<\/p>\n\n\n\n<p>To fix that, you can:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Select another order record (if any)<\/li>\n\n\n\n<li>Do another ticket order on your site\n<ul class=\"wp-block-list\">\n<li>Click again on the Find new records button where you are testing the trigger on Zapier<\/li>\n\n\n\n<li>The freshly created order should appear<\/li>\n\n\n\n<li>Select it and the fields and values are present<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<ol start=\"6\" class=\"wp-block-list\">\n<li>Prepare your Google Spreadsheet with the fields being the column headers in the spreadsheet.<br><br>You can check out Zapier&#8217;s <a href=\"https:\/\/community.zapier.com\/featured-articles-65\/how-to-parse-keys-and-values-from-line-item-arrays-into-zapier-mappable-values-7493\">How&nbsp;To&nbsp;Parse&nbsp;Keys&nbsp;and&nbsp;Values&nbsp;From&nbsp;Line-Item&nbsp;Arrays&nbsp;Into&nbsp;Zapier Mappable Values<\/a> if you need the <em>Items<\/em> field mapped into their own columns in the resulting Google Sheet row.<br> <\/li>\n\n\n\n<li>Select the action you&#8217;d like to create (in this case, it&#8217;s Google Sheets).<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1142\" height=\"791\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/08\/kbzap6.png\" alt=\"\" class=\"wp-image-1962728\" srcset=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/08\/kbzap6.png 1142w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/08\/kbzap6-300x208.png 300w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/08\/kbzap6-1024x709.png 1024w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/08\/kbzap6-768x532.png 768w\" sizes=\"auto, (max-width: 1142px) 100vw, 1142px\" \/><\/figure>\n\n\n\n<ol start=\"7\" class=\"wp-block-list\">\n<li>Choose <em>Create Spreadsheet Row<\/em> as an event.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"941\" height=\"680\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/08\/kbzap7.png\" alt=\"\" class=\"wp-image-1962729\" srcset=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/08\/kbzap7.png 941w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/08\/kbzap7-300x217.png 300w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/08\/kbzap7-768x555.png 768w\" sizes=\"auto, (max-width: 941px) 100vw, 941px\" \/><\/figure>\n\n\n\n<ol start=\"8\" class=\"wp-block-list\">\n<li>Select your <strong>Google Sheets account<\/strong> or Sign in and allow access if necessary.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1012\" height=\"664\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/08\/kbzap8.png\" alt=\"\" class=\"wp-image-1962730\" srcset=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/08\/kbzap8.png 1012w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/08\/kbzap8-300x197.png 300w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/08\/kbzap8-768x504.png 768w\" sizes=\"auto, (max-width: 1012px) 100vw, 1012px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1767\" height=\"802\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/08\/kbzap9.png\" alt=\"\" class=\"wp-image-1962731\" srcset=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/08\/kbzap9.png 1767w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/08\/kbzap9-300x136.png 300w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/08\/kbzap9-1024x465.png 1024w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/08\/kbzap9-768x349.png 768w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/08\/kbzap9-1536x697.png 1536w\" sizes=\"auto, (max-width: 1767px) 100vw, 1767px\" \/><\/figure>\n\n\n\n<ol start=\"9\" class=\"wp-block-list\">\n<li>Set the desired <strong>Drive<\/strong>, <strong>Spreadsheet<\/strong>, and <strong>Worksheet<\/strong>, and click on <em>Continue<\/em>.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1416\" height=\"885\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/08\/kbzap101.png\" alt=\"\" class=\"wp-image-1962732\" srcset=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/08\/kbzap101.png 1416w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/08\/kbzap101-300x188.png 300w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/08\/kbzap101-1024x640.png 1024w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/08\/kbzap101-768x480.png 768w\" sizes=\"auto, (max-width: 1416px) 100vw, 1416px\" \/><\/figure>\n\n\n\n<ol start=\"10\" class=\"wp-block-list\">\n<li>Map each desired field to its destination column in the spreadsheet then click <em>Continue<\/em>.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"660\" height=\"655\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2025\/02\/5.png\" alt=\"\" class=\"wp-image-1964111\" srcset=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2025\/02\/5.png 660w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2025\/02\/5-300x298.png 300w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2025\/02\/5-150x150.png 150w\" sizes=\"auto, (max-width: 660px) 100vw, 660px\" \/><\/figure>\n\n\n\n<ol start=\"11\" class=\"wp-block-list\">\n<li><\/li>\n<\/ol>\n\n\n\n<p>11. Test and Publish your Zap<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Event Automator allows you to use Zapier to integrate The Events Calendar and Event Tickets with your favorite third-party apps and tools. This is done by creating a &#8220;Zap&#8221; in Zapier. A zap is the simple &#8220;recipe&#8221; (instructions) that powers the automation of any of your workflows. Before reading further, make sure you have installed&#8230;<\/p>\n","protected":false},"author":63,"featured_media":1955565,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_swpsp_post_exclude":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"ep_exclude_from_search":false,"footnotes":""},"categories":[40,41,46],"tags":[47],"stellar-product-taxonomy":[182],"class_list":["post-1964105","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-support-resources","category-getting-started","category-integrations","tag-integrations","stellar-product-taxonomy-event-automator"],"acf":[],"taxonomy_info":{"category":[{"value":40,"label":"Get Help"},{"value":41,"label":"Getting Started"},{"value":46,"label":"Integrations"}],"post_tag":[{"value":47,"label":"Integrations"}],"stellar-product-taxonomy":[{"value":182,"label":"Event Automator"}]},"featured_image_src_large":["https:\/\/images.theeventscalendar.com\/kb\/uploads\/2023\/02\/social-share-1024x538.png",1024,538,true],"author_info":{"display_name":"Tristan","author_link":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/author\/tristan\/"},"comment_info":0,"category_info":[{"term_id":40,"name":"Get Help","slug":"support-resources","term_group":0,"term_taxonomy_id":40,"taxonomy":"category","description":"","parent":0,"count":28,"filter":"raw","term_order":"0","cat_ID":40,"category_count":28,"category_description":"","cat_name":"Get Help","category_nicename":"support-resources","category_parent":0},{"term_id":41,"name":"Getting Started","slug":"getting-started","term_group":0,"term_taxonomy_id":41,"taxonomy":"category","description":"","parent":0,"count":67,"filter":"raw","term_order":"0","cat_ID":41,"category_count":67,"category_description":"","cat_name":"Getting Started","category_nicename":"getting-started","category_parent":0},{"term_id":46,"name":"Integrations","slug":"integrations","term_group":0,"term_taxonomy_id":46,"taxonomy":"category","description":"","parent":0,"count":115,"filter":"raw","term_order":"0","cat_ID":46,"category_count":115,"category_description":"","cat_name":"Integrations","category_nicename":"integrations","category_parent":0}],"tag_info":[{"term_id":47,"name":"Integrations","slug":"integrations","term_group":0,"term_taxonomy_id":47,"taxonomy":"post_tag","description":"","parent":0,"count":23,"filter":"raw","term_order":"0"}],"_links":{"self":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1964105","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/users\/63"}],"replies":[{"embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=1964105"}],"version-history":[{"count":2,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1964105\/revisions"}],"predecessor-version":[{"id":1964236,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1964105\/revisions\/1964236"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/media\/1955565"}],"wp:attachment":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=1964105"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/categories?post=1964105"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/tags?post=1964105"},{"taxonomy":"stellar-product-taxonomy","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/stellar-product-taxonomy?post=1964105"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}