How to create conditional workflows with switches

:wave: Hello n8n community!

If you’re familiar with using paths in Zapier or routers in Make but haven’t mastered switches for directing data in workflows, this < 3 minute video will guide you on how to use them effectively.

:pray: Thanks to @bartv for alerting me to this part of the forum!

6 Likes

You’re welcome, Colleen :slight_smile: Thanks for making such a useful tutorial!

2 Likes

Great video, if you are going to do a whole series of these they will attract much attention I think. :slight_smile:

One tiny note, the switch node as was shown in the video is fairly new, so would be great to note this for people looking at it on old versions of n8n and getting confused. :slight_smile:

2 Likes

Great vid! Switches are awesome. I love how you can use them for menus in Telegram bots for example, where the /command can be checked using ‘String starts with’ and then the /command as value. Also, if there is no /command, you could have a ‘fallback’ route that handles any other behaviour.

Thank you @BramKn! :pray:

Had not thought about it from the point of view of people using older versions.

1 Like

Thank you for the feedback and sharing how you like to use switches, @codewulf0. :grinning: