Describe the problem/error/question
I have a simple IF node. The false output for the node is a copy of the input. I didn’t select this behavior it seems to be a default.
The true output for the node is empty. If the input were simply copied to the output for true, that would meet my needs.
I don’t see any discussion about the output from IF nodes in the documentation. How can I access/ set/ use output on the true branch?
More generally, how does IF node treat its outputs?
What is the error message (if any)?
There is no error.
Please share your workflow
Share the output returned by the last node
Input to If node:
[
{
"output": {
"isInvoice": "YES",
"id": "AAMkADY3M2YxNTFkLTVjNTYtNGUyMC1iYzEyLTJlNDRiNDUyZTVmZgBGAAAAAADlhvYQib4qSomtPoqPyNNFBwDoOmRFRWNuR6_cdJelOOwOAAAAZlnoAADrFiUdN37aQ5X0pTL_mlFoAAszbNgPAAA="
}
}
]
false output
[
{
"output": {
"isInvoice": "YES",
"id": "AAMkADY3M2YxNTFkLTVjNTYtNGUyMC1iYzEyLTJlNDRiNDUyZTVmZgBGAAAAAADlhvYQib4qSomtPoqPyNNFBwDoOmRFRWNuR6_cdJelOOwOAAAAZlnoAADrFiUdN37aQ5X0pTL_mlFoAAszbNgPAAA="
}
}
]
true output
<empty>
Information on your n8n setup
- I am running the latest version from the cloud
- Database: default for the cloud
- n8n EXECUTIONS_PROCESS default
- Running n8n via cloud
- Operating system: macOS, current version