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 / Filter content inside ...
Power Automate
Unanswered

Filter content inside a adaptice card

(1) ShareShare
ReportReport
Posted on by 6

Hello everyone!

I'm currently looking for a way to filter all messages inside a channel, by looking for an information sitting inside "attachments->content" (see picture below)

LennartKrebs_0-1719829978693.png

When I set the filter array, it just looks for content in "body->content" buw this doenst work because there are no relevant informations.

 

This is the filter array i use at the moment:

LennartKrebs_1-1719830089638.png

From: List of Messages

Filter: "body contains id"

 

How can I get this flow to work? Thanks guys

 

Categories:
I have the same question (0)
  • v-yueyun-msft Profile Picture
    Microsoft Employee on at

    Hi , @LennartKrebs 

    According to your screenshot , you want to use the "Attachments -> content" contains "ID".

    If this , you can try to use this expression in  the left of the judgement pane.

    vyueyunmsft_1-1719882644164.png

    vyueyunmsft_3-1719882697651.png

     

     

    (1)If your Attachments  has just one item in the array:

    vyueyunmsft_2-1719882681263.png

    You can use this expression:
    item()?['attachments']?[0]?['content']

     

    (2)If you have more then one item in the array, you can use this expression:
    join( xpath( xml(json(concat('{"root":{"item":',item()?['attachments'],'}}'))) , '/root/item/content/text()') , ';')

    If this reply can help you , you can click mark this reply as solution (Accept solution) which can help more people, thanks in advance! 

     

    Best Regards,

    Yueyun Zhang

     

     

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 283

#2
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard