Announcements
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
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.
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.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Haque 594
Valantis 328
David_MA 281 Super User 2026 Season 1