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

Community site session details

Session Id :
Power Automate - Building Flows
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.

I have the same question (0)
  • Verified answer
    ManishSolanki Profile Picture
    15,089 Super User 2025 Season 2 on at
    Re: Exclude Image Attachments from Extract

    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
    Re: Exclude Image Attachments from Extract

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 647 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 350 Moderator

#3
developerAJ Profile Picture

developerAJ 256

Last 30 days Overall leaderboard