Sub-flows are one of the most powerful features in Oppz AI. They let you use an existing flow as a node inside another flow, enabling reusable, modular, and scalable automation.

Sub-flows can be found in the nodes library:

Subflow 1.png


🎯 Why Use Sub-Flows?

βœ… Cleanliness & Modularity

Breaking complex processes into smaller sub-flows keeps things:

πŸ’‘ Tip: Think of each sub-flow as a β€œmini-flow” β€” small, focused, and reusable across different workflows.


πŸ“š Multi-Layer Nesting

Sub-flows can also be nested. This means one flow can call another, which in turn can call yet another.

Example: Processing eCommerce orders from an email inbox β†’

  1. Inbox Flow β†’ Extract orders
  2. Order Flow β†’ Process a single order
  3. Item Flow β†’ Process each item in that order

πŸ‘‰ This structure keeps things clear and lets you work step by step without overwhelming complexity.

A sample sub-flow can be seen below: