Append not working properly

Information on your n8n setup

  • n8n version: 1.101.3
  • Database (default: SQLite): SQLite
  • n8n EXECUTIONS_PROCESS setting (default: own, main): own
  • Running n8n via (Docker, npm, n8n cloud, desktop app): npm
  • Operating system: Linux

{
“nodes”: [
{
“parameters”: {
“numberInputs”: 5
},
“type”: “n8n-nodes-base.merge”,
“typeVersion”: 3.2,
“position”: [
8120,
760
],
“id”: “cb25b6a4-2978-4896-a96c-b6afbe2b4db3”,
“name”: “Merge16”,
“alwaysOutputData”: false,
“notesInFlow”: false,
“executeOnce”: false,
“onError”: “continueRegularOutput”
}
],
“connections”: {
“Merge16”: {
“main”: [

]
}
},
“pinData”: {},
“meta”: {
“templateCredsSetupCompleted”: true,
“instanceId”: “05205301e19e3620e9873ab585b35baa63027e5c1567ae8808fa9e873a388cd7”
}
}

Hello everyone. Merge is not appending data when not all inputs are provided

Per documentation, the append mode is to keep data from all inputs. What you trying to achieve?

Keep all data, even when there are executions where not all inputs have data. In my scenario, I have 5 inputs connected to MERGE, but only one is returning data, so I want the MERGE node to return that one data.

What you could do is make all inputs have data, even if that’s an empty object.

You can make a node to always output with “Always Output Data” setting:

It is already configured this way

The most confusing thing is that other previous nodes are showing normal behavior

Sorry you are showing different pictures each time, it is hard to keep track of which question is related to which image.

could you show a simple reproducible example of where all inputs are coming in, but the merge node with append mode isn’t producing output? Please share the reproducible example.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.