Human-in-the-loop pattern for n8n AI agents: queue actions, approve via Telegram, then execute
A common n8n setup gives AI agents either read-only access or direct write access to Gmail and Google Calendar, both of which carry risk. The article proposes a middle path in which the agent only has a tool that queues a proposed action rather than executing it. A separate workflow validates the proposal, stores it, and requests approval in Telegram, running the action only if the owner taps Approve. Declining or timing out results in no action. The guide describes building this in five steps on n8n 2.x, including input validation in a Code node, a strict approval branch, and an idempotency check using a Data Table to prevent duplicate executions.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in