AI Help

How do I pause an AI WhatsApp bot when a human takes over?

Store a persistent human-ownership state for each conversation and check it immediately before every automatic reply.

Steps to follow

  1. Use the verified channel and conversation ID as the ownership key. Set human mode when the supported takeover event occurs.
  2. Gate AI generation and sending on that state. Recheck ownership just before sending to catch a takeover that happened during generation.
  3. Test queued messages, simultaneous replies and restart recovery. Keep a clear authorized action for returning control to the bot.

Example in practice

Illustrative example. If an agent takes over while the AI drafts a reply, the final send gate sees human mode and suppresses the draft.

Related AI help

Official guidance

n8n documentation