Workflow events, state and visualization
Watch a workflow report what it is doing through events, share data between steps through state, and print a diagram of its own graph.
11 minPro
Checking your access…
Inside this lesson
- An animation you play, pause and step through, with each part saying what it is doing.
- The real code beside it, with the lines for each step lit up.
- Practice mode, where you route each message yourself, and a short quiz.
- About 11 minutes.
In this module: Workflows
- WorkflowsSteps in an order you decide.Pro
- Functional workflowsWorkflows written as plain async functions with steps.Pro
- Executors and edgesThe nodes of a workflow graph and the routes between them.Pro
- Workflow events, state and visualizationWatching a run, sharing data and drawing the graph.Pro
- Agents in workflows, and workflows as agentsAgents as workflow steps, and a whole workflow as one agent.Pro
- Sub-workflowsNesting one workflow inside another.Pro
- Human input and checkpoints in workflowsPausing for a person, saving progress and resuming later.Pro
- Declarative workflowsWhole workflows in YAML, with variables and actions.Pro