Nutrient

Home

SDK

Software Development Kits

Low-Code

IT Document Solutions

Workflow

Workflow Automation Platform

DWS API

Document Web Services

T
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Company

About

Team

Careers

Contact

Security

Partners

Legal

Resources

Blog

Events

Try for free

Contact Sales
Contact sales
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

products

Web

Web

Document Authoring

AI Assistant

Salesforce

Mobile

iOS

Android

visionOS

Flutter

React Native

MAUI

Server

Document Engine

Document Converter Services

.NET

Java

Node.js

AIDocument Processing

All products

solutions

USECASES

Viewing

Editing

OCR and Data Extraction

Signing

Forms

Scanning & Barcodes

Markup

Generation

Document Conversion

Redaction

Intelligent Doc. Processing

Collaboration

Authoring

Security

INdustries

Aviation

Construction

Education

Financial Services

Government

Healthcare

Legal

Life Sciences

All Solutions

Docs

Guides overview

Web

AIAssistant

Document Engine

iOS

Android

visionOS

Java

Node.js

.NET

Document Converter Services

Downloads

Demo

Support

Log in

Resources

Blog

Events

Pricing

Try for free

Free Trial

Company

About

Security

Partners

Legal

Contact Sales
Contact Sales
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

products

Products overview

Document Converter

Document Editor

Document Searchability

Document Automation Server

Integrations

SharePoint

Power Automate

Nintex

OneDrive

Teams

Window Servers

solutions

USECASES

Conversion

Editing

OCR Data Extraction

Tagging

Security Compliance

Workflow Automation

Solutions For

Overview

Legal

Public Sector

Finance

All Solutions

resources

Help center

Document Converter

Document Editor

Document Searchability

Document Automation Server

learn

Blog

Customer stories

Events

Support

Log in

Pricing

Try for free

Company

About

Security

Partners

Legal

Contact Sales
Contact Sales
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Product

Product overview

Process Builder

Form Designer

Document Viewer

Office Templating

Customization

Reporting

solutions

Industries

Healthcare

Financial

Manufacturing

Pharma

Education

Construction

Nonprofit

Local Government

Food and Beverage

Departments

ITServices

Finance

Compliance

Human Resources

Sales

Marketing

Services

Overview

Capex-accelerator

Process Consulting

Workflow Prototype

All Solutions

resources

Help center

guides

Admin guides

End user guides

Workflow templates

Form templates

Training

learn

Blog

Customer stories

Events

Support

Pricing

Support

Company

About

Security

Partners

Legal

Try for Free
Contact Sales
Try for Free
Contact Sales
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Services

Generation

Editing

Conversion

Watermarking

OCR

Table Extraction

Pricing

Docs

Log in

Try for Free
Try for Free

Free trial

Blog post

Fill PDF forms from SharePoint using Power Automate

Clavin Fernandes Clavin Fernandes

Table of contents

  • Creating a Power Automate flow to export PDF form data as XML
  • How to import the SharePoint list item to a PDF template
Illustration: Fill PDF forms using Power Automate

In this blog, you’ll learn how to fill out PDF forms using SharePoint list data and Nutrient’s Import PDF Forms data action in Power Automate. Our PDF form builder simplifies the creation of such forms. In addition to your free, full, or trial subscription, you also need a Power Automate account and appropriate privileges to create flows.

With Nutrient’s Import PDF Forms data action, you can import XML, FDF, and XFDF data in PDF forms. In this example, you’ll learn how to import XML data into a PDF form. Follow the steps below to see how to import all list items from a SharePoint list and import that data in a PDF form template.

Creating a Power Automate flow to export PDF form data as XML

fill pdf forms from sharepoint list

  1. Select the When a file is created or modified (properties only) trigger. Fill in the Site Address and Library Name fields.

  2. From the list of actions, choose Get file content using path.

  3. Fill in the Site Address and File Path fields.

fill pdf forms using power automate

  1. Search for the Muhimbi connector and select the Export PDF Forms Data action.

  2. Enter a source file name, and in the source file content field, from the list of dynamic content, choose File Content.

  3. The output data format should be XML.

export pdf form data as xml

Nutrient’s Processed file content returns a Base64 string, and you need to use the following formula to convert it:

base64ToString(outputs('Export_PDF_Forms_Data')?['body/processed_file_content'])

