Is there more detailed documentation for webhooks available somewhere? What data is transferred? For example, in a webhook of type: "Event" and action: "reservation completed" is there information about the combination of the category "Price category" and "Price by date"? is only a specific event or the entire history passed - what might it look like when unpacking the JSON from the Zapier test response.
It would be quite helpful to be able to skip the reverse engineering and rely on clear documentation
First of all, there is no list of WP hooks in the link you sent me. Just sentences: "Learn more about using WordPress actions and assigning your functions to actions in the WordPress Codex. Here we will provide you with a list of actions defined in the Amelia plugin that you can use to customize for your needs. Please note that using hooks requires a certain level of programming skills and the included support is for guidance only." Nothing more. No list with description
Secondly, I asked for documentation for WEB HOOK, which can be configured in the settings - Integrations. And which you use in the video to integrate with Zapier. I dug up JSON from this example, in which at first glance I do not see the dependencies I wrote about. It also seems that you are passing the complete history of events every time, not the data related to the current event.
I apologize for the confusion! It seems there was an issue with the information provided. You're right; the list of WP hooks wasn't included, and I understand you're specifically asking about the Web Hook in the Amelia > Settings > Integrations section.
The Web Hook integration does send event data, but it might not always filter to just the current event depending on how it's set up. It’s important that the JSON you're using matches the parameters of the event you're targeting.
If you need more details or guidance on setting up the Web Hook properly with Zapier or filtering the data for specific events, please let me know! I'll help you get that sorted out.
Thank you. My task is simple. In Amelia, I will enable multiple ticket types for events. When ordering (and after paying with woocommerce) I want to find out which variant the customer bought and take some actions based on that. For example, add him to the correct member section and add him to the Mailpoet email list. If he cancels / cancels the reservation, then remove him. I thought I would arrange it using a webhook that will pass me the necessary information and I will process it using my own script.
That makes sense! You can achieve this by using Amelia’s webhooks to send event booking details to your script. The webhook will pass the ticket type, and you can then process it to add/remove users from the correct membership section and MailPoet list.
You’ll want to set up webhooks under Amelia > Settings > Notifications > Webhooks and configure them for both booking creation and cancellation. Your script can then handle the received data and trigger the necessary actions.
Let me know if you need help setting up the webhook or processing the data!
Yes, I know. The question is, what data and in what structure do I get so that I can process it. Basically, I want to be able to get the contact, name, event id, type and ID of the purchased or returned ticket. I am not able to find this information.
An alternative is an SQL query to the database. Then a db schema with links and information on what to look for in which table would be useful.
You can use this filter if you want the data you requested to appear under the "additionalData" key in Zapier. Alternatively, you can see where we extracted that data from and receive it under the same keys in your Zapier without adding the filter.
<?php function my_custom_function($data) { $additionalData = null; if (!empty($data['bookings'][0])) { $additionalData['eventId'] = $data['event']['id']; $additionalData['customer'] = $data['bookings'][0]['customer']; $additionalData['ticketsData'] = $data['bookings'][0]['ticketsData']; }
Thank you very much. I apologize if I expressed myself badly. I was not interested in working in Zapier any further. I used Zapier because it was the only source of information for the web hook on your website and for understanding the data. When I tried it, I got: 1. data for multiple orders 2 a complicated structure from which it was not clear to me which specific variant of the product the customer purchased, only information that there are multiple variants. Maybe I am reading the structure incorrectly That is why I am looking for the documentation for the web hook. What data structure does it return for which events. An option for me is to use CRON to run a PHP script that processes the SQL query and performs the necessary actions. For example, assigns membership or adds to the Mailpoet list.
Can you please provide us with information about the flow you are using so we can point you in the right direction?
For example, do you use events or services? From your inquiry, it seems that when someone books an event or appointment on your site, you want to perform certain actions. This is achievable with WP hooks that Amelia provides—we just need a bit more information about your booking flow.
Here is more information in regards to your question.
In the webhook you should receive an object with two properties, event and bookings. Under event, there is an array called bookings which will have every booking of the event. In the bookings array of the main object, there will only be bookings which are affected in this webhook. For example, in the Booking Completed webhook it will only contain one element (the current booking being made). If you are deleting multiple bookings at the same time, it will contain an array of bookings in the Booking Canceled webhook. So, in Booking Completed webhook you can use $data['bookings'][0]['customer'] which will contain all customer information:
Is there more detailed documentation for webhooks available somewhere? What data is transferred? For example, in a webhook of type: "Event" and action: "reservation completed" is there information about the combination of the category "Price category" and "Price by date"? is only a specific event or the entire history passed - what might it look like when unpacking the JSON from the Zapier test response.
It would be quite helpful to be able to skip the reverse engineering and rely on clear documentation
Thank youpetr
Hello Petr,
Thank you for reaching out to us.
For that purpose, you can take a look at the following documentation for this.
Let me know if that works for you or not.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
First of all, there is no list of WP hooks in the link you sent me. Just sentences: "Learn more about using WordPress actions and assigning your functions to actions in the WordPress Codex. Here we will provide you with a list of actions defined in the Amelia plugin that you can use to customize for your needs. Please note that using hooks requires a certain level of programming skills and the included support is for guidance only." Nothing more. No list with description
Secondly, I asked for documentation for WEB HOOK, which can be configured in the settings - Integrations. And which you use in the video to integrate with Zapier. I dug up JSON from this example, in which at first glance I do not see the dependencies I wrote about. It also seems that you are passing the complete history of events every time, not the data related to the current event.
Hi Petr,
I apologize for the confusion! It seems there was an issue with the information provided. You're right; the list of WP hooks wasn't included, and I understand you're specifically asking about the Web Hook in the Amelia > Settings > Integrations section.
The Web Hook integration does send event data, but it might not always filter to just the current event depending on how it's set up. It’s important that the JSON you're using matches the parameters of the event you're targeting.
If you need more details or guidance on setting up the Web Hook properly with Zapier or filtering the data for specific events, please let me know! I'll help you get that sorted out.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Thank you.
My task is simple. In Amelia, I will enable multiple ticket types for events. When ordering (and after paying with woocommerce) I want to find out which variant the customer bought and take some actions based on that. For example, add him to the correct member section and add him to the Mailpoet email list. If he cancels / cancels the reservation, then remove him. I thought I would arrange it using a webhook that will pass me the necessary information and I will process it using my own script.
Hello Petr,
That makes sense! You can achieve this by using Amelia’s webhooks to send event booking details to your script. The webhook will pass the ticket type, and you can then process it to add/remove users from the correct membership section and MailPoet list.
You’ll want to set up webhooks under Amelia > Settings > Notifications > Webhooks and configure them for both booking creation and cancellation. Your script can then handle the received data and trigger the necessary actions.
Let me know if you need help setting up the webhook or processing the data!
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Yes, I know. The question is, what data and in what structure do I get so that I can process it. Basically, I want to be able to get the contact, name, event id, type and ID of the purchased or returned ticket. I am not able to find this information.
An alternative is an SQL query to the database. Then a db schema with links and information on what to look for in which table would be useful.
Hello Petr,
Thank you for your patience. I'll gather the necessary information for you and get back to you as soon as possible.
In the meantime, if you have any more questions or need further details, feel free to reach out.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Thank you very much
Petr
Hello Petr,
Thank you for your patience.
I have passed this question to our developers and we will provide you with an update as soon as we have one.
Thank you for your patience.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hello Petr,
You can use this filter if you want the data you requested to appear under the "additionalData" key in Zapier. Alternatively, you can see where we extracted that data from and receive it under the same keys in your Zapier without adding the filter.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Thank you very much.
I apologize if I expressed myself badly. I was not interested in working in Zapier any further. I used Zapier because it was the only source of information for the web hook on your website and for understanding the data.
When I tried it, I got:
1. data for multiple orders
2 a complicated structure from which it was not clear to me which specific variant of the product the customer purchased, only information that there are multiple variants. Maybe I am reading the structure incorrectly
That is why I am looking for the documentation for the web hook. What data structure does it return for which events.
An option for me is to use CRON to run a PHP script that processes the SQL query and performs the necessary actions. For example, assigns membership or adds to the Mailpoet list.
Helo Petr,
Thanks for the update on this.
We will take a look into this and let you know as soon as possible.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hello Petr,
Can you please provide us with information about the flow you are using so we can point you in the right direction?
For example, do you use events or services? From your inquiry, it seems that when someone books an event or appointment on your site, you want to perform certain actions. This is achievable with WP hooks that Amelia provides—we just need a bit more information about your booking flow.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hello Petr,
Here is more information in regards to your question.
In the webhook you should receive an object with two properties, event and bookings. Under event, there is an array called bookings which will have every booking of the event. In the bookings array of the main object, there will only be bookings which are affected in this webhook. For example, in the Booking Completed webhook it will only contain one element (the current booking being made). If you are deleting multiple bookings at the same time, it will contain an array of bookings in the Booking Canceled webhook. So, in Booking Completed webhook you can use $data['bookings'][0]['customer'] which will contain all customer information:
customer email: $data['bookings'][0]['customer']['email']
event id: $data['event']['id']
an array of tickets that customer purchased (you can see quantity under 'persons'): $data['bookings'][0]['ticketsData']
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Thank you very much