How to Combine Two Runs into a Single Execution

How can I combine results from two branches/runs into a single output in one n8n workflow?
(I have one branch returning 59 items and another returning 9, and I’d like to get a combined total of 68 items in one result.)

Assume the Aggregate node returned a var called data, you could use a code node like this to loop over all the executions and merge them in. In your case it’s probably the Merge 1 node’s output

Merge1 has two runs after merge do i directly use the code node you suggested ?

Yes it should be after merge if you are trying to merge the 2 runs

That Code node returns this error : Code doesn’t return items properly

Please return an array of objects, one for each item you would like to output.