# Make a Google Doc and PDF for every row in your sheet

[Español](https://pushbuild.com/es/free/scripts/doc-pdf-per-row/) · [Português](https://pushbuild.com/pt/free/scripts/doc-pdf-per-row/) · [Deutsch](https://pushbuild.com/de/free/scripts/doc-pdf-per-row/) · [Français](https://pushbuild.com/fr/free/scripts/doc-pdf-per-row/)

**Short answer:** Use a Google Apps Script that fills a template with each row of your sheet and saves one PDF per row in Google Drive. It runs in your Google account and sends what it works on to our server, which does the work. Setup takes 4 steps: Set up two tabs; Add the script; Add your key; Run it.

[More on our YouTube channel](https://www.youtube.com/@pushbuild)

## How to set it up

1. **Set up two tabs.** Make a tab named **Data** with your column headers in row 1 and one row per document. Make a tab named **Template**: the document title in A1 and the text in A2. Wherever a value should go, type its column header in double curly braces, such as {{Name}}.
2. **Add the script.** Open Extensions, then Apps Script. Add two script files and paste in the two files from our email: `Pushbuild.gs` and `doc-pdf-per-row.gs`. Save, then reload the sheet. A **Pushbuild** menu appears.
3. **Add your key.** Choose **Pushbuild**, then **Set key**, and paste the key from your signup email. The first time a script runs, Google asks for permission because it works in your own account. Review it and allow it.
4. **Run it.** Choose **Pushbuild**, then **Make a PDF per row**. The PDFs are saved in a new Drive folder named with today's date.

Setup, step by step: 4 steps, done in your own Google account.

[Want this set up for your business? Free written scope in 20 minutes](https://pushbuild.com/scope.html?topic=Set%20up%3A%20Make%20a%20Google%20Doc%20and%20PDF%20for%20every%20row%20in%20your%20sheet)

## Get the script

### Download it free

We'll email you the script (`Pushbuild.gs` and `doc-pdf-per-row.gs`) and your key. It runs in your Google account and sends what it works on to our server, which does the work.

Free for your first 10 runs. After that it's $9 a month for this snippet, or $19 a month for every Pushbuild snippet.

### Have us install it for you

We set it up in your own Google account for you and check that it runs.

$49 one-time.

[Have us install it](https://buy.stripe.com/14A5kqdtR6a21RD6Mz7EQ0i)

## Questions

**What does this script do?**

It is a Google Apps Script that fills a template with each row of your sheet and saves one PDF per row in Google Drive.

**How do I set it up?**

In 4 steps: 1. Set up two tabs; 2. Add the script; 3. Add your key; 4. Run it. The full steps are on this page.

**Does it send my data anywhere?**

Yes. It runs in your Google account and sends what it works on to our server, which does the work. We email you the script (`Pushbuild.gs` and `doc-pdf-per-row.gs`) and your key.

**Can you install it for me?**

Yes. We set it up in your own Google account for you and check that it runs.

Want this connected to the rest of your tools? [Send us a short brief](https://pushbuild.com/services/google-apps-script.html#contact).

**Pushbuild** · Automate your business with Pushbuild: [pushbuild.com/contact](https://pushbuild.com/contact)

---
As of 2026-11-23. Source: https://pushbuild.com/free/scripts/doc-pdf-per-row/
