web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Fill out Word Template...
Power Automate
Unanswered

Fill out Word Template, convert to PDF, then store in SharePoint

(0) ShareShare
ReportReport
Posted on by 4

Hi there! I'm having trouble creating a Flow that:
1. Triggers when it receives fields from Power Apps

2. Fills out a Word Document using those details

3. Converts that Word Document into a PDF

4. Stores that PDF in SharePoint

 

I'm successfully able to do steps 1 and 2 currently, but am having issues converting it to a PDF.

 

These are the actions in my flow:

-PowerApps (v2)

--Retrieves about 10 fields from a connected PowerApp

 

-Populate a Microsoft Word template

--Links to a .docx file in our SharePoint library and fills in all the fields using data from the PowerApps data

 

-Create File 1

--Points to a location in our SharePoint library and stores the file as NAME.docx (NAME being a field retrieved from the PowerApp)

--File Content being the "Microsoft Word document" output from the "Populate a Microsoft Word Template" action

Jessesau_1-1711993846186.png

 

-Get File Content

--Site Address is set to the location that the above file is stored at

--File Identifier is set to NAME.docx

Jessesau_3-1711993907230.png

 

-Convert File

--File is set to File Content, which was retrieved from the previous "Get File Content" action

--Target Type is set to PDF

Jessesau_4-1711993931006.png

 

-Create File

--Location is set to the same spot as the original SharePoint location, except the file name is now NAME.pdf

--File Content is set to the output of the File Content from the Convert File Action

Jessesau_5-1711993949730.png

 

With these actions, when I test this flow, the Create file 1, Get File content, and convert file actions are all skipped and no files are being stored in the SharePoint location at all.

Jessesau_0-1711993720953.png

 

What am I doing wrong here?

 

Thanks for your help!

Categories:
I have the same question (0)
  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @Jessesau 

    Not sure why it is getting skipped 🤔

     

    But i see one problem with your flow > at Convert file action. 

    Convert file action needs file present at onedrive and it requires file identifier rather than file content.

     

    see below post for better idea

    https://powerusers.microsoft.com/t5/Building-Flows/Convert-Sharepoint-file-to-PDF/td-p/1314707

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel
    Blog: Nived Nambiar's Blogs

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

     

  • Jessesau Profile Picture
    4 on at

    Thanks, @Nived_Nambiar for your response! So, there's no way this can work with a file stored in a SharePoint Document Library? Does it have to be a file in OneDrive?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 922

#2
Valantis Profile Picture

Valantis 837

#3
Haque Profile Picture

Haque 534

Last 30 days Overall leaderboard