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

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? 

Categories:
I have the same question (0)
  • Verified answer
    rzaneti Profile Picture
    4,241 Super User 2025 Season 2 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

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

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard