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

Notifications

Announcements

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 240 Super User 2025 Season 2

#2
Expiscornovus Profile Picture

Expiscornovus 201 Most Valuable Professional

#3
trice602 Profile Picture

trice602 172 Super User 2025 Season 2

Last 30 days Overall leaderboard