Hello! I’m new to n8n and trying to figure out a simple case with an if statement.
Describe the problem/error/question
Im trying to decide on multiple steps if I should do X or Y.
I try to avoid calling things when not necessary (ex. call is in time every time even host is not available) and I don’t like to duplicate “get bulbs and turn off / on” nodes
Real case:
Turn bulbs on when host is reachable and time is between X and Y otherwise turn the bulbs off.
What is the error message (if any)?
Error message on not executed nodes “Referenced node is unexecuted”
Please share your workflow
Simple example workflow.
Share the output returned by the last node
I would expect that I can check on the last if node if both required nodes are true otherwise false.
Information on your n8n setup
- n8n version: 1.35.0
- Database (default: SQLite): postgres 16
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app): docker
- Operating system: Proxmox → VM:Debian 10 → Docker
