Hello everyone,
I’m facing an issue with my n8n workflow where I’m unable to retrieve a value from a preceding node after passing through a condition node.
Here’s the situation: I have a workflow with an authentication node (“ERMEO API - AUTHENTIFICATION”) that successfully fetches an access token, which I need to use in subsequent nodes. This works fine until the workflow hits a condition node. After the condition node, when I try to retrieve the access token using the syntax:
{{ $('ERMEO API - AUTHENTIFICATION').item.json["data"]["access_token"] }}
I end up with an undefined
value.
I can confirm that the value is present and retrievable before the condition node. Would anyone know why the value becomes undefined
after the condition node and how I might resolve this issue?
For additional context, I am using the latest version of n8n.
Any help or guidance would be greatly appreciated!
Thank you in advance for your support.