<?xml version="1.0" encoding="utf-8"?>
<fields xmlns:xfdf="https://ns.adobe.com/xfdf-transition/">
  <GivenNameTextBox xfdf:original="Given Name Text Box">Your name here</GivenNameTextBox>
  <FamilyNameTextBox xfdf:original="Family Name Text Box">Your family name here</FamilyNameTextBox>
  <Address1TextBox xfdf:original="Address 1 Text Box">Your address</Address1TextBox>
  <HousenrTextBox xfdf:original="House nr Text Box">Your housenr</HousenrTextBox>
  <Address2TextBox xfdf:original="Address 2 Text Box">Your second address</Address2TextBox>
  <PostcodeTextBox xfdf:original="Postcode Text Box">Your postcode</PostcodeTextBox>
  <CityTextBox xfdf:original="City Text Box">Your city</CityTextBox>
  <CountryComboBox xfdf:original="Country Combo Box">Your country</CountryComboBox>
  <GenderListBox xfdf:original="Gender List Box">Your gender</GenderListBox>
  <HeightFormattedField xfdf:original="Height Formatted Field">Your height</HeightFormattedField>
  <DrivingLicenseCheckBox xfdf:original="Driving License Check Box">Yes</DrivingLicenseCheckBox>
  <FavouriteColourListBox xfdf:original="Favourite Colour List Box">Yellow</FavouriteColourListBox>
</fields>

Now that you have the template as an XML file, the next step is to create a Power Automate flow to import the SharePoint list item to a PDF template.

How to import the SharePoint list item to a PDF template

  1. Create a new flow using the Build an instant cloud flow option and select the Manually trigger a flow trigger.

import sharepoint list in a pdf template

  1. Add the SharePoint Get items action to the flow canvas and configure it using the details below:

  • Site Address — Specify the path to the SharePoint Online site collection that holds the file.

  • List Name — Select the SharePoint list from which you want to get the items.

power automate flow to import lists

Note: If you have an extensive list, you might need to configure the action settings and turn the Pagination option to On and set the Threshold field to a site collection.

fill pdf forms from sharepoint list

  1. Add the SharePoint Get file content using path action to the flow canvas and configure it according to the details below:

  • Site Address — Specify the path to the SharePoint Online site collection that holds the form template.

  • File Path — Select the file path to your PDF form template.

paste xml template

  1. Add the Compose action to the flow canvas. Then:

  • Paste the XML template you exported in the Creating a Power Automate Flow to Export PDF Form Data as XML section above.

  • Insert the various list fields from the Get items action in the appropriate places between the >< elements in the XML.

If you have a Yes/No column in SharePoint, this will return True/False. If you want to change it into a checkbox field, you’ll need to convert it using the following formula:

if(equals(items('Apply_to_each')?['Your Field Internal Name'],True),'Yes','No')

fill pdf forms from sharepoint list

  1. Click Add an action and add the Nutrient Import PDF Forms data action to the flow canvas. Then fill in the following details:

  • Source file name — Title.xml is the output of the Get items action.

  • Source file content — Outputs is the output of the Compose action.

  • PDF Form file content — File Content is the output of the Get file content using path action.

  • Flatten — Change from Default to No to ensure the form is editable.

  • Read-only — Change from Default to No.

You can find the full details for the Import PDF Forms data action on the corresponding page. Or, refer to the guide and video tutorial on how to fill PDF forms using Power Automate.

import pdf form data

  1. Click Add an action, and add the Create file SharePoint action to create the PDF document in the SharePoint document library. This is the information you need to fill in the action fields:

  • Folder Path — Specify the output path to write the PDF file to.

  • File Name — Base file name.pdf is the output variable of the Import PDF Forms data action.

  • File Content — Processed file content is the output variable of the Import PDFs Form data action.

create pdf file

Now, start your flow manually, and after a few seconds, each list item from the SharePoint list will be imported into a template and all PDF forms will be generated in the destination library.

Author
Clavin Fernandes
Clavin Fernandes Developer Relations and Support Services

Clavin is a Microsoft Business Applications MVP who supports 1,000+ high-level enterprise customers with challenges related to PDF conversion in combination with SharePoint on-premises Office 365, Azure, Nintex, K2, and Power Platform mostly no-code solutions.

Explore related topics

Low-Code
Free trial Ready to get started?
Free trial

Related articles

Explore more
LOW-CODELow-CodeAIOCRDigital Transformation

Digital transformation is failing without intelligent document automation

SDKINSIGHTSLow-CodeWorkflow AutomationDocument Converter for SharePointDocument SearchabilityDocument Automation ServerDocument Editor

The rise of no-code and low-code: Are enterprises ready for the next document revolution?

SDKTUTORIALSSDKLow-CodeDocument ManagementIndexingSearchingArchivingSharePointPower Automate

How to manage large document libraries: Indexing, searching, and archiving

