A google AppScript that sends an email to a form submitter, according to their form answer.
Submitting a form, saves the data in a spreadsheet and triggers a reply email.
The reply's body is taken form an HTML template made for every possible status.
The reply also covers a fallback for cases in which the recepients' email client doesn't supprt HTML.
- JavaScript (AppScript)
- HTML
There are a few things necessary for this to work:
- create a google sheet that will save all data.
- Add a google form that will pass data into the spreadsheet. Tools > Create a from
Format and design the form you created to get all the necessary data from the submitter.
Add an HTML file with the email body for each status you wish to target in the submitted form.
Add a trigger event for the function:
- Event Source > From spreadshhet
- Event Type > On form submit