If you need to return the entire data object from a previous node (even if it is 5 nodes back) use the below expression:
return $('NodeA').all();
Where 'NodeA' is the name of your target node.
This will pass through the object EXACTLY as is.
Use case: I have a flow where I need to fan out the data, process it, and then merge it back, to join up to two other paths. At the merge point, I need to original data object, in its entirety.
Bart Slodyczka
n8n hack #207
If you need to return the entire data object from a previous node (even if it is 5 nodes back) use the below expression:
return $('NodeA').all();
Where 'NodeA' is the name of your target node.
This will pass through the object EXACTLY as is.
Use case: I have a flow where I need to fan out the data, process it, and then merge it back, to join up to two other paths. At the merge point, I need to original data object, in its entirety.
1 week ago | [YT] | 109