Tiny Lever

How to Fill a Google Docs Template and Save It as a PDF Automatically

Copying a template, typing in the client's details and downloading a PDF takes a few minutes each time. If it happens every time a form comes in or a row is added, you can let Google Workspace Studio do it.

What you need

Set it up

  1. 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.
  2. Install DocFill (button below) and open Google Workspace Studio.
  3. Start a flow from the event you want, such as a form is submitted or a row is added to a sheet.
  4. 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).
  5. Pick the template, type a file name, and map each placeholder to a value from the flow, one per line: client = (form answer).
  6. Optional: add Send an email with attachments and attach the PDF from the previous step.
  7. Turn the flow on.

Placeholders are filled everywhere in the document, including tables, headers and footers. The PDF is saved to your Google Drive; you can keep the filled Google Doc too.

DocFill: Doc Template to PDF for Workspace Studio

Free: 25 runs a month. Fill a Docs template, save a PDF and email it with attachments, inside Google Workspace Studio.

Install free

Questions

Can Workspace Studio make a PDF from a template on its own?

No. Studio's built-in steps can't fill a Docs template or create a PDF. DocFill adds that step.

Does it need access to my whole Google Drive?

No. DocFill uses the narrowest Drive permission: it only opens the templates and attachments you allow, plus the files it creates.

How many documents can I make for free?

25 step runs a month on the free plan. Pro is unlimited.