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 / unable to create a file
Power Automate
Answered

unable to create a file

(0) ShareShare
ReportReport
Posted on by 2

I am trying to create a pdf file and send by email via PowerApp.

The flow is running ok, till creating html and pdf in the OneDrive folder and also sending the email.

When opening the email received as a attachment , the attached pdf is showing error. cannot open.

 

But when I download the pdf created at onedrive, from one drive, the same file is ok. 

Which indicates the selection of "body" is wrong, it is showing 2 body, one under html and one under pdf creation. So I select under the pdf creation one as I marked in the image.

 

Please guide, what is the mistake I am doing.

 

 

 

MIA27_0-1683482107961.png

 

MIA27_1-1683482464819.png

 

 

 

 

 

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

    Hi @MIA27 

     

    Try using the File Content from convert file action output in Attachment Content. It would help. Like below

     

    Nived_Nambiar_0-1683512662010.png

     

     

    Hope it helps

     

    Mark it as solution if it resolves your query !

     

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!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 283

#2
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard