---
description: >-
  A subflow is a collection of nodes that are collapsed into a single node in
  the workspace.
---

# Subflows

A subflow is a collection of nodes that are collapsed into a single node in the workspace.

They can be used to reduce some visual complexity of a flow, or to package up a group of nodes as a reusable flow used in multiple places.

Once created, the subflow is added to the palette of available nodes. Individual instances of the subflow can then be added to the workspace just like any other node.

_Note:_ a subflow cannot contain an instance of itself - either directly or indirectly.
