Skip to main content

Notifications

Community site session details
Power Automate - Using Flows
Answered

Action Convert File Failed

Like (0) ShareShare
ReportReport
Posted on 8 Feb 2024 17:51:01 by 5

Please help! I need help to understand why my workflow failed.  I am trying to  Create a pdf file from an email and store it in OneDrive

Capture1.PNGCapture2.PNGCapture3.PNGCapture4.PNGCapture5.PNG

  • Verified answer
    CFernandes Profile Picture
    8,283 Most Valuable Professional on 08 Feb 2024 at 18:06:37
    Re: Action Convert File Failed

    Hey @deji_4 

     

    The problem is it cannot file the file...Steps below -

     

    • Add a "When a new email arrives" trigger.
    • Add a "Export email" action, Message Id field set to Message Id dynamic content of the trigger.
    • Add a "Create file" action of OneDrive connector, specify Folder Path, File Name field set to Received Time dynamic content.eml, File Content field set to output of "Export email" action.
    • Add a "Convert file" action, File field set to Id dynamic content of the "Create file" action, Target type set to PDF.
    • Add a "Create file 2" action, specify Folder Path, File Name field set to Received Time dynamic content.pdf, File Content field set to File content dynamic content of the "Convert file" action.
    • Add a "Delete file" action, File field set to Id dynamic content of the "Create file" action.

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

     

    P.S. take a look at my blog here and like & subscribe to my YouTube Channel thanks.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,743 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,079 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow
Loading complete