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,476 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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 450

#2
Haque Profile Picture

Haque 366

#3
Valantis Profile Picture

Valantis 349

Last 30 days Overall leaderboard