Hello,
I'm trying to import database input from wix to zapier and also from zapier to Database live.
How can I do those triggers? I think I need to use hooks, someone can make a example code?
Thank you very much
Edoardo
Important forum update
This forum is migrating to one unified Wix community forum starting July 26th, and will be read-only during the process.
Wishlist Page is the official platform for requesting new features. You can vote, comment, and track the status of the requested features.
Hi Edoardo,
To update Zapier every time your collection changes you will need to add a hook for afterInsert/afterUpdate that uses fetch to update zapier's end-point.
To learn about hooks see here
https://www.wix.com/code/reference/wix-data.Hooks.html
https://support.wix.com/en/article/accessing-3rd-party-services
Allowing an external resource to update a site collection is achieved by implementing http-functions.
https://www.wix.com/code/reference/wix-http-functions.html