If you have activated another script/add-on that is triggered upon form submission, you might want this script to finish its work before beginning the mail merge.
Some general use cases
For example, you can use this delay mail merge option to:
- Wait until a particular calculation is made in one column based on the data entered by the user + some other variables.
- Wait until a file is created so it can be attached to the email.
How to activate this delay option?
In the configuration panel for notification rules, you can see a checkbox 'Wait until a specific column is filled before sending the email'. Check this box, select the appropriate column to control and save.
When the mail merge begins, if the value is missing in the column that you have selected, it will wait for 60 seconds to let another process to complete its task, and then start the merge.
If for some reason the other process can't finish during those 60 seconds, an error will be displayed, but no mail will be sent. Next time someone submit a form, it will try again on all rows tagged with an error.