{"id":1954758,"date":"2023-02-09T03:25:53","date_gmt":"2023-02-09T08:25:53","guid":{"rendered":"https:\/\/theeventscalendar.com\/knowledgebase\/?post_type=post&#038;p=1954758"},"modified":"2026-04-02T16:21:57","modified_gmt":"2026-04-02T20:21:57","slug":"customizing-your-zaps","status":"publish","type":"post","link":"https:\/\/theeventscalendar.com\/knowledgebase\/customizing-your-zaps\/","title":{"rendered":"Customizing Zaps with The Events Calendar"},"content":{"rendered":"\n<iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/HOK0qjmtLv8?si=YFEdBQRUhapfx_-I\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n\n\n\n<p class=\"has-kb-palette-0-background-color has-background\">\u25b6\ufe0f<strong>Note:<\/strong> This video may refer to products and features that have since been merged or changed. For the most up-to-date information, please refer to the content of this article.<\/p>\n\n\n\n<p><a href=\"https:\/\/theeventscalendar.com\/knowledgebase\/k\/creating-a-zap\/\" target=\"_blank\" rel=\"noreferrer noopener\">Creating Zaps<\/a> is easy using the built-in features of Events Calendar Pro and Event Tickets Plus.<\/p>\n\n\n\n<p>But what if you need to customize your automation to match your specific workflow?<\/p>\n\n\n\n<p>We&#8217;ve got you covered with two specialized Zapier Apps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>The Events Calendar Zapier App<\/strong><\/li>\n\n\n\n<li><strong>Event Tickets Zapier App<\/strong><\/li>\n<\/ol>\n\n\n\n<p>Let&#8217;s explore what each app offers to enhance your automation experience.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\" style=\"margin-top:0;margin-bottom:0\"\/>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-the-events-calendar-zapier-app\">The Events Calendar Zapier App<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-event-triggers\">Event Triggers:<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>New Event:<\/strong> Triggers when a new event is created<\/li>\n\n\n\n<li><strong>Updated Event:<\/strong> Triggers when an event is updated &#8211; does not trigger on new event creation<\/li>\n\n\n\n<li><strong>Canceled Event:<\/strong> Triggers when the status of an event is changed to canceled<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"954\" height=\"690\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/event-triggers-zap.png\" alt=\"\" class=\"wp-image-1960414\" style=\"width:627px;height:auto\" srcset=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/event-triggers-zap.png 954w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/event-triggers-zap-300x217.png 300w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/event-triggers-zap-768x555.png 768w\" sizes=\"auto, (max-width: 954px) 100vw, 954px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-event-actions\">Event Actions:<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-create\">Create<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Create Event:<\/strong> This action allows you to create a new event in The Events Calendar directly from your trigger event in Zapier.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-search\">Search<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Find Event:<\/strong> This action is a &#8216;Search&#8217; type action, which means it allows you to search for existing events in The Events Calendar based on specified criteria.<\/li>\n<\/ul>\n\n\n\n<div style=\"height:25px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"852\" height=\"598\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/TEC_zap_actions_dashboard.png\" alt=\"\" class=\"wp-image-1960315\" style=\"width:617px;height:auto\" srcset=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/TEC_zap_actions_dashboard.png 852w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/TEC_zap_actions_dashboard-300x211.png 300w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/TEC_zap_actions_dashboard-768x539.png 768w\" sizes=\"auto, (max-width: 852px) 100vw, 852px\" \/><\/figure>\n\n\n\n<p><strong>Zap Templates<\/strong><\/p>\n\n\n\n<p>Check out the <a href=\"https:\/\/zapier.com\/apps\/the-events-calendar\/integrations#zap-template-list\" target=\"_blank\" rel=\"noreferrer noopener\">Zap Templates<\/a> (aka recipes) for Event triggers to get a head start!<\/p>\n\n\n\n<p>You can tweak those to your liking or simply use them as inspiration to create your own Zaps.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-available-fields-for-new-and-updated-event-triggers\">Available fields for &#8216;New and Updated Event&#8217; triggers<strong><strong><strong>:<\/strong><\/strong><\/strong><\/h4>\n\n\n\n<figure class=\"wp-block-table is-style-regular has-small-font-size\"><table class=\"has-fixed-layout\"><thead><tr><th>Field<\/th><th>Data type<\/th><\/tr><\/thead><tbody><tr><td><code>id<\/code><\/td><td><code>integer<\/code><\/td><\/tr><tr><td><code>title<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td><code>description<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td><code>excerpt<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td><code>permalink<\/code><\/td><td><code>URL<\/code><\/td><\/tr><tr><td><code>event_status<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td><code>featured<\/code><\/td><td><code>boolean<\/code><\/td><\/tr><tr><td><code>sticky<\/code><\/td><td><code>boolean<\/code><\/td><\/tr><tr><td><code>featured_image_url<\/code><\/td><td><code>URL<\/code><\/td><\/tr><tr><td><code>category<\/code><\/td><td><code>array<\/code><\/td><\/tr><tr><td><code>tag<\/code><\/td><td><code>array<\/code><\/td><\/tr><tr><td><code>website_url<\/code><\/td><td><code>URL<\/code><\/td><\/tr><tr><td><code>cost<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td><code>has_ticket<\/code><\/td><td><code>boolean<\/code><\/td><\/tr><tr><td><code>has_rsvp<\/code><\/td><td><code>boolean<\/code><\/td><\/tr><tr><td><code>in_date_range<\/code><\/td><td><code>boolean<\/code><\/td><\/tr><tr><td><code>sold_out<\/code><\/td><td><code>boolean<\/code><\/td><\/tr><tr><td><code>tickets_tickets<\/code><\/td><td><code>array<\/code><\/td><\/tr><tr><td><code>tickets_rsvp<\/code><\/td><td><code>array<\/code><\/td><\/tr><tr><td><code>start_date<\/code><\/td><td><code>date and time<\/code><\/td><\/tr><tr><td><code>end_date<\/code><\/td><td><code>date and time<\/code><\/td><\/tr><tr><td><code>timezone<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td><code>timezone_abbr<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td><code>all_day<\/code><\/td><td><code>boolean<\/code><\/td><\/tr><tr><td><code>multi_day<\/code><\/td><td><code>boolean<\/code><\/td><\/tr><tr><td><code>is_past<\/code><\/td><td><code>boolean<\/code><\/td><\/tr><tr><td><code>duration<\/code><\/td><td><code>integer<\/code><\/td><\/tr><tr><td><code>recurring<\/code><\/td><td><code>boolean<\/code><\/td><\/tr><tr><td><code>Virtual<\/code><\/td><td><code>boolean<\/code><\/td><\/tr><tr><td><code>Virtual URL<\/code><\/td><td><code>URL<\/code><\/td><\/tr><tr><td><code>Virtual Button Text<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td><code>Organizers (comma separated)<\/code><\/td><td><\/td><\/tr><tr><td>&nbsp;&nbsp;&nbsp;&nbsp;<code>id<\/code><\/td><td><code>integer<\/code><\/td><\/tr><tr><td>&nbsp;&nbsp;&nbsp;&nbsp;<code>description<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td>&nbsp;&nbsp;&nbsp;&nbsp;<code>title<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td>&nbsp;&nbsp;&nbsp;&nbsp;<code>excerpt<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td>&nbsp;&nbsp;&nbsp;&nbsp;<code>permalink<\/code><\/td><td><code>URL<\/code><\/td><\/tr><tr><td>&nbsp;&nbsp;&nbsp;&nbsp;<code>featured_image_url<\/code><\/td><td><code>URL<\/code><\/td><\/tr><tr><td>&nbsp;&nbsp;&nbsp;&nbsp;<code>phone<\/code><\/td><td><code>phone<\/code><\/td><\/tr><tr><td>&nbsp;&nbsp;&nbsp;&nbsp;<code>website<\/code><\/td><td><code>URL<\/code><\/td><\/tr><tr><td>&nbsp;&nbsp;&nbsp;&nbsp;<code>email<\/code><\/td><td><code>email<\/code><\/td><\/tr><tr><td><code>Venue<\/code><\/td><td><\/td><\/tr><tr><td>&nbsp;&nbsp;&nbsp;&nbsp;<code>id<\/code><\/td><td><code>integer<\/code><\/td><\/tr><tr><td>&nbsp;&nbsp;&nbsp;&nbsp;<code>description<\/code><\/td><td><code>HTML<\/code><\/td><\/tr><tr><td>&nbsp;&nbsp;&nbsp;&nbsp;<code>title<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td>&nbsp;&nbsp;&nbsp;&nbsp;<code>excerpt<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td>&nbsp;&nbsp;&nbsp;&nbsp;<code>permalink<\/code><\/td><td><code>URL<\/code><\/td><\/tr><tr><td>&nbsp;&nbsp;&nbsp;&nbsp;<code>address<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td>&nbsp;&nbsp;&nbsp;&nbsp;<code>country<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td>&nbsp;&nbsp;&nbsp;&nbsp;<code>city<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td>&nbsp;&nbsp;&nbsp;&nbsp;<code>state_province<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td>&nbsp;&nbsp;&nbsp;&nbsp;<code>state<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td>&nbsp;&nbsp;&nbsp;&nbsp;<code>province<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td>&nbsp;&nbsp;&nbsp;&nbsp;<code>zip<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td>&nbsp;&nbsp;&nbsp;&nbsp;<code>phone<\/code><\/td><td><code>phone number<\/code><\/td><\/tr><tr><td>&nbsp;&nbsp;&nbsp;&nbsp;<code>directions_link<\/code><\/td><td><code>URL<\/code><\/td><\/tr><tr><td>&nbsp;&nbsp;&nbsp;&nbsp;<code>website<\/code><\/td><td><code>URL<\/code><\/td><\/tr><tr><td>&nbsp;&nbsp;&nbsp;&nbsp;<code>geolocation<\/code><\/td><td><\/td><\/tr><tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<code>overwrite_coordinates<\/code><\/td><td><code>boolean<\/code><\/td><\/tr><tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<code>latitude<\/code><\/td><td><code>numeric<\/code><\/td><\/tr><tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<code>longitude<\/code><\/td><td><code>numeric<\/code><\/td><\/tr><tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<code>address<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<code>distance<\/code><\/td><td><code>boolean<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"et-zappier-ap\">Event Tickets Zapier App<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-tickets-triggers\">Tickets Triggers:<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Attendees: When a new attendee is generated<\/li>\n\n\n\n<li>Updated Attendees: When an attendee has been updated<\/li>\n\n\n\n<li>Check-in: When an attendee is checked into an event via ticket or RSVP<\/li>\n\n\n\n<li>New Order: When a new order of tickets is created<\/li>\n\n\n\n<li>Refunded Orders: When a ticket order is refunded from Tickets Commerce, EDD, or WooCommerce<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"869\" height=\"746\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/tickets-triggers-zap.png\" alt=\"\" class=\"wp-image-1960413\" style=\"width:572px;height:auto\" srcset=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/tickets-triggers-zap.png 869w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/tickets-triggers-zap-300x258.png 300w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/tickets-triggers-zap-768x659.png 768w\" sizes=\"auto, (max-width: 869px) 100vw, 869px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-tickets-actions\">Tickets Actions<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-search-0\">Search<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Find Attendees: Find attendees in your connected WordPress site<\/li>\n\n\n\n<li>Find Tickets \/ RSVP: Find tickets \/ RSVP in your connected WordPress site<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"840\" height=\"508\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/ET_zap_actions_dashboard.png\" alt=\"\" class=\"wp-image-1960314\" style=\"width:627px;height:auto\" srcset=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/ET_zap_actions_dashboard.png 840w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/ET_zap_actions_dashboard-300x181.png 300w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/ET_zap_actions_dashboard-768x464.png 768w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><\/figure>\n\n\n\n<p><strong>Zap Templates<\/strong><\/p>\n\n\n\n<p>Take a look at the <a href=\"https:\/\/zapier.com\/apps\/event-tickets\/integrations#zap-template-list\" target=\"_blank\" rel=\"noreferrer noopener\">Zap Templates<\/a> (aka recipes) we have created for Tickets triggers to give you a sense of the possibilities.<\/p>\n\n\n\n<p>Best of all, you can customize the templates to match your workflow!<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-available-fields-for-attendee-and-check-in-triggers\">Available fields for &#8216;Attendee&#8217; and &#8216;Check-In&#8217; triggers:<\/h4>\n\n\n\n<figure class=\"wp-block-table has-small-font-size\"><table class=\"has-fixed-layout\"><thead><tr><th>Field<\/th><th>Data type<\/th><\/tr><\/thead><tbody><tr><td><code>id<\/code><\/td><td><code>integer<\/code><\/td><\/tr><tr><td><code>holder_name<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td><code>holder_email<\/code><\/td><td><code>email<\/code><\/td><\/tr><tr><td><code>ticket_id<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td><code>security_code<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td><code>attendee_meta<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td>&nbsp;&nbsp;&nbsp;&nbsp;<code>slug<\/code> (for each attendee information field)<\/td><td><code>string<\/code><\/td><\/tr><tr><td>&nbsp;&nbsp;&nbsp;&nbsp;<code>label<\/code> (for each attendee information field)<\/td><td><code>string<\/code><\/td><\/tr><tr><td>&nbsp;&nbsp;&nbsp;&nbsp;<code>value<\/code> (for each attendee information field)<\/td><td><code>string<\/code><\/td><\/tr><tr><td><code>check_in<\/code><\/td><td><\/td><\/tr><tr><td><code>optout<\/code><\/td><td><code>boolean<\/code><\/td><\/tr><tr><td><code>user_id<\/code><\/td><td><code>integer<\/code><\/td><\/tr><tr><td><code>is_subscribed<\/code><\/td><td><code>boolean<\/code><\/td><\/tr><tr><td><code>is_purchaser<\/code><\/td><td><code>boolean<\/code><\/td><\/tr><tr><td><code>purchaser_name<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td><code>purchaser_email<\/code><\/td><td><code>email<\/code><\/td><\/tr><tr><td><code>provider<\/code> (woo, edd, rsvp &#8211; string)<\/td><td><code>string<\/code><\/td><\/tr><tr><td><code>ticket<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td><code>ticket_product_id<\/code><\/td><td><code>integer<\/code><\/td><\/tr><tr><td><code>order_id<\/code><\/td><td><code>integer<\/code><\/td><\/tr><tr><td><code>order_status<\/code><\/td><td><code>slug<\/code><\/td><\/tr><tr><td><code>event_id<\/code><\/td><td><code>integer<\/code><\/td><\/tr><tr><td><code>event_title<\/code><\/td><td><code>string<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>NOTE: <\/strong>For WooCommerce orders, the<code> customer_email<\/code> field is the logged-in user email instead of the customer email entered during checkout, so anonymous users always get an empty customer email for WooCommerce orders.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-available-fields-for-new-order-trigger\">Available fields for &#8216;New Order&#8217; trigger:<\/h4>\n\n\n\n<figure class=\"wp-block-table has-small-font-size\"><table class=\"has-fixed-layout\"><thead><tr><th>Field<\/th><th>Data type<\/th><\/tr><\/thead><tbody><tr><td><code>id<\/code><\/td><td><code>integer<\/code><\/td><\/tr><tr><td><code>order_id<\/code><\/td><td><code>integer<\/code><\/td><\/tr><tr><td><code>order_number<\/code><\/td><td><code>integer<\/code><\/td><\/tr><tr><td><code>order_date<\/code><\/td><td><code>date and time<\/code><\/td><\/tr><tr><td><code>status<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td><code>shipping_total<\/code><\/td><td><code>numeric<\/code><\/td><\/tr><tr><td><code>shipping_tax_total<\/code><\/td><td><code>numeric<\/code><\/td><\/tr><tr><td><code>tax_total<\/code><\/td><td><code>numeric<\/code><\/td><\/tr><tr><td><code>discount_total<\/code><\/td><td><code>numeric<\/code><\/td><\/tr><tr><td><code>order_total<\/code><\/td><td><code>numeric<\/code><\/td><\/tr><tr><td><code>order_currency<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td><code>payment_method<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td><code>shipping_method<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td><code>customer_id<\/code><\/td><td><code>integer<\/code><\/td><\/tr><tr><td><code>customer_user<\/code><\/td><td><code>integer<\/code><\/td><\/tr><tr><td><code>customer_email<\/code><\/td><td><code>email<\/code><\/td><\/tr><tr><td><code>billing_first_name<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td><code>billing_last_name<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td><code>billing_company<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td><code>billing_email<\/code><\/td><td><code>email<\/code><\/td><\/tr><tr><td><code>billing_phone<\/code><\/td><td><code>phone<\/code><\/td><\/tr><tr><td><code>billing_address_1<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td><code>billing_address_2<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td><code>billing_postcode<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td><code>billing_city<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td><code>billing_state<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td><code>billing_country<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td><code>shipping_first_name<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td><code>shipping_last_name<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td><code>shipping_company<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td><code>shipping_email<\/code><\/td><td><code>email<\/code><\/td><\/tr><tr><td><code>shipping_address_1<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td><code>shipping_address_2<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td><code>shipping_postcode<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td><code>shipping_city<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td><code>shipping_state<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td><code>shipping_country<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td><code>customer_note<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td><code>items<\/code> (comma separated)<\/td><td><code>string<\/code><\/td><\/tr><tr><td>&nbsp;&nbsp;&nbsp;&nbsp;<code>id<\/code><\/td><td><code>integer<\/code><\/td><\/tr><tr><td>&nbsp;&nbsp;&nbsp;&nbsp;<code>key<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td>&nbsp;&nbsp;&nbsp;&nbsp;<code>value<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td><code>variation_id<\/code><\/td><td><code>integer<\/code><\/td><\/tr><tr><td><code>tax<\/code><\/td><td><code>numeric<\/code><\/td><\/tr><tr><td><code>tax_class<\/code><\/td><td><code>string<\/code><\/td><\/tr><tr><td><code>tax_status<\/code><\/td><td><code>string<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-adding-custom-fields-to-your-zaps\">Adding custom fields to your Zaps<\/h4>\n\n\n\n<p><br>If you&#8217;re seeking to expand the fields available for your zaps, consider utilizing the following filters:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li class=\"has-medium-font-size\"><code>tec_automator_map_tickets_commerce_order_details<\/code><\/li>\n\n\n\n<li><code>tec_automator_map_edd_order_details<\/code><\/li>\n\n\n\n<li><code>tec_automator_map_woo_order_details<\/code><\/li>\n\n\n\n<li><code>tec_automator_map_attendee_details<\/code><\/li>\n<\/ul>\n\n\n\n<p><strong><strong><strong><strong><strong><strong>A code example:<\/strong><\/strong><\/strong><\/strong><\/strong><\/strong><\/p>\n\n\n\n<p>Imagine you&#8217;ve added some custom fields to your attendee info and want them accessible in Zapier for automation. You can use the <code>tec_automator_map_attendee_details<\/code> filter. Here&#8217;s a snippet to kickstart things for you.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\nfunction tec_automator_attendee_custom_fields( $attendee_data, $attendee ) {\n\t$attendee_id = $attendee&#x5B; &#039;attendee_id&#039; ];\n\n\t\/\/ Get the serialized array from the postmeta table\n\t$serialized_data = get_post_meta( $attendee_id, &#039;_tec_tickets_commerce_attendee_fields&#039;, true );\n\tif ( empty( $serialized_data ) ) {\n\t\treturn $attendee_data;\n\t}\n\n\t\/\/ Define custom fields to include\n\t$fields_to_include = &#x5B; &#039;field1&#039;, &#039;field2&#039; ];\n\t$meta_fields       = &#x5B;];\n\n\t\/\/ Loop through serialized data and extract selected fields\n\tforeach ( $serialized_data as $field_name =&gt; $field_value ) {\n\t\tforeach ( $fields_to_include as $label ) {\n\t\t\tif ( strpos( $field_name, $label ) !== false ) {\n\t\t\t\t$meta_fields&#x5B; $label ] = $field_value;\n\t\t\t}\n\t\t}\n\t}\n\n\t\/\/ Merge the selected fields into the attendee data\n\t$attendee_data&#x5B; &#039;attendee_metadata&#039; ] = $meta_fields;\n\n\treturn $attendee_data;\n}\n\nadd_filter( &#039;tec_automator_map_attendee_details&#039;, &#039;tec_automator_attendee_custom_fields&#039;, 10, 2 );\n<\/pre><\/div>\n\n\n<p><strong>Some notes<\/strong><\/p>\n\n\n\n<p>Where do the <code>field1<\/code> and <code>field2<\/code> come from? &#8211; you might ask. A fair question.<\/p>\n\n\n\n<p>When a ticket which has attendee information is purchased, then all the data will be saved with the attendee. The attendee information will be saved in the <code>wp_postmeta<\/code> table with the <code>_tec_tickets_commerce_attendee_fields<\/code> meta key. The meta value will be the attendee information in serialized form. For example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">a:3:{s:10:\"first-name\";s:4:\"John\";s:9:\"last-name\";s:3:\"Doe\";s:13:\"email-address\";s:18:\"john.doe@email.com\";}<\/pre>\n\n\n\n<p>This would come from attendee field with the labels &#8220;First Name&#8221;, &#8220;Last Name&#8221;, and &#8220;Email address&#8221;. The labels are transformed into lowercase, and the spaces are replaced with a <code>-<\/code>. These will be the labels in the snippet.<\/p>\n\n\n\n<p>So line 11 could look like this:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; first-line: 11; title: ; notranslate\" title=\"\">\n$fields_to_include = &#x5B; &#039;first-name&#039;, &#039;last-name&#039;, &#039;email-address&#039; ];\n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"<p>Creating Zaps is easy using the built-in features of Events Calendar Pro and Event Tickets Plus. But what if you need to customize your automation to match your specific workflow? We&#8217;ve got you covered with two specialized Zapier Apps: Let&#8217;s explore what each app offers to enhance your automation experience. The Events Calendar Zapier App&#8230;<\/p>\n","protected":false},"author":3,"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":[24,46],"tags":[47],"stellar-product-taxonomy":[182],"class_list":["post-1954758","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-customizing","category-integrations","tag-integrations","stellar-product-taxonomy-event-automator"],"acf":[],"taxonomy_info":{"category":[{"value":24,"label":"Customizations"},{"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":"Jaime Marchwinski","author_link":"https:\/\/theeventscalendar.com\/knowledgebase\/author\/jaimetri-be\/"},"comment_info":0,"category_info":[{"term_id":24,"name":"Customizations","slug":"customizing","term_group":0,"term_taxonomy_id":24,"taxonomy":"category","description":"","parent":0,"count":157,"filter":"raw","term_order":"0","cat_ID":24,"category_count":157,"category_description":"","cat_name":"Customizations","category_nicename":"customizing","category_parent":0},{"term_id":46,"name":"Integrations","slug":"integrations","term_group":0,"term_taxonomy_id":46,"taxonomy":"category","description":"","parent":0,"count":82,"filter":"raw","term_order":"0","cat_ID":46,"category_count":82,"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":14,"filter":"raw","term_order":"0"}],"_links":{"self":[{"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1954758","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=1954758"}],"version-history":[{"count":40,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1954758\/revisions"}],"predecessor-version":[{"id":1968360,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1954758\/revisions\/1968360"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/media\/1955565"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=1954758"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/categories?post=1954758"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/tags?post=1954758"},{"taxonomy":"stellar-product-taxonomy","embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/stellar-product-taxonomy?post=1954758"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}