Hi Kklo, @kklo
I want to know if there is any way to identify each one as a payload, because I need to identify each action for Make’s webhooks (integromat)
You can use both the Webhook name and API Key parameters to differentiate and identify your Webhooks! You can learn more about receiving data from Make (Integromat) here: https://wp-webhooks.com/docs/knowledge-base/integrate-integromat-with-wp-webhooks/.
I hope this helps so far!
All the best,
-Omar
Thread Starter
kklo
(@kklo)
Hi, @omarfpg
but the purpose is not to receive data from Make, it is exactly the opposite.
WordPress sends data to Make. The question is how is the data differentiated by the plugin so that it can be recognized individually by Make?
I found a document on sending data from WP to Make, but when there are several actions, such as: Creating, Editing and Deleting a Post, there is nothing on this subject.
Do I use the same URL? Do I create a new scenario for each action?
-
This reply was modified 1 year, 2 months ago by
kklo.
Hi @kklo,
Thank you for your reply. Similarly, you can create more Webhook URLs for Make to use in every case, however you should be fine with just one, too, as you pass the action as a parameter in the URL. You can decide to work in either way, it’ll work fine for you! =)
Here’s the relevant docs for using our Actions (receiving data): https://wp-webhooks.com/docs/knowledge-base/what-are-wp-webhooks-actions/.
I hope this helps so far!
All the best,
-Omar
Thread Starter
kklo
(@kklo)
Hi, @omarfpg
But as I said before, I need to send posts, I DON’T want to receive posts.
Hi @kklo,
Apologies. You want to look into the Triggers option to send data! Here’s a specific doc to send data to Make (Integromat): https://wp-webhooks.com/docs/knowledge-base/send-wordpress-data-to-make-integromat-with-wp-webhooks/, and the docs for the general use of the Triggers: https://wp-webhooks.com/docs/knowledge-base/what-are-wp-webhooks-triggers/.
You could consider using multiple URLs to properly define which trigger/payload is for each, however, if the triggers you’re looking to work with and differentiate are Post updated and Post deleted, while the payload is basically the same, the post status could help you learn which one is which, as deleting the posts would change their status accordingly! 🙂
I hope this helps so far!
All the best,
-Omar