Question about branching and converging back to one branch

Describe the problem/error/question

I have a complex workflow, many nodes branch out to multiple branches to then converge back again. I am now facing a very irritating qwirk or issue:
For Google Drive & Binary Data Downloads I cannot have two nodes (where only one will execute) converge into one node that let’s say uploads a document to google drive irrespective if it comes from one node or the other. The test execution does not fail but returns an empty response and I cannot get any console logs or anything out of it.

What is the error message (if any)?

NONE!!!

Please share your workflow

Share the output returned by the last node

N/A

core

  • n8nVersion: 1.59.4
  • platform: docker (self-hosted)
  • nodeJsVersion: 20.17.0
  • database: sqlite
  • executionMode: regular
  • concurrency: -1
  • license: community
  • consumerId: unknown

storage

  • success: all
  • error: all
  • progress: false
  • manual: true
  • binaryMode: memory

pruning

  • enabled: true
  • maxAge: 336 hours
  • maxCount: 10000 executions

security

  • secureCookie: false

Generated at: 2024-09-25T12:20:24.927Z

It looks like your topic is missing some important information. Could you provide the following if applicable.

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

Can you try with Merge Node?
I use for Merge 2 output to one but setup to non-matches
It help to fix issue about Duplicate data too.

1 Like

How should this work? In my example I will only ever have one of the two google drive nodes return data as the other does not execute…

Am not sure this you went or not?
it should run all both if don’t have data it’ll send [undefined]

The wierd issue is that the new node (the one that converges) does not output anything, no error, nothing:

Full example:

This is what happens:
Screenshot 2024-09-25 at 15.50.18

Let me know if you had this happen to you too.

ok i see.
the file upload in google drive or not when you running?

try with Always Output Data first.
image

and try node set for custom data if it not show

Hey @Gotppsn thanks! I already tried this but the issue is that one of the two google drive nodes WILL NOT execute simply because it’s not needed. So even if I specify to always return data it won’t since it will not be executed…

I am running out of ideas and the fact that the console and the app does not throw errors is also a mystery…

hello @karlfrankeser

So what is the issue? According to the workflow, you don’t need to run both Google Drive nodes.

But for Post Task Comment node you should change that part:

{{ $('Webhook').item.json.body.task_id }}

to

{{ $('Webhook').last().json.body.task_id }}

Hi there @barn4k,
thanks for your input, there is still something that’s not right, the node get’s executed but it does not return anything in the result tab, I also see no logs, errors, nothing…

Screenshot 2024-10-01 at 08.50.13

Clear the execution data (the button withe the bin)
image

and start it again. It sometimes may not work properly