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 Apps / Power Apps to Power Au...
Power Apps
Unanswered

Power Apps to Power Automate - File Conversion

(0) ShareShare
ReportReport
Posted on by 245

This may not be the right place, but I'm wondering how I can take a File Upload that is a Word .docx and convert it to a PDF before I send it through to Power Automate?  Or is that something I should be doing after it gets to PA?  And if so, how?  Any insights or assistance is greatly appreciated, as always! 

 

Submit Button:

Set(varCurrentUser, User().FullName);
Set(varSelectedDate, DatePicker1.SelectedDate);
Set(
    varSelectedSchools,
    If(
        CountRows(ListBox2.SelectedItems) = 1,
        First(ListBox2.SelectedItems).Value,
        Concat(ListBox2.SelectedItems, Value & " _ ")
    )
)
;
Set(varFileName, varCurrentUser & " _ " & Text(varSelectedDate, "mm-dd-yyyy") & " _ " & varSelectedSchools); 'PowerAppV2->Createfile'.Run({
    file: {
        name: varFileName & "." & Last(Split(First(AttachControl_1.Attachments).Name, ".")).Value,
        contentBytes: First(AttachControl_1.Attachments).Value
    }
});
Reset(AttachControl_1);
Reset(DatePicker1);
Reset(ListBox2);
 
2024-05-10 07_29_17-Power Apps and 3 more pages - Work - Microsoft​ Edge.png
2024-05-10 07_32_11-Edit your flow _ Power Automate and 4 more pages - Work - Microsoft​ Edge.png
Categories:
I have the same question (0)
  • Mart302 Profile Picture
    65 on at

    See if the following solution answers your question:
    https://powerusers.microsoft.com/t5/Building-Flows/Convert-Word-Document-to-PDF/td-p/1671711

  • apettit Profile Picture
    245 on at

    @Mart302 I've seen workflows like that, too, I just hoped it would be easier to make that happen on the Power Apps side of the workflow.

  • Mart302 Profile Picture
    65 on at

    Depends on the usecase, but maybe this one can be helpfull. It's a sneaky way for previewing files The Secret Way To View Word, Excel & PowerPoint Files In Power Apps (matthewdevaney.com). Not a convertion, but leveraging the sharepoint API

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 396 Most Valuable Professional

#2
11manish Profile Picture

11manish 134 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 101 Super User 2026 Season 2

Last 30 days Overall leaderboard