Understand the DAG-based workflow system that manages node execution and data flow through directed processing pipelines.
The workflow system is built around the concept of a directed acyclic graph (DAG) where nodes represent processing steps and edges represent the flow of data between them. The Workflow class in workflow.py serves as the orchestrator, managing the execution flow and passing the task context between nodes.
Workflow Class
The foundation of the workflow system is the abstract Workflow class:
class Workflow(ABC): """Abstract base class for defining processing workflows. The Workflow class provides a framework for creating processing workflows with multiple nodes and routing logic. Each workflow must define its structure using a WorkflowSchema. """
Key capabilities:
Abstract base class for concrete workflows
Schema validation during initialization
Node execution and routing management
Task context passing between nodes
Optional Langfuse tracing via enable_tracing=True (default False)
Execution Methods
A Workflow instance exposes three entry points:
Method
Signature
Use when
run
run(event=None, *, context=None)
Calling from sync Python (Celery task, script). Wraps run_async in asyncio.run.
run_async
await run_async(event=None, *, context=None)
Calling from an existing event loop (FastAPI route, parent node delegating to a child workflow).
run and run_async both return the final TaskContext. Pass event= for a fresh run, or context= to continue with an existing TaskContext — this is how one workflow composes another without losing accumulated state.
# Enable Langfuse tracing for a single invocationworkflow = CustomerCareWorkflow(enable_tracing=True)# Standard entry from a sync callercontext = workflow.run(event_data)# Inside a FastAPI handlercontext = await workflow.run_async(event_data)# Compose a child workflow, carrying the parent's context forwardchild = InvoiceWorkflow()context = await child.run_async(context=context)
When enable_tracing=True and Langfuse credentials are missing or invalid, the workflow constructor raises LangfuseAuthenticationError.
Nested Workflows
Use nested workflows when one step in a larger workflow deserves its own workflow definition. A parent node can delegate to a child workflow and pass the current TaskContext forward:
When context= is provided, the child workflow reuses the existing TaskContext instead of parsing a fresh event. That means:
The child workflow can read the same task_context.event and previous node outputs.
Outputs saved by child nodes remain available to later parent nodes.
The workflow engine temporarily swaps in the child’s node registry while the child runs, then restores the parent’s registry afterward.
should_stop is reset when entering the child workflow so a child can run even if a parent step previously stopped another branch.
This pattern is useful for reusable sub-processes like drafting a reply, extracting invoice data, running a review workflow, or grouping a specialized sequence behind a single parent node.See the Nested Workflow example for a complete parent/child workflow implementation.
Schema Definitions
The schema.py module defines the structure and configuration of workflows using Pydantic models.
WorkflowSchema
class WorkflowSchema(BaseModel): """Schema definition for a complete workflow. WorkflowSchema defines the overall structure of a processing workflow, including its entry point and all constituent nodes. """
Key attributes:
description: Optional description of the workflow’s purpose
event_schema: Pydantic model for validating incoming events
start: The entry point Node class for the workflow
nodes: List of NodeConfig objects defining the workflow structure
Benefits:
Type Safety: Pydantic models ensure type validation
Documentation: Built-in schema documentation
Validation: Automatic validation of workflow structure
IDE Support: Full autocomplete and type checking
NodeConfig
class NodeConfig(BaseModel): """Configuration model for workflow nodes. NodeConfig defines the structure and behavior of a single node within a workflow, including its connections to other nodes and routing properties. """
NodeConfig attributes:
node: The Node class to be instantiated
connections: List of Node classes this node can connect to
is_router: Flag indicating if this node performs routing logic
description: Optional description of the node’s purpose
concurrent_nodes: Optional list of Node classes that can run concurrently
Workflow Validation
The validate.py module provides validation logic for workflow schemas, ensuring they form valid directed acyclic graphs (DAGs) and have proper routing configurations.Validation Features:
DAG Validation - Validates that the workflow forms a proper DAG with no cycles
Reachability Check - Ensures all nodes are reachable from the start node
Router Validation - Validates that only router nodes have multiple connections
Workflow Example
Here’s a complete example of a workflow implementation:
This example demonstrates a typical workflow pattern: concurrent analysis, routing based on results, and a terminal action node for the selected path.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"GenAI Launchpad | Datalumina","colors":{"primary":"#E0A210","light":"#E0A210","dark":"#E0A210"},"logo":{"light":"https://mintcdn.com/dataluminasolutions/zRILf417bhpK8Wcx/logo/light.svg?fit=max\u0026auto=format\u0026n=zRILf417bhpK8Wcx\u0026q=85\u0026s=108d80a8dc915847166c02847e054885","dark":"https://mintcdn.com/dataluminasolutions/6uTy0iAPtvu1m_vt/logo/dark.svg?fit=max\u0026auto=format\u0026n=6uTy0iAPtvu1m_vt\u0026q=85\u0026s=fb748840246388cb720cf1e8fd6be219"},"favicon":"https://mintcdn.com/dataluminasolutions/6uTy0iAPtvu1m_vt/favicon.svg?fit=max\u0026auto=format\u0026n=6uTy0iAPtvu1m_vt\u0026q=85\u0026s=942b917da1b8ee6b100d56f87cf921cd","appearance":{"default":"dark","strict":false},"background":{"color":{"dark":"#0a0d1a"}},"navbar":{"links":[],"primary":{"type":"button","label":"Get Launchpad","href":"https://go.datalumina.com/yG8djis"}},"footer":{"socials":{"github":"https://github.com/datalumina"}},"contextual":{"options":["copy","chatgpt","claude"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"dataluminasolutions","hasAudioNarration":false,"actualSubdomain":"dataluminasolutions","customDomains":["launchpad.datalumina.com"],"gitSource":{"type":"github","owner":"jorisebbelaar","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6a9be452ce6b42ae5acb92ff","clientVersion":"0.0.4344","searchFilterCounts":[{"language":"default","tag":"Documentation","count":27},{"language":"default","tag":"Core Package","count":9},{"language":"default","tag":"Examples","count":8},{"language":"default","tag":"Framework \u0026 Tools","count":8},{"language":"default","tag":"Quickstart","count":7},{"language":"default","tag":"Changelog","count":2},{"language":"default","tag":"Getting Started","count":2},{"language":"default","tag":"Tutorials","count":2},{"language":"default","tag":"Welcome","count":1},{"language":"default","tag":"License","count":1}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"docs/core/workflow","slug":"/docs/core/workflow","pageMetadata":{"title":"Workflow Orchestration","description":"Understand the DAG-based workflow system that manages node execution and data flow through directed processing pipelines.","href":"/docs/core/workflow"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Understand the DAG-based workflow system that manages node execution and data flow through directed processing pipelines.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`The workflow system is built around the concept of a directed acyclic graph (DAG) where nodes represent processing steps and edges represent the flow of data between them. The `,_jsx(_components.code,{children:`Workflow`}),` class in `,_jsx(_components.code,{children:`workflow.py`}),` serves as the orchestrator, managing the execution flow and passing the task context between nodes.`]}),`\n`,_jsx(Heading,{level:`2`,id:`workflow-class`,children:`Workflow Class`}),`\n`,_jsxs(_components.p,{children:[`The foundation of the workflow system is the abstract `,_jsx(_components.code,{children:`Workflow`}),` class:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`class`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` Workflow`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`ABC`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`):`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"\"\"Abstract base class for defining processing workflows.`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` The Workflow class provides a framework for creating processing workflows`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` with multiple nodes and routing logic. Each workflow must define its structure`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` using a WorkflowSchema.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"\"\"`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Key capabilities:`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Abstract base class for concrete workflows`}),`\n`,_jsx(_components.li,{children:`Schema validation during initialization`}),`\n`,_jsx(_components.li,{children:`Node execution and routing management`}),`\n`,_jsx(_components.li,{children:`Task context passing between nodes`}),`\n`,_jsxs(_components.li,{children:[`Optional Langfuse tracing via `,_jsx(_components.code,{children:`enable_tracing=True`}),` (default `,_jsx(_components.code,{children:`False`}),`)`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`execution-methods`,children:`Execution Methods`}),`\n`,_jsxs(_components.p,{children:[`A `,_jsx(_components.code,{children:`Workflow`}),` instance exposes three entry points:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Method`}),_jsx(_components.th,{children:`Signature`}),_jsx(_components.th,{children:`Use when`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`run`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`run(event=None, *, context=None)`})}),_jsxs(_components.td,{children:[`Calling from sync Python (Celery task, script). Wraps `,_jsx(_components.code,{children:`run_async`}),` in `,_jsx(_components.code,{children:`asyncio.run`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`run_async`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`await run_async(event=None, *, context=None)`})}),_jsx(_components.td,{children:`Calling from an existing event loop (FastAPI route, parent node delegating to a child workflow).`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`run_stream_async`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`async for chunk in run_stream_async(event)`})}),_jsxs(_components.td,{children:[`Streaming nodes that yield SSE chunks (see the `,_jsx(_components.a,{href:`/docs/examples/sse-streaming`,children:`SSE Streaming example`}),`).`]})]})]})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`run`}),` and `,_jsx(_components.code,{children:`run_async`}),` both return the final `,_jsx(_components.code,{children:`TaskContext`}),`. Pass `,_jsx(_components.code,{children:`event=`}),` for a fresh run, or `,_jsx(_components.code,{children:`context=`}),` to continue with an existing `,_jsx(_components.code,{children:`TaskContext`}),` — this is how one workflow composes another without losing accumulated state.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`12`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`12`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Enable Langfuse tracing for a single invocation`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`workflow `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` CustomerCareWorkflow(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`enable_tracing`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`True`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Standard entry from a sync caller`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`context `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` workflow.run(event_data)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Inside a FastAPI handler`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`context `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` workflow.run_async(event_data)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Compose a child workflow, carrying the parent's context forward`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`child `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` InvoiceWorkflow()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`context `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` child.run_async(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`context`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`context)`})]}),`\n`]})})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`When `,_jsx(_components.code,{children:`enable_tracing=True`}),` and Langfuse credentials are missing or invalid, the workflow constructor raises `,_jsx(_components.code,{children:`LangfuseAuthenticationError`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`nested-workflows`,children:`Nested Workflows`}),`\n`,_jsxs(_components.p,{children:[`Use nested workflows when one step in a larger workflow deserves its own workflow definition. A parent node can delegate to a child workflow and pass the current `,_jsx(_components.code,{children:`TaskContext`}),` forward:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`11`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`class`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` RunReplyWorkflowNode`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`Node`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`):`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` class`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` OutputType`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`BaseModel`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`):`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` delegated: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`bool`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` workflow: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`str`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` async`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` def`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` process`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`self`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`task_context`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: TaskContext) -> TaskContext:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ReplyDraftWorkflow().run_async(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`context`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`task_context)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` self`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.save_output(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` self`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.OutputType(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`delegated`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`True`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`workflow`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ReplyDraftWorkflow\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` )`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` task_context`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`When `,_jsx(_components.code,{children:`context=`}),` is provided, the child workflow reuses the existing `,_jsx(_components.code,{children:`TaskContext`}),` instead of parsing a fresh event. That means:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`The child workflow can read the same `,_jsx(_components.code,{children:`task_context.event`}),` and previous node outputs.`]}),`\n`,_jsx(_components.li,{children:`Outputs saved by child nodes remain available to later parent nodes.`}),`\n`,_jsx(_components.li,{children:`The workflow engine temporarily swaps in the child’s node registry while the child runs, then restores the parent’s registry afterward.`}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`should_stop`}),` is reset when entering the child workflow so a child can run even if a parent step previously stopped another branch.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`This pattern is useful for reusable sub-processes like drafting a reply, extracting invoice data, running a review workflow, or grouping a specialized sequence behind a single parent node.`}),`\n`,_jsxs(_components.p,{children:[`See the `,_jsx(_components.a,{href:`/docs/examples/nested-workflow`,children:`Nested Workflow example`}),` for a complete parent/child workflow implementation.`]}),`\n`,_jsx(Heading,{level:`2`,id:`schema-definitions`,children:`Schema Definitions`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`schema.py`}),` module defines the structure and configuration of workflows using Pydantic models.`]}),`\n`,_jsx(Heading,{level:`3`,id:`workflowschema`,children:`WorkflowSchema`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`class`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` WorkflowSchema`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`BaseModel`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`):`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"\"\"Schema definition for a complete workflow.`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` WorkflowSchema defines the overall structure of a processing workflow,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` including its entry point and all constituent nodes.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"\"\"`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Key attributes:`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`description`}),`: Optional description of the workflow’s purpose`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`event_schema`}),`: Pydantic model for validating incoming events`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`start`}),`: The entry point Node class for the workflow`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`nodes`}),`: List of NodeConfig objects defining the workflow structure`]}),`\n`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Benefits:`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Type Safety`}),`: Pydantic models ensure type validation`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Documentation`}),`: Built-in schema documentation`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Validation`}),`: Automatic validation of workflow structure`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`IDE Support`}),`: Full autocomplete and type checking`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`nodeconfig`,children:`NodeConfig`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`class`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` NodeConfig`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`BaseModel`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`):`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"\"\"Configuration model for workflow nodes.`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` NodeConfig defines the structure and behavior of a single node within`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` a workflow, including its connections to other nodes and routing properties.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"\"\"`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`NodeConfig attributes:`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`node`}),`: The Node class to be instantiated`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`connections`}),`: List of Node classes this node can connect to`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`is_router`}),`: Flag indicating if this node performs routing logic`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`description`}),`: Optional description of the node’s purpose`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`concurrent_nodes`}),`: Optional list of Node classes that can run concurrently`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`workflow-validation`,children:`Workflow Validation`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`validate.py`}),` module provides validation logic for workflow schemas, ensuring they form valid directed acyclic graphs (DAGs) and have proper routing configurations.`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Validation Features:`})}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`DAG Validation`}),` - Validates that the workflow forms a proper DAG with no cycles`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Reachability Check`}),` - Ensures all nodes are reachable from the start node`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Router Validation`}),` - Validates that only router nodes have multiple connections`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`workflow-example`,children:`Workflow Example`}),`\n`,_jsx(_components.p,{children:`Here’s a complete example of a workflow implementation:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`48`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`48`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` launchpad.core.schema `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` WorkflowSchema, NodeConfig`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` launchpad.core.workflow `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Workflow`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` launchpad.workflows.examples.quickstart.schema `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` CustomerCareEventSchema`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` launchpad.workflows.examples.quickstart.nodes.analyze_ticket_node `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` AnalyzeTicketNode`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` launchpad.workflows.examples.quickstart.nodes.close_ticket_node `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` CloseTicketNode`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` launchpad.workflows.examples.quickstart.nodes.determine_intent_ticket_node `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` DetermineTicketIntentNode,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` launchpad.workflows.examples.quickstart.nodes.escalate_ticket_node `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` EscalateTicketNode`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` launchpad.workflows.examples.quickstart.nodes.filter_spam `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` FilterSpamNode`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` launchpad.workflows.examples.quickstart.nodes.generate_response_node `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` GenerateResponseNode`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` launchpad.workflows.examples.quickstart.nodes.process_invoice_node `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ProcessInvoiceNode`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` launchpad.workflows.examples.quickstart.nodes.send_reply_node `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` SendReplyNode`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` launchpad.workflows.examples.quickstart.nodes.ticket_router_node `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` TicketRouterNode`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` launchpad.workflows.examples.quickstart.nodes.validate_ticket_node `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ValidateTicketNode`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`class`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` CustomerCareWorkflow`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`Workflow`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`):`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` workflow_schema `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` WorkflowSchema(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` description`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Customer care ticket processing workflow\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` event_schema`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`CustomerCareEventSchema,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` start`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`AnalyzeTicketNode,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` nodes`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` NodeConfig(`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` node`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`AnalyzeTicketNode,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` connections`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[TicketRouterNode],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` concurrent_nodes`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` DetermineTicketIntentNode,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` FilterSpamNode,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ValidateTicketNode,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ),`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` NodeConfig(`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` node`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`TicketRouterNode,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` connections`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` CloseTicketNode,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` EscalateTicketNode,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` GenerateResponseNode,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ProcessInvoiceNode,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` is_router`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`True`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ),`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` NodeConfig(`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` node`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`GenerateResponseNode,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` connections`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[SendReplyNode],`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ),`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` )`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`This example demonstrates a typical workflow pattern: concurrent analysis, routing based on results, and a terminal action node for the selected path.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Workflow Orchestration","description":"Understand the DAG-based workflow system that manages node execution and data flow through directed processing pipelines.","href":"/docs/core/workflow"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Workflow Class","slug":"workflow-class","depth":2,"children":[]},{"title":"Execution Methods","slug":"execution-methods","depth":2,"children":[]},{"title":"Nested Workflows","slug":"nested-workflows","depth":2,"children":[]},{"title":"Schema Definitions","slug":"schema-definitions","depth":2,"children":[{"title":"WorkflowSchema","slug":"workflowschema","depth":3,"children":[]},{"title":"NodeConfig","slug":"nodeconfig","depth":3,"children":[]}]},{"title":"Workflow Validation","slug":"workflow-validation","depth":2,"children":[]},{"title":"Workflow Example","slug":"workflow-example","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"dataluminasolutions","siteName":"GenAI Launchpad | Datalumina","title":"Workflow Orchestration - GenAI Launchpad | Datalumina","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-05-11T08:35:00.813Z","originalFileLocation":"docs/core/workflow.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Understand the DAG-based workflow system that manages node execution and data flow through directed processing pipelines.\">\u003cmeta data-mint-head name=\"application-name\" content=\"GenAI Launchpad | Datalumina\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/dataluminasolutions/iGhB1O5sDZpCj-8M/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/dataluminasolutions/iGhB1O5sDZpCj-8M/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/dataluminasolutions/iGhB1O5sDZpCj-8M/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/dataluminasolutions/iGhB1O5sDZpCj-8M/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/dataluminasolutions/iGhB1O5sDZpCj-8M/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/dataluminasolutions/iGhB1O5sDZpCj-8M/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/dataluminasolutions/iGhB1O5sDZpCj-8M/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/dataluminasolutions/iGhB1O5sDZpCj-8M/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/dataluminasolutions/iGhB1O5sDZpCj-8M/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Workflow Orchestration - GenAI Launchpad | Datalumina\">\u003cmeta data-mint-head property=\"og:description\" content=\"Understand the DAG-based workflow system that manages node execution and data flow through directed processing pipelines.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"GenAI Launchpad | Datalumina\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://launchpad.datalumina.com/docs/core/workflow\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://dataluminasolutions.mintlify.site/_mintlify/api/og/v2?division=Core+Package\u0026amp;title=Workflow+Orchestration\u0026amp;description=Understand+the+DAG-based+workflow+system+that+manages+node+execution+and+data+flow+through+directed+processing+pipelines.\u0026amp;theme=740a943d0e7fa522ae49d874\u0026amp;signature=9ac08b963508f1df155ae66ac480d9d4444d40baafe3f7a6fce5930147ad77a4\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Workflow Orchestration - GenAI Launchpad | Datalumina\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Understand the DAG-based workflow system that manages node execution and data flow through directed processing pipelines.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://dataluminasolutions.mintlify.site/_mintlify/api/og/v2?division=Core+Package\u0026amp;title=Workflow+Orchestration\u0026amp;description=Understand+the+DAG-based+workflow+system+that+manages+node+execution+and+data+flow+through+directed+processing+pipelines.\u0026amp;theme=740a943d0e7fa522ae49d874\u0026amp;signature=9ac08b963508f1df155ae66ac480d9d4444d40baafe3f7a6fce5930147ad77a4\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/dataluminasolutions/iGhB1O5sDZpCj-8M/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"GenAI Launchpad | Datalumina\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#E0A210\">\u003clink data-mint-head rel=\"canonical\" href=\"https://launchpad.datalumina.com/docs/core/workflow\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/core/workflow.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://launchpad.datalumina.com/#organization\",\"name\":\"GenAI Launchpad | Datalumina\",\"url\":\"https://launchpad.datalumina.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/dataluminasolutions/zRILf417bhpK8Wcx/logo/light.svg?fit=max\u0026auto=format\u0026n=zRILf417bhpK8Wcx\u0026q=85\u0026s=108d80a8dc915847166c02847e054885\"}},{\"@type\":\"WebSite\",\"@id\":\"https://launchpad.datalumina.com#website\",\"name\":\"GenAI Launchpad | Datalumina\",\"url\":\"https://launchpad.datalumina.com\",\"publisher\":{\"@id\":\"https://launchpad.datalumina.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://launchpad.datalumina.com/docs/core/workflow#webpage\",\"url\":\"https://launchpad.datalumina.com/docs/core/workflow\",\"name\":\"Workflow Orchestration\",\"description\":\"Understand the DAG-based workflow system that manages node execution and data flow through directed processing pipelines.\",\"dateModified\":\"2026-05-11T08:35:00.813Z\",\"isPartOf\":{\"@id\":\"https://launchpad.datalumina.com#website\"},\"breadcrumb\":{\"@id\":\"https://launchpad.datalumina.com/docs/core/workflow#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://launchpad.datalumina.com/docs/core/workflow#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Core Package\",\"item\":\"https://launchpad.datalumina.com/docs/core/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Workflow Orchestration\",\"item\":\"https://launchpad.datalumina.com/docs/core/workflow\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://launchpad.datalumina.com/docs/core/workflow#article\",\"headline\":\"Workflow Orchestration\",\"name\":\"Workflow Orchestration\",\"description\":\"Understand the DAG-based workflow system that manages node execution and data flow through directed processing pipelines.\",\"url\":\"https://launchpad.datalumina.com/docs/core/workflow\",\"mainEntityOfPage\":{\"@id\":\"https://launchpad.datalumina.com/docs/core/workflow#webpage\"},\"dateModified\":\"2026-05-11T08:35:00.813Z\",\"publisher\":{\"@id\":\"https://launchpad.datalumina.com/#organization\"},\"isPartOf\":{\"@id\":\"https://launchpad.datalumina.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"GenAI Launchpad | Datalumina\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"GenAI Launchpad | Datalumina\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/core/workflow.md","siteName":"GenAI Launchpad | Datalumina","nav":{"global":null,"tabs":[{"tab":"Documentation","groups":[{"group":"Welcome","pages":[{"title":"Introduction","href":"/docs/welcome/introduction"}]},{"group":"Getting Started","pages":[{"title":"System Requirements","href":"/docs/getting-started/requirements"},{"title":"Installation Guide","href":"/docs/getting-started/installation"}]},{"group":"Quickstart","pages":[{"title":"Overview","href":"/docs/quickstart/overview"},{"title":"Define Your Schema","href":"/docs/quickstart/schema"},{"title":"Workflow Definition","href":"/docs/quickstart/workflow-definition"},{"title":"Create API Endpoint","href":"/docs/quickstart/endpoint"},{"title":"Workflow Implementation","href":"/docs/quickstart/workflow-implementation"},{"title":"Testing Your Workflow","href":"/docs/quickstart/testing"},{"title":"End-to-End Testing","href":"/docs/quickstart/e2e-testing"}]},{"group":"Framework \u0026 Tools","pages":[{"title":"Docker","href":"/docs/framework/docker"},{"title":"FastAPI","href":"/docs/framework/fastapi"},{"title":"Celery Workers","href":"/docs/framework/celery-workers"},{"title":"Supabase","href":"/docs/framework/supabase"},{"title":"Prompt Management","href":"/docs/tools/prompt-management"},{"title":"Database Migrations","href":"/docs/tools/alembic"},{"title":"Langfuse Integration","href":"/docs/tools/langfuse"},{"title":"LLM Providers","href":"/docs/tools/llm-providers"}]},{"group":"Core Package","pages":[{"title":"Overview","description":"Learn about the core package that provides a flexible DAG-based workflow system for processing tasks through interconnected nodes.","href":"/docs/core/overview"},{"title":"Workflow Orchestration","href":"/docs/core/workflow"},{"title":"Task Context","description":"Learn how the TaskContext provides stateful data management throughout workflow execution, enabling seamless data sharing between nodes.","href":"/docs/core/task-context"},{"title":"Types of Nodes","href":"/docs/core/nodes"},{"title":"Base Node","href":"/docs/core/base-node"},{"title":"Agent Node","href":"/docs/core/agent-node"},{"title":"Agent Streaming Node","href":"/docs/core/agent-streaming-node"},{"title":"Concurrent Node","href":"/docs/core/concurrent-node"},{"title":"Router Node","href":"/docs/core/router-node"}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/docs/changelog/updates"}]},{"tab":"Examples","pages":[{"title":"Examples","href":"/docs/examples/sse-streaming"}]},{"tab":"Tutorials","pages":[{"title":"Tutorials","href":"/docs/tutorials/deploying-on-vps"}]},{"tab":"License","hidden":false,"pages":[{"title":"License","href":"/license"}]}]},"basePath":"","title":"Workflow Orchestration - GenAI Launchpad | Datalumina","deploymentId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","buildId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","dynamics":[],"chunks":[]}