Configure the Process

Before creating the Flow, we need to set a Process, which will generate PDF documents from an XLSX 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. As we’re going to generate PDF documents from an Excel template, select XLSX for the template type.

create excel process

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 an XLSX template that we have already prepared. It’s a short employee information sheet:

Excel template

Then upload it to the process.

upload template file

Templating syntax

When creating your own templates, mind the templating language. Plumsail Excel XLSX 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 will see the dialog where you can fill in the auto-generated testing form. Form fields 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 MS Form to our template.

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

Here, please:

  • 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

Once you’ve customized all the settings, you can test the template to see the result as we did it before.

When everything is done here, click on Save & Next to set up deliveries.

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.