Form response
How to send email confirmation to responder
First of all, you need to make sure that your form has a field where people can write their e-mail addresses. This field should be mandatory because the app can’t send replies if you don’t have their e-mail addresses.
Then follow the below steps to define the rule (assume the email address in column B):
- Create a Form Response trigger on the sheet where you store the response
- Create a Send Email action
- Type the column variable in the To field of the action. For example:
{column_B}
You can personalize your email message by pulling data from the response. Please refer to Email notification
How to send edit url to responder
To send the response url to the submitter for further change:
- Create a Form Response trigger on the response sheet
- Check the
Save edit url
option (this will insert the edit url to your form response sheet) - Use the column variable to pull out the data of edit url and use it in your email message
Note you need to enable Allow response editing
in Form Settings, otherwise the form response is not editable.
How to move the latest response to the top of the sheet
By default, the form response is appended to the bottom of the sheet.
You can use Move Row action to move the latest response to the top of the sheet.
Steps:
- Create a Form Response trigger on the sheet where you store the answers
- Create a Move Row action
- Select the same sheet in the sheet field of the action
- Select “insert before” in Row position option and type 1 in Row number Field
Another approach is using Sort Sheet action to sort the timestamp column.
How to update any data of the form resppnse
This is same as appending data to a normal row:
- Create a Form Response trigger on the response sheet
- Add an Update Row action to insert the needed data to the column of the current row
Note you can use variable to copy data or write a formula to import data from anywhere of the spreadsheet.
How to notify responder when they have submitted multiple responses
We will need to leverage the power of Google sheets formula. Assuming B is the column where reponder email is saved and H is the column where we insert additional formula.
- Create a Form Response trigger on the response sheet
- Add an Update Row Action to insert column H with value
=countif($B$2:B,B{row_number})
- Add a Delay Action to wait 10 seconds
- Add a Conditional Action to send email when the value of the aggregation column is more than 1
The formula =countif($B$2:B,B{row_number})
will aggregate the responses from second row to the current row based on email address and produce the total number.
How to delete or archive form responses received 7 days ago
When form responses are expired, they can be automatically deleted or archived with daily scheduler.
- Create a scheduler trigger with type as
Daily
and trigger mode asTrigger on every matched row
- Add a Column Condition to check if the timestamp in column A is before
{today()-7}
- Add a Delete Row action to delete the triggering row