Demo: Conditional Set Execution via IF on Function Output - n8n Workflow | Neura Market
Demo: Conditional Set Execution via IF on Function Output
Illustrates branching workflow logic where an IF node routes Function outputs to different Set nodes based on ID value, ideal for n8n beginners learning conditionals.
This workflow serves as a companion example for n8n's IF node documentation, showcasing how to implement conditional branching based on data from a preceding Function node. It begins with a Manual Trigger, followed by a Function node that generates two items with distinct 'id' values (0 and 1). The IF node evaluates each item's 'id'—routing to a 'Set' node (setting 'name' to 'n8n') if true (e.g., id equals 0), or to 'Set1' (setting 'name' to 'nodemation') if false.
The primary benefit is educat
Platform
n8n
Category
Internet of Things
Price
$4.99
Creator
QualityWorkflows
n8n
IF node
Function node
conditional logic
branching
tutorial
demo
workflow example
Set node
development
How to import this workflow into n8n
1Purchase or download the workflow to get the n8n workflow JSON file.
2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
3Open each node marked with a credential warning and connect your own accounts and API keys.
4Run the workflow once manually to verify the data flow, then toggle it to Active.