Question

Putting Webhooks in emails to trigger actions

  • 22 December 2021
  • 2 replies
  • 24 views

Userlevel 1

I’m looking to use Zapier to trigger something like a drip campaign, wherein the recipient will have multiple options to click on. Some of those options I’d like to be able to capture back into a Zap to push data to an airtable. So the rough workflow is…

 

  1. Generate Email from airtable content [done]
  2. Add trigger Webhook links to Email [stuck]
  3. Send email [done]
  4. If user clicks on any Webhook link, update a row in Airtable [stuck]

Anyone have any pointers? I’m basically stuck on the first part of getting Webhooks integrated.

Thank you!


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

2 replies

Userlevel 7
Badge +14

Hi @neeraga 

If you use a proper email tracking app, then many of those have triggers for opens/clicks/etc.

Example with Mailgun: https://zapier.com/apps/mailgun/integrations#triggers-and-actions

 

Userlevel 3
Badge +4

Hi @neeraga! Would you also like to show the user a page with text for confirmation after pressing the link?

If you’re familiar with coding, you can execute the post request when the page is loaded. Some links that might help:

https://stackoverflow.com/questions/2920129/can-i-run-javascript-before-the-whole-page-is-loaded/2920207

https://stackoverflow.com/questions/6396101/pure-javascript-send-post-data-without-a-form

I hope this helps! If you’re not sure how to do this yourself, you can send me a message :)