dw-accumulator An example project demonstrating how to accumulate values in a for-each loop using dataweave You can find the video demonstrating this here: https://www.youtube.com/watch?v=CoDBvBmZHy4