Skip to content
Digital Inspiration DocsDigital Inspiration Docs

The Fill PDF Forms task in Document Studio takes a fillable PDF from Google Drive and fills it in once for every row in your sheet, or for every new Google Forms response. Use it when the form already exists and you have to use it as it is: a tax form, an insurance claim, a school admission form or your HR department’s onboarding packet.

If you’re designing the document yourself, start from a Google Docs template instead. See Create Documents.

Northwind Logistics hires a few people every week. Each new hire fills in a short Google Form, and HR used to copy the answers into the company’s Employee Information Form PDF by hand. With Document Studio, every response turns into a filled PDF with the answers, a ticked checkbox, the person’s photo and their signature. HR gets the PDF in an email.

This is what Document Studio produces for Daniel Okafor, the first response:

The Northwind Employee Information Form filled in for Daniel Okafor, with his photo at the top right, Full-time selected, the Code of Conduct box ticked and his signature above the signature line
Every field, the photo and the signature come from Daniel's form response.

To follow along, download the blank form and upload it to your Google Drive.

You need:

  • A fillable PDF in Google Drive. A fillable PDF has boxes you can click and type into. Open the PDF in Chrome or Adobe Acrobat Reader and click a blank line. If a text cursor appears in a box, the form is fillable.
  • A Google Sheet with your data, or a Google Form linked to a sheet. Document Studio reads the answers from the sheet.
  • Document Studio installed in Google Sheets.

Each answer in your sheet goes into one field of the PDF. For the Northwind form, the Google Form questions match the PDF fields like this:

Google Form question (sheet column) Daniel’s answer PDF field Field type
Full Name Daniel Okafor Full Name Text
Job Title Warehouse Supervisor Job Title Text
Department Warehouse Department Dropdown
Start Date January 12, 2027 Start Date Text
Employment Type Full-time Employment Type Choice
I have read the Code of Conduct Yes Code of Conduct Checkbox
Photo Drive link to the uploaded file Image, top right Image
Signature Drive link to the uploaded file Image, on the signature line Image

The column titles don’t have to match the PDF field names. You pick a column for each field in the task.

  1. Open the Google Sheet that holds the form responses. Open the Extensions menu and choose Document Studio > Open.

  2. Click Create Workflow. Type a Name, such as New hire forms, choose the sheet with the responses under Source Worksheet, and click Continue.

  3. On the Conditions screen, click Continue to fill a PDF for every response. To fill it only for some rows, such as one department, add a condition first.

  4. On the Tasks screen, choose Fill PDF Forms from the list of tasks.

  5. Under PDF Template, click the folder icon and choose Employee Information Form.pdf from Google Drive.

    Document Studio reads the PDF and shows a message such as 11 form fields found. The Field Mapping table lists every field it found.

The Field Mapping table has two columns. Form Field is the name of a field inside the PDF. Mapped Value is what goes into it.

  1. Click the Mapped Value box next to Full Name and choose the Full Name column from the list of fields. The box shows {{Full Name}}.

  2. Do the same for every field you want filled. Leave a box empty to leave that field blank in the PDF.

  3. Mix fixed text and columns where it helps. For example, map Date Signed to {{Timestamp}} to use the date the form was submitted, or type Northwind Logistics into a company field so it’s the same on every copy.

Text fields take any text. The other field types only accept certain values:

Field type The value must be Example
Text Anything. If the PDF limits the number of characters, the extra characters are cut off. {{Full Name}}
Checkbox Yes, On, True, Y or OK (in any capitalisation) to tick the box. Anything else leaves it empty. Yes, or a sheet checkbox (TRUE)
Choice (radio buttons) Exactly the name of one of the choices in the PDF, with the same capital letters Full-time
Dropdown Exactly one of the options in the PDF’s list Warehouse

Text fields can’t hold pictures, so Document Studio places images on the page for you. Use this for a passport photo, a signature, a company logo or a QR code image.

Every image needs a box on the page: where its bottom-left corner sits (X and Y), and how big it can be (Width and Height). The numbers are in points. One point is 1/72 of an inch, so 72 points is one inch and about 28 points is one centimetre.

Unlike a spreadsheet, a PDF counts from the bottom-left corner of the page. X grows as you move right, and Y grows as you move up.

The blank Employee Information Form with two red boxes: the photo box at x 467, y 565, 100 wide and 120 high, and the signature box at x 40, y 228, 220 wide and 50 high. A red dot marks x 0, y 0 at the bottom-left corner of the page
X and Y place the bottom-left corner of each box. The image is scaled to fit the box without stretching.
  1. Under Embed Images, find the page size in the note below the table, such as The height of the page is 792 pixels and the width is 612 pixels. Document Studio calls points “pixels” here.

  2. Measure where the image should go. Open the PDF in a viewer with a ruler, or estimate from the page size: the Northwind photo box starts 1.6 inches from the left edge of a 8.5-inch page, which is about 467 points across.

  3. In the first row, type the X, Y, Width and Height of the box. For Daniel’s photo, that’s 467, 565, 100 and 120.

  4. If the PDF has more than one page, type the page number in Page. The first page is 1.

  5. In Image URL (or embed marker), choose the column that holds the picture, such as {{Photo}}. A new empty row appears when you fill in the last one, so you can add the signature the same way: 40, 228, 220, 50 and {{Signature}}.

  6. Click Preview, open the PDF it creates, and move a box a few points if the image isn’t quite in place.

