I need to understand if I can place inside the body of the email I am sending with the gmail module a link that then will activate a second part of my scenario.
From a conceptual point of view I am in need to create the following flow
Google Form (Public) reservation Module
Email for internal use with two links/buttons one to approve one to refuse the request
Clicking the link will need to “trigger” two different emails
if I understood correctly I need to place the two links in the body of the email and then connect each of them to each scenario back in MAKE.
Is that correct?
Thank you
D
Yes, that is correct, just change the ID so you know who the link is for.
Don’t forget to check if the link was already clicked before (expired), so that users can only either approve or decline once. If an action was previously taken, you might want to send back a custom webhook error response.
did not understand the second part of your answer
“Don’t forget to check if the link was already clicked before (expired), so that users can only either approve or decline once. If an action was previously taken, you might want to send back a custom webhook error response.”
In future, please create a new thread for each question. This makes it easier for others with the same problem to search for the answer. Thank you for your cooperation!
The Make Community guidelines encourages users to try to mark helpful replies as solutions to help keep the Community organized.
This marks the topic as solved, so that:
others can save time when catching up with the latest activity here, and
allows others to quickly jump to the solution if they come across the same problem
To do this, simply click the checkbox at the bottom of the post:
I have one more question. I understand how to make it work with the webhook but it is not clear to me how I can make "make: (lol) to recognize in which email the webhook as been clicked.
I’ll explain myself better.
I am trying to achieve the following:
User fill a google form to book a valet service
Internal Staff receive the email with the request and clicks “Approve” or “Refuse” on the email.
If approved webhook is triggered and the reservation is added in google calendar and send a confirmation mail to the User.
Now again…how can make understand if the webhook clicked is the one of the request sent by user1 or user2?
before sending the email in the email template set the user email in query string in the webhook ,
?email=user1@gmail.com
and when they click you will have their email