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