The image keeps its shape. Document Studio scales it to fit inside the box and centres it, so a tall photo in a wide box gets space on both sides.

The image cell can hold:

  • A Google Drive link to an image file. Google Forms file upload answers are Drive links, so a photo or signature uploaded with the form works as it is.
  • A public link to a PNG or JPG image, such as https://example.com/logo.png.
Paper size Width × height in points
US Letter 612 × 792
A4 595 × 842
US Legal 612 × 1008

Once the PDF has at least one field, three more boxes appear next to PDF Template:

  • Output file name: for example, HR-104 {{Full Name}} saves Daniel’s form as HR-104 Daniel Okafor.pdf.
  • Google Drive Folder: the folder for the filled forms, such as HR. If you leave it empty, the forms go into a folder called Document Studio in your Drive.
  • Subfolder Path: folders inside it, built from the answers. New Hires/{{Department}} saves Daniel’s form in HR/New Hires/Warehouse. Document Studio creates folders that don’t exist yet.

Click Preview to fill the PDF with the first row of data, then click the View File link to open it. When it looks right, click Done.

  1. On the Tasks screen, click Add Another Task and choose Send Email.

  2. Type the HR team’s address in the To field, and a subject such as New hire form: {{Full Name}}, {{Department}}.

  3. Select Attach all merged files generated in this workflow. The filled PDF from the first task is attached to the email.

  4. Click Done, then Continue.

To send the PDF to the new hire instead, put their email column in the To field. See Send Emails for CC, BCC and other senders.

On the Save screen, choose when Document Studio fills the forms:

  • Run on Form Submit: fills the PDF as soon as a new response arrives. This option only appears when the sheet is linked to a Google Form.
  • Run workflow every hour: checks the sheet every hour for new rows. Use this when rows come from somewhere else, such as an import or another app.

Click Save & Run to fill PDFs for the rows already in the sheet, or Save & Close to wait for new ones.

Document Studio adds a column to your sheet whose name starts with [Document Studio] Fillable PDF Status. For each row, it shows a link to the filled PDF, so you can open any form from the sheet. See Triggers for the other ways to run a workflow.

Forms you download, such as the IRS W-9, often have field names like f1_01[0] instead of Full Name. To find out which name belongs to which box on the page, number the fields:

  1. Map each field to its own position in the list: type 1 into the first Mapped Value, 2 into the second, and so on.

  2. Click Preview and open the PDF. Each box now shows its number.

  3. Write down what each number is, such as 1 is the name line, then replace the numbers with your columns.

  • Each filled PDF counts as a document. It uses one of your plan’s documents, as Create File does.
  • The filled PDF can still be edited. The fields stay fillable, so anyone with the file can change an answer. When the answers must not change after signing, send the PDF for a digital signature, which gives you a signed copy that shows any later change.
  • Password-protected PDFs can’t be filled. Remove the password in Acrobat, then upload the file again.
  • Some fields aren’t listed. Document Studio fills text fields, checkboxes, choices and dropdowns. Read-only fields, digital signature fields and buttons are left as they are. Place a signature image over a signature field instead.
  • Letters outside English. Accented letters, Greek and Cyrillic fill in correctly. Chinese, Japanese and emoji don’t show up in the PDF.
  • Dates and numbers go into the PDF exactly as the sheet shows them. Set the format in Sheets with Format > Number before you run the workflow.
  • The template stays untouched. Each row gets its own copy, so you can reuse the same PDF in other workflows.

The PDF has no fillable fields, or every field is read-only. Check it in Chrome or Acrobat Reader as described in Before You Start, and make it fillable if you can’t type into it.

The PDF has a password or editing restrictions. Open it in Acrobat, remove the security under File > Properties > Security, save a copy and choose that copy as the template.

A checkbox, choice or dropdown stays empty

Section titled “A checkbox, choice or dropdown stays empty”

The value doesn’t match what the field accepts. A checkbox needs Yes or TRUE. A choice or dropdown needs one of its options, spelled exactly the same, including capital letters and hyphens: Full-time won’t match Full time. To see the options, open the PDF in Acrobat Reader and click the field.

The PDF limits that field to a number of characters, and Document Studio keeps only that many. Shorten the value in the sheet, or use a different field.

  • Open the link in the image column in a private browser window. If it asks you to sign in, the file isn’t shared with the account that runs the workflow.
  • A web link must open a PNG or JPG image. Links to WebP, SVG or GIF images, or to a web page that shows the image, are skipped.
  • The cell must hold the link itself. A cell with a file name, or with an =IMAGE() formula, has no link to read.

You saved the task without filling in any Mapped Value. Map at least one field.