Workflow Examples¶
Choose a guide by business task or node type. Each example shows how to configure the workflow, run it with sample inputs, and interpret the result.
The repository includes AI Studio source files in examples/workflows/src/. See examples/workflows/README.md for the available workflow and resource exports, import steps, and required bindings.
| Example | What it demonstrates | Node types used |
|---|---|---|
| Look up a supplier status from a webhook | Map a webhook input to a read-only supplier lookup and return the supplier number and status. | Business Object Function, Return |
| Route a purchase request for approval | Use the request amount to decide whether to obtain approval before submission. | Business Object Function, If Condition, Human Approval, Return |
| Normalize a supplier number with a Reference Block | Reuse the same whitespace-trimming logic for supplier numbers from chat and webhook requests. | LLM, Code, Reference Block, Reference, Return |
| Build a supplier support chat workflow | Remember a supplier or uploaded CSV across turns, and clear the previous selection when the user switches tasks. | LLM, Tool (Intent Change Indicator and Chat Attachments Reader), If Condition, Set Variables, Switch, Business Object Function, Code, Return |
| Validate an invoice attachment | Extract invoice lines from a PDF, apply a policy to each line, and return flagged lines with a review link when available. | Document Processor, For Loop, Policy, Code, Set Variables, If Condition, Tool, Return |
| Evaluate return eligibility by product line | Route Standard and Outlet returns to the published 30-day and 14-day policies and return the decision. | If Condition, Switch, Policy, Return |
| Answer supplier onboarding questions | Maintain an indexed FAQ and route questions to specialist agents using the FAQ and a published guide. | Vector DB Writer, Vector DB Reader, RAG Document Tool, Multi Agent, Agent, Return |
| Respond to a confirmed shipment delay | Retry a pending carrier lookup and publish a confirmed delay so a subscriber can record guidance and notify operations. | Start, Comment, Set Variables, External REST, Switch, If Condition, Wait, Publish Signal, AI Guidance, Send Email, Return, End |
| Reconcile open purchase orders across pages | Retrieve paginated orders in a child workflow while the parent looks up the supplier in parallel, then report the count and whether it is complete. | Set Variables, While Loop, External REST, Code, Parallel, Workflow, Business Object Function, Return |
See Node Types for how each node works and the Node Configuration Reference for field definitions.