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 Automate
Unanswered

Split Json

(0) ShareShare
ReportReport
Posted on by 204

Hi Guys,

 

I have a collection being sent in Json format to power automate.

The collection has a few columns although I'm interested in the attachment number column

 

I need to split the collection at every 5th attachment.

For example my collection had 8 rows it will split at the 5th attachment number.

 

Leaving one collection with 5 rows and the other with 3.

 

Any help is greatly appreciated.

 

Thanks

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

    Hi @christian12 

     

    You can use the function chunk:

    Divide a string or array into equal-sized segments.

    I think this link will help you a lot:

    Power Automate Chunk Function Explained (zeitgeistcode.com)

     

    Best Regards,

    Levi

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

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 391

#2
11manish Profile Picture

11manish 276

#3
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

Last 30 days Overall leaderboard