Hi everyone,
I’m working on a workflow that starts with an n8n Form Trigger.
One of the fields is a Dropdown called searchEmail with two options:
Yes → should correspond to true
No → should correspond to false
Describe the problem/error/question
When the workflow reaches the IF node, the condition always evaluates as No, no matter what the user selected in the form.
Even if the user chooses Yes, the IF node still behaves as if the value is false.
What I’ve checked so far
The form correctly displays the dropdown and sends a value.
I tried setting the “Field Value” to True / False in the form configuration.
I also tried comparing strings inside the IF node, like:
={{ $json.searchEmail === “True” }}
This works, but it’s not clean and doesn’t solve the underlying issue.
I inspected the incoming data in the workflow: the field seems to always be interpreted as a string, not a boolean.
No matter what I do, the IF node never detects the value as true.
Workflow context
Here is the part of the workflow where the issue happens (screenshot attached).
The IF node is supposed to branch depending on the user’s selection, but both branches behave as if the user selected “No”.
Please share your workflow
My question
Is there a way to make the Dropdown field return a real boolean that the IF node can evaluate correctly?
Or is there a recommended best practice to map “Yes/No” to true/false before reaching the IF node?
Thanks a lot for your help — I feel like I’m missing something obvious, but I can’t get the IF node to behave correctly.
Information on your n8n setup
- n8n version:
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app):
- Operating system: