Create Word and PDF documents from JotForm in Zapier

This article demonstrates how to create PDF documents from a DOCX template on a JotForm submission with the help of Processes in Zapier. It may help you to automate the generation of different documents like applications, requests, orders, etc., in your company.

Processes are a Plumsail Documents feature with an intuitive interface for creating documents from templates.

JotForm is an online form builder that allows you to create forms with a drag and drop creation tool and an option to encrypt user data.

We’ll connect them in Zapier to automatically collect data from a JotForm, apply the data to our template, and generate a new PDF document.

Create a Form

We’ve already created a JotForm with a guest’s request. We will use data from its submission. If you haven’t created JotForms before, follow this link to learn how to do it.

We’ve put together a simple Request Form for this example. It has Full Name, Phone Number, Apartment Number, and Your Request fields.

Below is a screenshot of the form:

JotForm

Configure the Process

Before creating the Zap (an automated workflow in Zapier), we also need to set a Process, which will generate PDF documents from a DOCX template.

Create a new process

Go to the Processes section in your Plumsail account.

Click on the Add process button.

add process button

Set the Process name. Select DOCX for a template type.

generate PDF from JotForm Forms

Configure a template

Once you’re done with the first step Create Process, press the Next button, and you’ll proceed to the next step – Configure Template.

It includes two substeps:

  • Editor;

  • Settings.

In Editor, you can compose the template from scratch or upload a pre-made one. It’s also possible to modify the uploaded template online.

Feel free to download a DOCX template we have prepared beforehand. It’s a guest’s request:

Docx template

Then upload it to the process.

upload template file

Templating syntax

When creating your own templates, mind the templating language. Plumsail Word DOCX templates use a different approach than most other templating solutions. It uses a minimal amount of syntax to make your work done.

In short, the templating engine thinks that everything between curly {{ }} brackets is variables where it will apply your specified data. Read this article to get familiar with the templating engine.

Test template

You can test a template as well, to see how it will look at the end. After clicking on the Test template button, you’ll need to fill in the auto-generated testing form. Fields of this form are created based on tokens from your document template. You can adjust the look of the testing form by changing token types.

test template

It’s testing. We’re going to apply the data from the JotForm to our template.

Once you’ve tested the template, press Save&Next to proceed further - to the Settings substep:

  • Switch to an active mode to remove Plumsail watermarks from resulting documents

  • Fill in the name of the result file

  • Select PDF format for the output file

  • Protect the result PDF if you wish

Configure template

Delivery

The next step is delivery. For demonstrating purpose, we’ll store the result file in OneDrive. But there are other options.

Select the folder where the ready document will be saved.

create pdf from template on form submission

You can configure as many deliveries as you need.

Start the Process

We will start our Process from Zapier.

Create a Zap

Zap is an automated connection between web services in Zapier. You can create it from scratch following the steps explained below.

Or you can utilize the zap template. Click Use this zap, and then just customize the steps as it’s described further in this article.

This is how our Zap looks:

pdf from JotForm zap

Check out the Zap steps described below.

New submission in JotForm

We need to start the Zap every time somebody submits our JotForm. For that, search for JotForm in Zapier and select New submission in JotForm as a trigger.

If this is your first Zap with JotForm, on this step, sign in to your JotForm Account from Zapier to use your forms inside Zaps.

Then, you’ll need to pick the form you want to track in the dropdown.

jotform trigger

The last thing to do with the trigger - Find data. Press Test&Review to find data. It will allow you to use the trigger output on the next step.

find data in JotForm trigger

Start process in Plumsail Documents

Once the trigger is set, search for Plumsail Documents and add an action Start process.

start process from Zapier action

Click Continue. If this is your first Zap, at this point, you’ll need to Sign in to your Plumsail Account from Zapier to establish a connection between the app and your account. If you already have a Plumsail account tied to the app, you can add another one at this step, and use it instead.

Customize Start Process

Choose the process you want to start by this Zap from the dropdown.

Then, you need to specify data by completing the fields. They have the same names as tokens in the template. This data will be applied to the template to personalize documents every time a Cognito form is entered.

Use the output from the trigger to specify values:

JSON data

Our Zap is ready! 🎉 See how the resulting file looks:

Final document

Sign up for Plumsail Documents

As you can see, it’s simple to automize the generation of documents on JotForms submission. If you’re new to Plumsail Documents, register an account and follow the steps described in the article to set the process for automatic creation of PDFs from JotForms. A 30-day trial is free.

Hint

Use Plumsail Documents zap templates to start documents generation processes. All available zap templates are presented on this page.