How to Turn Google Form Responses into PDFs and Email Them
A common request: someone fills in a Google Form and should get back a PDF, like a receipt, a registration confirmation or a certificate of completion. Google Forms can't do that alone, and Workspace Studio's email step can't attach files. Here's how to do it with two DocFill steps.
1. Make the template
Create a Google Doc for the PDF and put the form answers in as placeholders, using names you'll recognize: {{name}}, {{course}}, {{today}}.
2. Build the flow
- Make a Google Doc that looks like the finished document and type placeholders where values go:
{{client}},{{amount}},{{date}}.{{today}}is filled with today's date automatically. - Install DocFill (button below) and open Google Workspace Studio.
- Start a flow from the event you want, such as a form is submitted or a row is added to a sheet.
- Add the step Fill a Doc template and save as PDF. The first time, click Allow files and choose your template (DocFill only opens files you allow).
- Pick the template, type a file name, and map each placeholder to a value from the flow, one per line:
client = (form answer). - Optional: add Send an email with attachments and attach the PDF from the previous step.
- Turn the flow on.
3. Email the PDF
In Send an email with attachments, set the recipient to the form respondent's email, write the subject and message (you can use form answers in both), and under Attachments pick PDF file ID from the previous step. Add Cc or Bcc if you want a copy.
Free: 25 runs a month. Fill a Docs template, save a PDF and email it with attachments, inside Google Workspace Studio.
Questions
Does the email come from my own Gmail?
Yes. DocFill sends from your account. It can send email but can never read, search or delete your mail.
Can I attach other files too?
Yes. Any Drive file you allow can be attached. Google Docs, Sheets and Slides files are attached as PDFs.
Does it work with Google Sheets instead of Forms?
Yes. Start the flow from a new or changed row and map the columns to placeholders.