Stuck on how to split a large array into smaller arrays

Hi @XenoMax,

It might require a few iterations on your end to set this up, but based on the problem that you have specified, what you can do is,

  1. Use Array Aggregator to Aggregrate all the 6000 items that you get from Xero
  2. Use a Repeater Module, that will start with 0 and will go to floor(length(items)/24)
  3. Now After the aggregator what you can do is either setup a Set a Variable Module or directly use it in your target module that will slice the array with formula,

{{slice(3.array; (4.i * 24) + 1; (4.i + 1) * 24)}}

Screenshot from 2023-05-01 17-06-24

Just give a try and see how it goes.

3 Likes