Create document from template in Power Automate and sign it using Adobe Sign
This article shows how to create a PDF document from a template and send it to Adobe Sign for electronic signing.
We’ll use Plumsail Documents to generate a purchase agreement from a Word template and Power Automate to trigger the Process.
Here’s an example of the signed contract:
Configure the Process
First, let’s set up the Documents Process that will generate a PDF purchase agreement from a DOCX template.
Create a new 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 a 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 agreement, 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.
Once you’re satisfied with the result, click Save to continue.
Configure Process and template settings
After testing the purchase agreement 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 agreement to Adobe Sign.
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 Adobe Sign delivery to send generated agreements for electronic signing.
In the Delivery step, select Adobe Sign from the available options.
Connect your Adobe Sign account to Plumsail Documents and 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 the recipients and assign their roles. In our example, we’ll add two recipients who need to sign the agreement.
Advanced settings. Enable Sequential signing if recipients need to sign in a specific order. You can also configure document expiration, reminder notifications, and password protection.
The Files to deliver setting allows you to choose which generated files will be sent when your Process contains multiple templates.
Your Adobe Sign delivery is now configured. You can also add other delivery options, such as OneDrive or SharePoint, to save copies of the generated agreements.
Start the Process
Your Process is now ready to generate purchase agreements and send them to Adobe Sign for electronic signing.
We’ll use Power Automate to start the Process manually and pass agreement 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 Adobe Sign 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/23/2026",
"buyerName": "David Navarro",
"buyerAddress": "4748 Oral Lake Road Minneapolis, MN 55401",
"deliveryDate": "11/23/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 agreement using the provided JSON data and automatically send it to Adobe Sign for electronic signing through the configured delivery.
After the contract has been signed, Adobe Sign will notify the recipients by email.
You can further customize your flow and use other Power Automate connectors to automate document generation based on events in your applications. If you haven’t a Plumsail account yet, sign up to get started.