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?
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.