> For the complete documentation index, see [llms.txt](https://doc.duaer.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.duaer.com/flow-logic.md).

# Flow logic in Duaer

Error handling, looping, and sub-organizations. Start here for the most common canvas flow questions in Duaer.
## Start with these three

- [Where a failed node goes](/flow-logic/error-handling.md): On Error, retries, and Error Trigger.
- [Looping](/flow-logic/looping.md): per-item work and explicit loops.
- [Sub-organizations](/flow-logic/subworkflows.md): Execute Sub-workflow to split reusable steps.

## Related to memory issues

When a run pulls too much data, read [memory errors](/flow-logic/error-handling/memory-errors.md), then split or batch the work.
## Questions

### Where should I start in flow logic?

Error handling, looping, and sub-organizations. Those three cover the most common canvas flow questions.

