How to Create a PDF From SharePoint List Items Using Power Automate? [Without Premium Connector]

While working on a Leave Management application, one of my clients needed a solution to generate a PDF at the end of the approval process. The PDF had to include digital signatures from all approvers as proof of approval. After researching different methods, I found a way to achieve this without using any Premium Connector in Power Automate.

In this tutorial, I will walk you through generating PDFs from SharePoint list items using Power Automate without relying on third-party connectors. The flow generates a PDF based on the provided data when an item is created in the SharePoint list. Additionally, digital signatures are added to the PDF after approval. Once the PDF is generated, it is automatically sent to the Finance Team for further processing.

PDF Generation in PowerApps Without Premium Connector

Create a PDF Using Power Automate Without Using Premium Connector

I created three SharePoint lists and one SharePoint document library to implement this solution, all set up using a PowerShell script. Each list serves a specific purpose, and the document library stores the generated PDFs.

1. Expense Claim Details (Master List)

This is the main list where key information, like bank details and other expense-related details, is stored. Below is the schema for this list:

Column NameData Types
Expense Request ID (Title)Single line of text
Employee NamePerson or Group
DepartmentChoice
Job TitleSingle line of text
Budget CodeSingle line of text
Reimbursement TypeChoice
Bank TitleSingle line of text
Bank AddressMultiple lines of text
Bank Account NumberSingle line of text
Bank CodeSingle line of text
Expense TypeChoice
Claim Submission TypeChoice
Submission MethodChoice
Expense DeclarationYes/No
HRPerson or Group
Employee Digital SignatureMultiple lines of text
HR Digital SignatureMultiple lines of text
Claim StatusChoice
HR Review NotesMultiple lines of text

How to Create a PDF Using SharePoint List in Power Automate

2. Employee Cost Details

This list contains all cost-related data, including individual expense items and their details. It is designed to link with the master list for a seamless workflow. Below is the schema for this list:

Column NameData Types
Expense Request ID (Title)Single line of text
Claimant NamePerson or Group
Expense DateDate and time
Expense Currency TypeChoice
Expense ClassificationChoice
Expense DetailsSingle line of text
Expense AmountNumber
Exchange RateNumber
Total AmountNumber
Receipt ReferenceSingle line of text
how to generate a pdf from a sharepoint list item using power automate

3. Admin Options

This list stores static data such as the company logo, name, and address. It’s a one-time setup, only filled when the list is created. Below is the schema for this list:

Column NameData Types
TitleSingle line of text
Company LogoImage
Company AddressMultiple lines of text
ID PrefixSingle line of text
RegardsSingle line of text
Company NameSingle line of text
Finance TeamPerson or Group
How to Generate a PDFs From a SharePoint List Item using Power Automate

4. Document Library [ Expenses Claim PDF Documents]

I also created a SharePoint document library, specifically used to store the generated PDF documents. Each PDF created during the workflow is automatically saved here, making it easy to access and organize.

How to Create a PDF Using SharePoint List in Power Automate [Without Premium Connector]

I created a Power Automate flow to generate PDFs in two cases and included an approval workflow and digital signatures.

Offline Submission:

  • When an employee submits their details in the SharePoint list, and the submission type is set to Offline, a PDF is created immediately without requiring approval or signatures.
  • The PDF is stored in the Expenses Claim PDF Documents library.
  • An email is sent to the requester with the generated PDF attached.
PDF Generation in PowerApps Without Premium Connector

Online Submission:

  • If the submission type is Online, the request is sent to HR for approval using the Start and Wait for an Approval action. After HR reviews the request:
  • If Approved:
    • A final PDF is generated, including digital signatures from the employee and the HR manager.
    • The PDF is stored in the Expenses Claim PDF Documents library.
    • The Finance Team received an email with the PDF attached.
  • If Rejected:
    • An email is sent to the requester with the reason for rejection.
    • The reason for rejection is also recorded in the Expense Claim Details list under the “HR Review Notes” column.

Digital Signature in PDF:

For online approvals, the PDF includes a dynamically generated text-based signature with the approver’s details. The format of the signature is as follows:

Submitted via e-workflow system by:  
[Lidia Holloway] (Employee)  
Date: [21st Jan 2025, 10:19 AM]  
Claim Request ID: [Exp-Claim-28614]  

The signature details are generated dynamically in Power Automate using expressions and are added to the PDF before conversion.

Create PDF without Premium Connector in Power Automate

Create a SharePoint list and Document Library using PowerShell

I used a PowerShell script to simplify the process of creating the required SharePoint lists and document library. This script automates the setup, ensuring all lists and libraries are created with the correct columns and configurations.

The PowerShell script creates three SharePoint lists and a document library, adding the necessary columns. It ensures all required configurations are in place automatically, saving time compared to manual creation.

You can download and modify the solution to fit your requirements if you want to use the same script.

Below is a screenshot of the PowerShell script:

Create a SharePoint list and Document Library using PowerShell

Once you run the PowerShell script, the lists and document library will be successfully created on your SharePoint site.

With this setup in place, we are ready to move on to the next step: creating the workflow in Power Automate.

Create a Power Automate Flow to Generate PDF Using SharePoint List

I created a cloud flow in Power Automate with the trigger When an item is created to automate the PDF creation process. This flow dynamically handles different submission methods and ensures the PDFs are generated and shared accordingly. Here’s how the flow is structured:

Trigger: When an item is created

The flow starts whenever a new item is added to the Expense Claim Details list.

Generate a PDF in Power Automate without premium subscription

Generate Expense Request ID

A series of actions are added to generate a unique Expense Request ID for the claim.

Using Power Automate to create PDF files from SP List Items

Condition: Submission Method

A condition checks the value of the Submission Method column:

How to populate a PDF template from a MS Form without Premium Connectors
  • If the Submission Method is ‘Offline’:
    • A PDF is created without requiring approval.
    • An email with the generated PDF is sent to the requester using Outlook.
How to Create PDF File using Power Automate
  • If the Submission Method is ‘Online’:
    • The flow triggers a Start and Wait for an Approval action to send an approval request to the HR manager.
    • Another condition checks if the HR manager approves or rejects the request:
      • If Approved:
        • A PDF is created that includes digital signatures from both the employee and HR manager.
        • The PDF is then emailed to the Finance Team along with the request details.
      • If Rejected:
        • An email is sent to the requester, including the reason for rejection.
Create Dynamic PDFs with Tabular Data using Power Automate

Conclusion

In this tutorial, I covered how to generate PDFs in an Expense Claim application using Power Automate without the Premium Connector. I set up SharePoint lists and a document library, automated their creation with PowerShell, and built a flow to handle offline and online submissions. The flow dynamically generates PDFs, includes digital signatures for online submissions, and emails the final documents to the relevant recipients.

Also, you may like some more Power Automate tutorials:

Power Apps functions free pdf

30 Power Apps Functions

This free guide walks you through the 30 most-used Power Apps functions with real business examples, exact syntax, and results you can see.

Download User registration canvas app

DOWNLOAD USER REGISTRATION POWER APPS CANVAS APP

Download a fully functional Power Apps Canvas App (with Power Automate): User Registration App