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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Processing email attac...
Power Automate
Unanswered

Processing email attachments causes pdfs to be blank

(0) ShareShare
ReportReport
Posted on by 6

I am looping through emails and taking every attachment and processing them through an AI model, when I get to pdf some pdf files are being processed blank and it is failing, but when I open them off the email they are fine. I send the attachment at the end and that is blank too.

 

 

Categories:
I have the same question (0)
  • ManishSolanki Profile Picture
    15,091 Super User 2025 Season 2 on at

    Hi @Jedi16041970 

     

    You need to pass the output body of "Get attachment" action in the file parameter of AI builder action.

     

    Here is an example:

    ManishSolanki_0-1715663068614.png

     

     

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

  • Jedi16041970 Profile Picture
    6 on at

    I dont have "Body" to select?

    Jedi16041970_0-1715672755458.png

     

  • ManishSolanki Profile Picture
    15,091 Super User 2025 Season 2 on at

    Firstly, switch to classic designer by toggle off 'New designer' flag on the top right corner:

    ManishSolanki_0-1715673699737.png

    There are issues with file object in new designer. Post switching to classic designer, just retest the flow.

     

    If issue still exists, then you can search output body of get attachment action in dynamic content window and pass to the file parameter:

    ManishSolanki_1-1715673962548.png

     

     

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

  • Jedi16041970 Profile Picture
    6 on at

    Ok i have retested the flow after turning off the New Designer - same issue, any other ideas?

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 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard