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 / Using AI builder to ex...
Power Automate
Answered

Using AI builder to extract data from PDF's in email attachment

(0) ShareShare
ReportReport
Posted on by 5

I've been trying to get my head around how I can extract PDF information with this AI builder which seems to work quite well. However, whenever I run this flow it generates 3 SharePoint list items, one of which has all of the data and two that are completely blank. I can't seem to make it generate just the one item that has the information extracted. 

 

How can I set this up to work where emails land in our inbox > data is extracted with AI > SharePoint list item is generated based on dynamic values from AI? 

AI builder.PNG
Categories:
I have the same question (0)
  • Verified answer
    rzaneti Profile Picture
    4,481 Super User 2026 Season 1 on at

    Hi @ephillips9598 ,

     

    Based on your description, it looks like you are getting 3 attachments from the received email. It happens sometimes, as Power Automate may read the email signatures as attachments. These signatures are being looped in your 'Apply to each' and, as the AI Builder probably do not identify anything from them, the SP List is populated with the blanks.

     

    To solve it, you can include a 'Filter array' right after your trigger, passing 'Attachments' property as 'From' input. As fields to be filtered, set the dynamic content of the 'contentType' on the left input, set the dropdown to 'is equal to' and in the right input type 'application/pdf'. It will looks like this:

    rzaneti_0-1692826406538.png

     

    After that, in your 'Apply to each', just replace the dynamic contents that you were pulling from the trigger to refer them to 'Filter array' output. 

     

    Let me know if it works for you or if you need any additional help!

     

    -------------------------------------------------------------------------
    If this is the answer for your question, please mark the post as Solved.
    If this answer helps you in any way, please give it a like.

    http://digitalmill.net/ 

  • ephillips9598 Profile Picture
    5 on at

    This worked perfectly. Thank you so much!

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 523

#2
Valantis Profile Picture

Valantis 318

#3
David_MA Profile Picture

David_MA 235 Super User 2026 Season 1

Last 30 days Overall leaderboard