Branching logic is the backbone of every automation. In this episode I show two tools for checking variable values in n8n: IF and Switch — and explain when to reach for each.
What you will learn
- How to set variables and check their values in a workflow.
- How the IF node works and which conditions it is enough for.
- How the Switch node simplifies complex condition trees and keeps them readable.
- How to avoid nested IF chains that are hard to maintain.
IF or Switch?
The short rule from the episode: for a single yes/no check, IF is all you need. Once there are more variants (routing by status, document type, language), Switch gives you one readable node instead of a cascade of IFs.
Watch the episode
The video is available on YouTube: youtube.com/watch?v=AvBq3hUgLGw.
All episodes are collected on the Automation Academy page (in Polish). Subscribe to my YouTube channel so you do not miss new material.
The video is in Polish; this post summarizes what it covers.











Comments