Workflow Steps
Analyze ticket contents
Run three concurrent analyses:
- Determine ticket intent
- Check for spam
- Validate information sufficiency
Route based on analysis
Make intelligent routing decisions:
- Close spam tickets
- Escalate urgent issues
- Process specific requests (invoices, refunds)
- Generate responses for general queries
app/launchpad/workflows/examples/quickstart/nodes/, and Jinja2 prompts live in app/launchpad/workflows/examples/quickstart/prompts/.
Step 1: Concurrent Analysis
AnalyzeTicketNode
Since our three analysis operations are independent, we useConcurrentNode to run them simultaneously:
DetermineTicketIntentNode
ThisAgentNode uses AI to classify the ticket intent:
PROMPTS_DIR is defined at the top of the module as Path(__file__).parent.parent / "prompts" so the loader resolves templates colocated with the workflow.FilterSpamNode
Detects spam messages using AI:ValidateTicketNode
Verifies if the ticket contains actionable information:Step 2: Intelligent Routing
TicketRouterNode
The router examines analysis results and selects the next action:- CloseTicketRouter: Closes spam tickets automatically when confidence > 0.8
- EscalationRouter: Escalates urgent or sensitive issues to human agents
- InvoiceRouter: Routes billing-related requests to invoice processing