Workflows

An LLM-optimized bundle of this entire section is available at section.md. This single file contains all pages in this section, optimized for AI coding agent context.

So far in our discussion of workflows, we have focused on top-level workflows decorated with @union.workflow. These are, in fact, more accurately termed standard workflows to differentiate them from the other types of workflows that exist in Union.ai: subworkflows, dynamic workflows, and imperative workflows. In this section, we will delve deeper into the fundamentals of all of these workflow types, including their syntax, structure, and behavior.