September 22, 2026
From Detecting Missed Response Times to Acting on Them
Turning a support response-time target from a report into a staged response: alert, reassign, let AI answer, then escalate.
- Backend
- AI
- Scheduling
- LLM
A response-time target (an SLA) that only reports misses tells a team what went wrong after the customer has already waited too long.
The goal of this work was to act before the deadline, not after.
Acting needs availability
You can't hand a conversation to "the next agent" if you don't know who is actually there. So the base layer was agent availability: online, busy or offline.
Automatic assignment already went through one place. I changed the rule there, "only available agents", so first assignment and reassignment both followed it.
Staged actions from one setting
Each target has one warning threshold. The later steps are derived from it, so teams have nothing new to configure.
| Time left | Action |
|---|---|
| Warning threshold | Alert the owner and reassign to an available agent |
| Half the threshold | AI replies to the customer |
| Deadline | Notify managers |
Example (illustrative): a 30-minute target with a 10-minute warning. At 20 minutes the chat moves to another agent. At 25, if nobody has replied, AI answers. At 30, managers hear about it.
Any reply, human or AI, closes the cycle and the later steps are skipped.
A periodic check, made safe to repeat
A background job regularly finds waiting conversations and runs the step that is due. The important part was making every step run once per cycle: retries or overlapping runs must never alert twice or reassign twice.
Letting AI answer safely
The principle: AI may only state business facts that already appear in the conversation. If the answer isn't there, it acknowledges the request, asks for what the team will need, and says a person will follow up. If AI can't reply, the normal escalation still runs.
What I'd do differently
Build the test controls first. Time-based escalation is slow to test by hand. Once I could set agent availability and timing on demand, each step took a fraction of the time to verify.