Approval process using gmail

Hi all,

I am trying to create an approval process through gmail where I sent a sample content to a specified user with the choice to accept or reject that content. How can I get the response back from gmail? Suppose the user accepts the request, can I get the response back in my Make workflow?

Thanks in advance!

Screenshot (277)

Hey @J_C

I would approach this by creating a make scenario with a webhook. Each “button” in the email will be <a href="https://us1.make.com/path/to/webhook?someRecord=1234&action=approve">Approve</a> or <a href="https://us1.make.com/path/to/webhook?someRecord=1234&action=deny">Deny</a>

That is, you’ll include important IDs in the webhook URL so that when your scenario is triggered it can fetch CRM/DB records using the someRecord=12334 value; and then the rest of your scenario will depend on the action=approve or action=deny value in the button links.

Finally, your scenario would have a webhook response, which will display “Thanks”. Or, if you set the status code to 302, and add a header “Location” then the value can be a URL to redirect to.

I talked about this idea of using webhook responses to send 302 redirects in this video at about the 21.5m mark where we redirect to a Thank You page after a form submission https://www.youtube.com/watch?v=dj6ktsdgHJw&t=1296s - so that might help explain it, if I wasn’t clear above.

Cheers!
Dr Nic

4 Likes

Thanks @drnic! Will try this out

1 Like

Actually this was a good topic and I decided to make a video about it https://www.youtube.com/watch?v=Hou2JygtJb4

Thanks @J_C

2 Likes