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 / Power automate - Count...
Power Automate
Answered

Power automate - Count not embeded attachments

(0) ShareShare
ReportReport
Posted on by 4

Hello, i need to count attachment in new maeeage.

I have function: length(triggerBody()?['Attachments'])

but this reurn count with embeded attachments. I need count not embeded attach.

 

Somebody help? THX

Categories:
I have the same question (0)
  • Verified answer
    danrobson Profile Picture
    119 on at

    Sure there's a better way but I would initialise a variable of type integer and then do an apply to each on the attachments and check if the isInline value is false if so then increment the variable, at the end you'll have a count of the attachments in the variable.  

  • Pinki Profile Picture
    4 on at

    THX

     

    PS

    Usefull for me also

    https://docs.microsoft.com/en-us/power-automate/create-variable-store-values

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 594

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 281 Super User 2026 Season 1

Last 30 days Overall leaderboard