Pause every agent that talks to customers
Stop every agent that answers customers in one sentence; pending Actions hold, new work queues, and nothing is lost.
One sentence stops every Agent seated in a Role that answers customers. Their pending Actions hold, new Tasks queue in each seat, and resume picks up where they stopped.
Needs Agent
What you get
- 1pause on every agent that talks to customersAgent
- 1hold on everything those agents started and had not finishedAction
- 1short holding reply to each customer who writes, from your support addressMessage
- 1new requests kept in line until you turn the agents back onTask
- 1note of each pause and your reason, on the recordEvent
Your agent does
You, to your agent
Pause every agent that talks to customers.
Stop all customer-facing agents now.
Something is wrong, stop the agents replying to customers.
# Agent.pause
curl -X POST https: //api.sb/ leaseline.app/ agents/ pause \
-H "Authorization: Bearer $STARTUP_BUILDER_API_KEY" \
-H "Content-Type: application/ json" \
-d '{"reason": "Wrong refund policy in replies since 9: 40.", "customerFacing": true}'
import { $ } from 'startup-builder'
await $.Agent.pause({ reason: 'Wrong refund policy in replies since 9: 40.', customerFacing: true })
npx startup-builder do Agent.pause --json '{"reason": "Wrong refund policy in replies since 9: 40.", "customerFacing": true}'
{
"name": "do",
"arguments": {
"code": "return await $.Agent.pause({ reason: 'Wrong refund policy in replies since 9: 40.', customerFacing: true })"
}
}
Change it
- Pause only the Customer Team.
- Resume Susan once the policy is fixed.
- Retire this agent and put another in the seat.
Under the hood
- Systems
- Workforce, Work queue, Support
- Nouns
- Agent, Role, Action, Task
- Events
Agent.paused