The Workflow That Waited for a Human Who Never Came: Timeouts for Approval Steps in n8n
Описание и применение
В n8n workflow ожидание одобрения человека может привести к бесконечному застою. Добавление таймаутов, эскалаций и дефолтных действий ограничивает ожидание, автоматически обрабатывает просроченные элементы и позволяет измерять очередь.
Задача
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