From this article, you will learn how to generate PDF documents from an Excel template on Jotform submission using the Zapier integration platform. With the help of Plumsail Documents, we’ll create a sales quote from a template, which will be populated with JotForm submission data.
This is how the resulting document will look:
We’ll go through each step in detail so you can easily follow them and receive the same result.
Let’s start with the overview of the web form that will populate an Excel sales quote template. We have already prepared such a form in Jotform. Here it is:
We logically divided the form into two pages - the first contains vendor and customer information, the second - product details.
You can use the exact same form - in your JotForm account, click on the Create Form button, select Import Form -> From a web page -> insert this URL https://form.jotform.com/202735593745362
.
Or learn how to create JotForms and create your web form from scratch.
Now let’s move to create the document generation process in Plumsail Documents. You can create a new process from the Processes section of your Plumsail account.
Click on the Add process button, and you’ll see the creation starting page. In this step, you need to make up the process name and select the template type. In our case, it’ll be XLSX:
Once you’ve created the process, you’ll see its first step - Configure template - consisting of two substeps:
Editor;
Settings.
In Editor, you can compose document templates online, or upload pre-made ones and modify them in case of need.
Download the sales quote template we’ve prepared for this case and upload it to the process.
Once you did it, you’ll see the template preview:
You may notice {{tokens}}
in the document template.
They are variables that the templating engine will replace with data from JotForm in our case.
Also, in our template there are nested tags referring to each product - {{product1.name}}
, {{product1.quantity}}
, and {{product1.price}}
.
They let the process know that we want to display properties from some object. In our example, it’s a particular product.
Please also note that we are using these formulas to calculate the total cost for each item individually and for all of the items:
=[Quantity]*[Unit Price]
- for each item
=SUM(ItemsTable[Total Cost])
- for all of the items
Find out more information on Plumsail Documents Excel templates in the documentation.
On the Settings substep, you can customize the settings of the output file such as:
Mode. It affects whether the resulting file will have a Plumsail watermark or not. In Testing mode, it will, but you won’t pay for executions. In Active, it won’t have the Plumsail watermark; each process run will spend one credit.
Output filename. Use tokens from the document template to personalize the document name. They will work exactly the same way as in the template.
Output type. By default, the format of the output file is the same as the template’s format. We switched it to PDF.
Additionally, it’s possible to protect the resulting PDF file with a watermark or other security settings.
Save the template configurations and go next to the deliveries step. Delivery is a way where to send or save the resulting document. As the customer’s signature means acceptance of the quote in our case, we’ll add a DocuSign delivery to our process.
It will send the completed sales quote to customers requiring them to electronically sign it to accept.
To customize the DocuSign delivery settings, first, connect to your DocuSign account from the Plumsail account. On this step, you can select either Production or Sandbox environment. Sandbox suits if you need to test and evaluate the system. Please, mind that Sandbox and Production environments mean separate accounts in DocuSign.
When the connection to DocuSign is established, you can fill in the email subject and body, add recipients, and enable some advanced options. Here is how we configured the DocuSign delivery:
We used tokens from the template not only in the email message, but also to specify the recipient’s name and email. Thus, we won’t have to change settings each time manually. They will transform dynamically based on the JotForm data.
You can add as many deliveries as you need. Please, check out the full list of available deliveries.
The final step of the process is Start process. We’ll start our process on the JotForm submission. For that, we’ll use Zapier to create a connection between Plumsail Documents and JotForm. You can go right to the pre-made Zap template right from the Plumsail account:
Learn how to configure the automated connection - Zap - from the next paragraph of this how-to guide.
As we have already mentioned, we’ll create a connection between Plumsail Documents and JotForm using Zapier. It’s possible to create the zap from scratch. Or you can click on the Use this zap below to use the zap template:
This is how the completed zap will look:
Follow the instruction below to configure its steps.
We want to generate a new sales quote every time the JotForm is submitted. That’s why our Zap has the trigger - New Submission in JotForm.
If this is your first zap with JotForm, you’ll be asked to sign into the JotForm account from Zapier. After you authorized, you’ll be able to pick up the form you’d like to monitor for new submissions:
To use submission data, we need to test the trigger to find some sample data. To test the trigger successfully, make sure, you have at least one submission of the form.
The trigger is set. We’re moving on.
Add an action and search for Plumsail Documents. Select Start process action inside it:
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.
Once the connection is set, you need to choose the process you’d like to start from this Zap:
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 JotForm is submitted.
To specify values, use the output from the JotForm trigger:
Our Zap is ready! 🎉 See how the resulting file looks:
Hint
Create your own workflows using Plumsail Documents in Zapier - check out the integration section to get inspired.