Skip to main content

Notifications

Power Automate - General Discussion
Answered

unable to create a file

(0) ShareShare
ReportReport
Posted on by

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

 

 

 

 

 

  • Verified answer
    Nived_Nambiar Profile Picture
    Nived_Nambiar 17,024 on at
    Re: unable to create a file

    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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,422

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,711

Leaderboard