/
Use cases
Six queues teams hand over first.
Each one ships as a template agent with rules, permissions and a dry run already set up. Point it at last month’s items and see where it would have acted, and where it would have asked.
Template agents
6
Resolved alone
91%
Median to resolve
6 min
/
By team
Pick the queue, not the tool.
Every use case below runs the same loop: watch, decide, ask, act, log. What changes is the trigger, the systems and where the ask goes.
/
Going live
How a use case goes live.
Four steps, usually two weeks. Nothing is written to your systems until step four, and even then only the actions you switch on.
01
Day 1
Pick a template agent
Start from the use case closest to your queue. It arrives with a YAML definition, starter rules and read-only permissions.
loop init invoice-matching
02
Day 1–2
Connect your systems
Sign in to the inbox, the ledger and the chat tool. Each connection is scoped per action, so reading NetSuite doesn’t mean posting to it.
gmail · netsuite · slack — read only
03
Week 1
Dry-run on last month
Replay last month’s items. You get a report of what it would have done, what it would have asked and where it failed. Dry runs are free.
--dry-run --last 200 · nothing written
04
Week 2
Go live with rules
Switch on one action at a time with strict ask thresholds. Loosen them when the audit log gives you a reason to.
ask when amount > 5000
>
Custom agents
Don’t see yours? Write it.
The six templates are the same YAML you can write yourself. If your queue is carrier claims or credit-note approvals, describe it in a file, dry-run it and ship it through a pull request.
Any of the 140+ connections, plus your own API through signed webhooks.
Deploy from the CLI, the REST API or the Python and TypeScript SDKs.
On Team and Enterprise, a customer engineer writes the first one with you.
carrier-claims.yaml
YAML
agent: carrier-claims
watch:
source: zendesk
filter: “tags:damaged status:new”
decide:
steps: [read_photos, find_shipment, check_cover]
ask:
channel: slack:#claims
when:
- claim.value > 250
- confidence < 0.85
act:
- webhook.post: carriers/claims # your API, signed
- zendesk.reply: templates/claim-filed.md
terminal
zsh
$ loop deploy carrier-claims.yaml
✓ valid 3 steps · 2 ask rules · 2 actions
✓ deployed parcelwise/carrier-claims v1
! actions off enable with: loop enable carrier-claims --action webhook.post
/
In production
Trust comes from the reason, not the result.
Every run writes down why it did what it did. That line is usually what gets a team to hand over the next queue.
Tessel
95% decided on arrival
“The agent says why it refunded. That line in the ticket is what made the team trust it.”
JF
Jonah Ferreira
Head of Support Operations, Tessel
>
Get started
Bring one queue and last month’s items.
We’ll run the template agent against them on the call and show you what it would have posted, what it would have asked and why.
Dry runs are free on every plan