The Workflow That Waited for a Human Who Never Came: Timeouts for Approval Steps in n8n
说明与用途
在 n8n 工作流中,等待人工批准可能导致无限期停滞。通过添加超时、升级和默认操作来限制等待时间,自动处理逾期项目,并实现队列指标。
问题
A human‑in‑the‑loop approval gate in an n8n workflow can stall indefinitely, causing a backlog of unapproved drafts without any node errors.
结果
Adding explicit timeouts, escalation, and default actions transformed an unbounded wait into a bounded, measurable process, preventing silent failures and enabling proactive monitoring.
工作流
- Draft reply
- Park in review queue
- Wait for human approval
- If timeout occurs, trigger escalation step
- If escalation fails, execute default action
证据
The queue held forty unapproved drafts, the oldest three days old, and a customer asked why nobody had answered her.
Nothing had failed. No node was red, no execution had errored.
First, a timeout. Every approval step gets a deadline, and the deadline is a business decision, not a technical one.
Second, an escalation. When the timeout hits, the item does not sit there. It moves: to a second approver, to a shared channel, to whoever is on call.
Third, a default action. If nobody approves even after escalation, the workflow must still do something, and that something must be chosen in advance.
- 记录日期: 2026-11-01T05:28:50.838Z