Create documents from template in Power Automate and sign them using signNow
In this example, we’ll use Plumsail Documents and Power Automate to generate a sales contract from a Word template, convert it to PDF, and send it to signNow for electronic signing. If you don’t have a signNow account yet, you can sign up for a free trial.
Here’s an example of the signed contract:
Configure process
First, let’s set up the Documents process that will generate a PDF purchase agreement from a DOCX template.
Create process
Navigate to the Processes section in your Plumsail account. Click Add process and select the option to start from a premade template.
Find and select the Sales of goods contract template, as shown in the screenshot below.
Next, enter a name for your process, select the Output file type, and click Create to continue.
Configure template
Once the process is created, you’ll see a preview of the selected template. Click Edit online to customize it in the online editor, or upload a different template file if needed.
Templating syntax
You may notice {{tokens}} throughout the sales contract template. The templating engine recognizes expressions enclosed in double curly braces and replaces them with the corresponding data when generating a document.
Our sales contract template includes a table with product details. Tokens such as {{products.name}} and {{products.quantity}} refer to properties of objects in the products collection. The engine automatically generates a table row for each product.
For more details on tokens, see the DOCX templating documentation.
Test template
To preview the generated contract, click Test template. A dialog will open with an automatically generated testing form based on the tokens in your DOCX template.
Fill in the fields with sample data to check the result. You can also test the template using JSON data or customize the testing form.
For more details, see the Test process article.
Configure process and template settings
After testing the sales contract template, you can adjust the process and template settings. Click the gear icons to open the corresponding settings:
Process settings control how the process runs. Here you can configure:
Process mode. By default, new processes are in Testing mode. Documents generated in this mode have a Plumsail watermark, but executions are free. Switch to Production mode to generate documents without the testing watermark.
Timezone and locale. Define how dates, times, and numbers are formatted.
Output files. If your process contains multiple templates, you can choose how the generated documents are combined: keep them as separate files, merge them into a single PDF, or package them into a ZIP archive.
Template settings control the generated document. Here you can configure:
Template name. Set a name to identify the template within the process.
Output filename. Customize the generated file name using tokens from the template.
Output file type. Choose the format of the generated document. In this example, we’ll use PDF to send the contract to signNow.
Template engine. Select the Modern or Classic engine depending on the syntax used in your DOCX template. Modern is selected by default.
Conditionally run template. Set conditions to generate the document only when specific criteria are met.
When PDF is selected as the output type, you can also configure additional options, such as adding a watermark or protecting the document with a password.
Add delivery
Next, configure the signNow delivery to send generated contracts for electronic signing.
In the Delivery step, select signNow from the available options.
To connect your signNow account, click App settings, enter your Client ID and Client secret, and grant Plumsail Documents access to your account.
Note
signNow delivery requires an active signNow API plan. See the signNow delivery documentation for details on obtaining your credentials.
Once connected, configure the delivery settings:
Email subject and message. Specify the email subject and body that recipients will receive. You can use tokens from the document template to personalize them.
Recipients. Add recipients and assign their roles. In our example, we’ll add two signers. Make sure their roles match those specified in the signNow text tags in the template.
Advanced settings. Enable Sequential signing if recipients need to sign in a specific order. You can also configure document expiration and reminder notifications.
The Files to deliver setting allows you to choose which generated files will be sent when your process contains multiple templates.
Your signNow delivery is now configured. You can also add other delivery options, such as OneDrive or SharePoint, to save copies of the generated contracts.
You can configure as many deliveries as you need.
Start process
We’ll use Power Automate to start the process manually and pass contract data to Plumsail Documents. The flow will consist of two steps: a trigger and a Plumsail Documents action.
Flow trigger
First, create a new Instant cloud flow. Give it a name and select Manually trigger a flow for demonstration purposes.
You can also choose a different trigger to automate the process, such as when a new item is added to a SharePoint list or an opportunity is closed in a CRM.
Start document generation process
Next, add the Start document generation process with JSON action from the Plumsail Documents connector. For more details about this action, see our documentation.
If you’re using the Plumsail Documents connector for the first time, you’ll need to create a connection. Enter a connection name, such as Plumsail Documents, and provide your API key. You can create an API key in your Plumsail account.
Make sure to select the same Data center location as configured in your Plumsail account.
Configure the action:
Process Name - select the sales contract process created earlier.
Template Data - enter JSON data that matches the tokens in your DOCX template, including the products collection.
Output files as - choose how the generated files will be returned. In this example, we’ll select Array of files.
You can copy the following sample JSON into Template Data. Replace companyEmail with your signer’s email address and update the other recipient’s email address in the signNow delivery settings before running the flow.
{
"companyName": "Manu Connection",
"companyAddress": "3559 Hayhurst Lane Detroit, MI 48226",
"companyEmail": "contact@manuconnection.us",
"companyPhone": "+1 248-835-2383",
"Number": "1075",
"executionDate": "11/12/2026",
"buyerName": "Joseph Magnin",
"buyerAddress": "4748 Oral Lake Road Minneapolis, MN 55401",
"deliveryDate": "11/12/2026",
"products": [
{
"name": "Monitor",
"quantity": 2,
"price": 60,
"cost": 120
},
{
"name": "Keyboard",
"quantity": 2,
"price": 25,
"cost": 50
}
]
}
Save the flow and run it manually to test the document generation process.
Results
Once the flow runs successfully, Plumsail Documents will generate the PDF contract using the provided JSON data and automatically send it to signNow for electronic signing through the configured delivery.
After the contract has been signed, signNow can notify the recipients by email.
You can further customize your flow and use other Power Automate connectors to suit your needs.