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

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Getting Failed pdf ema...
Power Automate
Unanswered

Getting Failed pdf email in power automate flow

(0) ShareShare
ReportReport
Posted on by 10

So im working on a flow to collect user data on forms, pass it through a flow that populates a word document and then sends that document through email (outlook) in pdf format. However im having an issue with viewing it in the email. My flow runs perfectly well. no issues that i know of, but yet i get a failed to load error when trying to preview or download the pdf. however, when i head over to one drive to check that the file was created in pdf. Its there to view and in pdf format, filled out and readable. My only issue is, why is the pdf getting crippled on the way to outlook. i dont understand why this is happening. can anyone let me know how i can fix this?

 

Note: im using instant cloud flow.. if that changed things

Categories:
I have the same question (0)
  • creativeopinion Profile Picture
    10,502 Super User 2025 Season 2 on at
    Re: Getting Failed pdf email in power automate flow

    @Jaz1 You have two Create file actions. Can you check to ensure that the Get file content is accessing the dynamic content from the Create file 1 action and not the Create file action? Tip: Rename your actions to keep things organized. Especially when using multiple instances of the same action. Things can get pretty confusing.

    creativeopinion_0-1704465197284.png

    By renaming your actions it makes it easier to identify which action the dynamic content belongs to.

    creativeopinion_1-1704465263390.png

     

    For more flow troubleshooting tips—check out This YT Tutorial: 5 Power Automate Troubleshooting FAQs and Helpful Tips for Creating Better Flows

    In this tutorial I cover:

    ✅ How to troubleshoot a false Condition action result

    ✅ How to get dynamic content when it isn’t selectable from the list of dynamic content

    ✅ How to troubleshoot an Apply to Each action that isn’t looping through

    ✅ How to troubleshoot a skipped Apply to Each action

    ✅ How to troubleshoot a Filter Query

    ✅ How to use a SharePoint yes/no column in a Filter Query

    ✅ How to use Compose actions to troubleshoot a Power Automate flow

    ✅ How to troubleshoot multiple emails being sent

    ✅ How to troubleshoot multiple Teams messages being sent

     

    Hope this helps!


    If I helped you solve your problem—please mark my post as a solution ✅.
    Consider giving me a 👍 if you liked my response!

    👉 Watch my tutorials on YouTube
    👉 Tips and Tricks on TikTok

     

  • Jaz1 Profile Picture
    10 on at
    Re: Getting Failed pdf email in power automate flow

    yes. get content is properly accessing dynamic content from create file 1 (i renamed it to create file pdf). 

    Jaz1_0-1704468050902.png

    i used id dynamic data to get file content from create file pdf. i only removed now for demonstration purposes.  

    Jaz1_1-1704468171722.png

     

  • Matthy79 Profile Picture
    4,180 Super User 2024 Season 1 on at
    Re: Getting Failed pdf email in power automate flow

    https://powerusers.microsoft.com/t5/Building-Flows/Corrupted-file/m-p/2520884#M281925

  • creativeopinion Profile Picture
    10,502 Super User 2025 Season 2 on at
    Re: Getting Failed pdf email in power automate flow

    @Jaz1 Which dynamic content are you using for the Attachment name field?

  • Jaz1 Profile Picture
    10 on at
    Re: Getting Failed pdf email in power automate flow

    i am using content from convert file

    Jaz1_0-1704480167331.png

    this is the create file pdf trigger

  • creativeopinion Profile Picture
    10,502 Super User 2025 Season 2 on at
    Re: Getting Failed pdf email in power automate flow

    @Jaz1 Can you try to edit your flow in the Classic Designer and save and test it from the Classic Designer (instead of the New Designer). See if that helps. The new designer is still a bit buggy.

  • Jaz1 Profile Picture
    10 on at
    Re: Getting Failed pdf email in power automate flow

    that still did not work. 

    Jaz1_0-1704486482631.png

     

    Jaz1_1-1704486505785.png

    everything runs smoothly

     

  • Verified answer
    Matthy79 Profile Picture
    4,180 Super User 2024 Season 1 on at
    Re: Getting Failed pdf email in power automate flow

    Have you created the send email action in the classic designer again? What formula do you use for the attachment?

  • Jaz1 Profile Picture
    10 on at
    Re: Getting Failed pdf email in power automate flow

    Oh man! Thank you so much. it finally works

    Jaz1_0-1704498067167.png

     

  • Oliversamuels Profile Picture
    on at
    Re: Getting Failed pdf email in power automate flow

    Hi, I'm having the is issue.
    I'm trying to Create a sharepoint file from a Form response as pdf, the form response is like a request made, which is why I'm creating a file with this response details in order to send via mail for approval. When I save the file with both .pdf and .docx extensions, the file would be created on Sharepoint, but unreadable, and therefore the attachment sent with the approval mail will be inaccessible. When I create it using .html extension, it would be readable from both sharepoint and from the mail. But the problem with the .html file is that it cant be previewed via mail, it has to be download first.

    Is there anything I'm doing wrong? Or is it that I'm trying to implement the impossible? How else can I make this work?

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard