Flow logic
How to represent logic in n8n workflows.
Flow logic
n8n allows you to represent complex logic in your workflows.
[[% import "_macros/section-toc.html" as sectionToc %]]
This section covers:
[[ sectionToc.sectionToc(page) ]]
Related sections
You need some understanding of Data in n8n, including Data structure and Data flow within nodes.
When building your logic, you'll use n8n's Core nodes, including:
- Splitting: IF and Switch.
- Merging: Merge, Compare Datasets, and Code.
- Looping: IF and Loop Over Items.
- Waiting: Wait.
- Creating sub-workflows: Execute Workflow and Execute Workflow Trigger.
- Error handling: Stop And Error and Error Trigger.
Last updated on