Company
About
Security
Team
Careers
We're hiring
Partners
Legal
Products
SDK
Low-Code
Workflow
DWS API
resources
Blog
Events
Customer Stories
Tutorials
News
connect
Contact
LinkedIn
YouTube
Discord
X
Facebook
Popular
Java PDF Library
Tag Text
PDF SDK Viewer
Tag Text
React Native PDF SDK
Tag Text
PDF SDK
Tag Text
iOS PDF Viewer
Tag Text
PDF Viewer SDK/Library
Tag Text
PDF Generation
Tag Text
SDK
Web
Tag Text
Mobile/VR
Tag Text
Server
Tag Text
Use Cases
Tag Text
Industries
Tag Text
Resources
Blog
Tag Text
Events
Customer Stories
Tag Text
Tutorials
Tag Text
Features List
Tag Text
Compare
Tag Text
community
Free Trial
Tag Text
Documentation
Tag Text
Nutrient Portal
Tag Text
Contact Support
Tag Text
Company
About
Tag Text
Security
Tag Text
Careers
Tag Text
Legal
Tag Text
Pricing
Tag Text
Partners
Tag Text
connect
Contact
Tag Text
LinkedIn
Tag Text
YouTube
Tag Text
Discord
Tag Text
X
Tag Text
Facebook
Tag Text
low-code
Document Converter
Tag Text
Document Editor
Tag Text
Document Automation Server
Tag Text
Document Searchability
Tag Text
Use Cases
Tag Text
Industries
Tag Text
Resources
Blog
Tag Text
Events
Customer Stories
Tag Text
Support
Help Center
Tag Text
Contact Support
Tag Text
Log In
Tag Text
Company
About
Tag Text
Careers
Tag Text
Security
Tag Text
Legal
Tag Text
Pricing
Tag Text
Partners
Tag Text
connect
Contact
Tag Text
LinkedIn
Tag Text
YouTube
Tag Text
Discord
Tag Text
X
Tag Text
Facebook
Tag Text
Popular
Approvals matrix
Tag Text
BPMS
Tag Text
Budgeting process
Tag Text
CapEx approval
Tag Text
CapEx automation
Tag Text
Document approval
Tag Text
Task automation
Tag Text
workflow
Overview
Tag Text
Services
Tag Text
Industries
Tag Text
Departments
Tag Text
Resources
Blog
Tag Text
Events
Customer Stories
Tag Text
Support
Help Center
Tag Text
FAQ
Tag Text
Troubleshooting
Tag Text
Contact Support
Tag Text
Company
About
Tag Text
Careers
Tag Text
Security
Tag Text
Legal
Tag Text
Pricing
Tag Text
Partners
Tag Text
connect
Contact
Tag Text
LinkedIn
Tag Text
YouTube
Tag Text
Discord
Tag Text
X
Tag Text
Facebook
Tag Text
DWS api
PDF Generator
Tag Text
Editor
Tag Text
Converter API
Tag Text
Watermark
Tag Text
OCR
Tag Text
Table Extraction
Tag Text
Resources
Log in
Tag Text
Help Center
Tag Text
Support
Tag Text
Blog
Tag Text
Company
About
Tag Text
Careers
Tag Text
Security
Tag Text
Pricing
Tag Text
Legal
Privacy
Tag Text
Terms
Tag Text
connect
Contact
Tag Text
X
Tag Text
YouTube
Tag Text
Discord
Tag Text
LinkedIn
Tag Text
Facebook
Tag Text

Copyright 2025 Nutrient. All rights reserved.

Thank you for subscribing to our newsletter!

We’re thrilled to have you join our community. You’re now one step closer to receiving the latest updates, exclusive content, and special offers directly in your inbox.

This builtin is not currently supported: DOM

PSPDFKit is now Nutrient. We've consolidated our group of trusted companies into one unified brand: Nutrient. Learn more

This builtin is not currently supported: DOM

PSPDFKit is now Nutrient. We've consolidated our group of trusted companies into one unified brand: Nutrient. Learn more

This builtin is not currently supported: DOM

New Feature Release. Tap into revolutionary AI technology to instantly complete tasks, analyze text, and redact key information across your documents. Learn More or View Showcase

This builtin is not currently supported: DOM

Aquaforest and Muhimbi are now Nutrient. We've consolidated our group of trusted companies into one unified brand: Nutrient. Learn more

This builtin is not currently supported: DOM

Integrify is now Nutrient. We've consolidated our group of trusted companies into one unified brand: Nutrient. Learn more

This builtin is not currently supported: DOM

Join us on April 15th. Join industry leaders, product experts, and fellow professionals at our exclusive user conference. Register for conference