Custom API Trigger for Automations
I would like to make use of API to set up a custom trigger for Automations.
-
AdminDavid
(Product Manager, Mailgun)
commented
Hi Barnaby,
Thank you for your feature request! I'm excited to let you know that this functionality is available in our automation platform.You can set up custom API triggers using our External events (Webhooks) feature. This allows your system to send a custom event (such as purchase_completed) directly to Mailjet via API. You can use this to either trigger a brand-new automation workflow for a contact or move a contact forward through an existing workflow.
You can find the complete guide including how to configure the Start and Event blocks in the builder and the exact POST request payload you'll need in our documentation here:
Email Automation - External Events ( https://documentation.mailjet.com/hc/en-us/articles/35021196504219-Email-Automation#h_01KFAS88NGJQZXYVN1WFZRSYZA )
Please let us know if you have any questions or feedback as you set this up!Best regards,
David(Edited by admin) -
Kevin Tucker commented
See how Vero handles this. Segment provides a beautiful abstraction for events. If we can create automations according to events it will help a lot. E.g. when a user subscribes, or if a user performs a specific action X number of times in Y days, etc.
-
Antonio Gallo
commented
Also a way to remove user from automation, i.e. when it purchase
-
Antonio Gallo
commented
I was wondering why there is no such API!