Self-hosted AI workflow examples
- Handle a refund
See how an idempotent refund API uses an order ID on retry. Inspect the duplicate-request test and compare recorded outcomes after a policy change.
- Follow up on a support ticket
Interrupt a support workflow while it waits for a human reply. See it reuse the recorded model decision and send one reminder after recovery.
- Approve an invoice
Match an invoice PDF to a purchase order and goods receipts. Follow a €150 price discrepancy from the approval request to the ledger.
More examples
Each workflow includes its source, its compiled package and a walkthrough. The sandbox supplies the business services; workflows that make judgments need model access.
| You want to… | Start here |
|---|---|
| Answer questions from your documents | Helpdesk: cited pages, grounded answers and a chat bot |
| Follow up on support tickets | Support follow-up: classify, route, wait and remind |
| Approve expenses from a receipt photo | Expense desk: typed readings and a policy in code |
| Approve invoices against orders and receipts | Invoice approval: documents, arithmetic and human approval |
| Handle refund requests through an API | Refund desk: written policy, model judgments and replies |
| Route shared mail or chat | Mail router and chat router: shared handlers and escalation |
| Renew a contract by email | Renewal desk: a conversation that waits for replies |
| Learn one feature at a time | Basics tour: seventeen small agents, including state, decisions and webhooks |
With their recorded runs on the site: the refund desk, the support follow-up and the invoice approval.