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 / Exclude Image Attachme...
Power Automate
Answered

Exclude Image Attachments from Extract

(0) ShareShare
ReportReport
Posted on by 5

Hi All. Have just started using Automate and am trying to build a flow to upload to SharePoint. I have a "When a New Email Arrives" trigger with attachments, an action begins using an AI Model to extract information from documents, then take two tags from that extract to name the file.

Let's assume tag 1 is "Customer" and tag 2 is "Carton Number." I have the Trigger and actions configured fine and am seeing the desirable result, however an issue I am facing is that the image from the organisation Signature is detecting and is also uploading to SharePoint.


The expected result of "Customer" and "Carton Number" is always numbers, never letters. How can I prevent my flow from extracting the Signature Attachment? Is it possible to exclude results that include letters, seeing as though I am only expecting a return of Numbers?

 

Thank Team.

Categories:
  • Verified answer
    Manish Solanki Profile Picture
    15,169 Moderator on at

    Hi @mty 

     

    You could exclude the inline attachments like signature image by testing "inline" property of an attachment. To do this, pls add a condition action inside the loop as shown below. Choose "Attachments Is inline" property from the dynamic content:

    ManishSolanki_0-1698058099716.png

    For the right-side operand, write an expression in the expression box:

    ManishSolanki_1-1698058184294.png

    Expression used in the above screenshot:

    true

    As we have set the condition to test if the image is not inline so next actions should be added in the "Yes" block of the condition action.

     

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

     

    Thanks

  • mty Profile Picture
    5 on at

    Thanks @ManishSolanki. I misinterpreted the use of the Inline dynamic expression. I kept putting the condition as "is equal to" with the next action in the yes option. Thanks for explaining Manish.

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 315 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 267

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard