Automatically Send a PDF email attachment

How to automatically send a PDF file as an email attachment when a Google Forms response is submitted?

When a new Google form response is submitted, you can automatically generate an email with a PDF file attachment. This feature is available from the Google Sheets version of Mail Merge add-on. 

Video tutorial

Watch this quick tutorial or follow the step-by-step instructions below to find out how to automatically generate a PDF email attachment when a new Google Forms response is submitted.

Coming soon

Merge to letters

If you do not know how to merge to letters from Google Sheets using Mail Merge add-on, read this article .

Step 1: Create or use existing Google form

Create or use an existing Google form.

Step 2: Link Google form to Google Sheets

Link Google form responses to Google Sheets.

Step 3: Start Mail Merge add-on in Google Sheets

Start Mail Merge add-on in Google Sheets by clicking on Extensions > Mail Merge > Start to open the Mail Merge dialog box. A new column called Filter Rows to Merge is created automatically.

Step 4: Create mail merge template 

Click on the To Letters tab, and then either:

The Google Docs mail merge template serves as the basis for your merged Google Docs and PDF files.

Below is an example of a Google Docs mail merge template.

Step 5: Select Send new file as a PDF Attachment to email

From the On a Google Form Submit drop-down menu, select Send new file as a PDF Attachment to email.

Step 6: Select name for PDF file attachment

Select a name for the PDF file attachment from the Merged Document Name drop-down menu. In this example, Email Address is selected as the name of the PDF file attachment.

Step 7: Configure email settings

Click on the To Emails tab, and then configure the email settings (read this article for more details).

Step 8: Create body template

Click on New, create the email body template using the merge fields, and then click on Save to save the changes.

Step 9: Save changes

Click on Save to save all the changes in both tabs (To Emails and To Letters).

Below is an example of an email generated with an attached PDF file, after a Google form is submitted.