In this article, you will learn how to fill out PDF forms from Excel, Google Sheets, and other cloud spreadsheets without using mailmerge, scripts, and VBA. No coding skills are required. In our example, we will fill out the PDF form from Google Sheets each time a new row is added. After data is filled out in a PDF form, we will automatically send the document by email and save the copy in Google Drive. You can use Excel Online and deliver your resulting document across any app with the help of Plumsail Documents and Zapier, as we do.
Imagine we have a Google Sheet with the data of Conference participants. Any time new participant info is added, we will automatically send an email with the filled participation PDF form. To represent the approach, we took the example of a PDF form from the IAEA (International Atomic Energy Agency) for an international conference in 2019.
Here is an example of our Zap and filled PDF form:
Content of the article:
First, we create a PDF form filling process in Plumsail Documents. Go to Processes in a Plumsail account and add a new process. Then, select “Start from blank,” choose “Fillable PDF,” and name the process. Press the “Next” button.
Then, we upload a PDF form to set the PDF document as a template. The template allows us automatically generate PDF documents with the data from a third-party system.
In case you don’t have a PDF form, we have instructions to create a fillable PDF. Also, you can use the example of the PDF form from the article to try the method.
After uploading PDF Form, the Plumsail Documents online editor allows us to manage the document template, set the output settings, and configure storage and delivery settings for the filled PDF form. At the top of the editor menu, you can see features to work with a document template. Let us describe them shortly.
The “Test template” feature opens a web form created with the fields related to fields from the uploaded PDF form. You can fill it out with some dummy data to test your PDF form to be sure that you prepared the document template correctly.
“{ } Tokens” are placeholders for data retrieved from other systems. They are related to fields from your PDF form and are created automatically. The tokens extracted from your template can hold and format the data in different types, such as string, date, number, and boolean. Learn how it works.
“Upload” and “Download” are functions that allow uploading or downloading your document template.
After configuring our document template, we move to set the document output parameters. We use {{tokens}} to make it dynamic. You can choose a locale and protect PDF by watermark and other restrictions.
In this step, we add deliveries—where the document will be stored and sent. You are free to include as many as you want. You can use native integrations from the list and add a delivery later via Zapier. In our example, we added email delivery to the manager of the conference and saved the generated document in Google Drive.
Next, we save the document in Google Drive. You can integrate any software via Zapier to store resulted documents. In our example, we need to connect the Google account to Plumsail Documents. If you do the same, be sure you give all permissions to Plumsail Documents while connecting your Google account.
In our example, we use the trigger “New or Updated Spreadsheet Row” from Google Sheets. You can use another trigger you need. Go to Zapier and create an account if you don’t have one. Next, create a Zap, find a trigger you need, connect an account, and set up the trigger parameters.
Next, go to set up the connection. We decided to fill out the PDF form and generate the document after a participant’s email was placed in a cell, so we selected the last column, “Email,” from our sheet as a Trigger Column. It means the trigger activates every time cells are changed in that column. It allows us to avoid occasional sending emails.
Then, we test the trigger to make sure everything works well. While testing the trigger, we use the data from Google Sheets. After the successful test of the trigger, click on continue to proceed to add an action. Search for Plumsail Documents and choose ‘Start process’ as an action event.
Then, we set up action from Plumsail Documents. Here we connect our Plumsail Documents account to Zapier and select our data outputs from the Google Sheet trigger to fill tokens in the PDF Form template. To help us to do this correctly, Zapier allows us to use the data from the testing trigger step. Here is what we selected for our tokens:
Our Zap is almost done. Next, test the Zap, and don’t forget to turn your Zap on!
To be sure everything works well, we added a new row into the Google Sheet with the info about the participant Guy Giantini.
After that, we got the filled PDF Form.
The document generation process is done!
Now you know how to automatically fill out PDF forms from Google Sheets with the help of Plumsail Documents and Zapier. You can use our approach to fill PDF forms from Google Sheets, Excel Online, and other cloud sheets.