This deterministic example shows one Launchpad workflow calling another workflow while reusing the sameDocumentation Index
Fetch the complete documentation index at: https://launchpad.datalumina.com/llms.txt
Use this file to discover all available pages before exploring further.
TaskContext. It is useful when a larger workflow needs to delegate a focused sub-process without losing the parent workflow’s accumulated state.
The example ships as NestedCustomerCareWorkflow in app/launchpad/workflows/examples/nested_customer_care/ and is registered as WorkflowRegistry.NESTED_CUSTOMER_CARE.
What it demonstrates
- Parent workflow composition with
await ReplyDraftWorkflow().run_async(context=task_context) - A child workflow that writes output into the same
TaskContext - A runnable example that does not require LLM, tracing, database, or vector-search credentials
- The
Workflow.run_async(context=...)path added for workflow composition
Workflow graph
Parent workflow
Delegating to the child workflow
The parent node passes the current task context into the child workflow. Because the context is shared,DraftReplyNode can save its output and SendReplyNode can read it later in the parent flow.
Run it
app/launchpad/workflows/examples/nested_customer_care/request_examples/billing_question.json, runs WorkflowRegistry.NESTED_CUSTOMER_CARE.value(), and prints the final TaskContext.