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
- Use the verified channel and conversation ID as the ownership key. Set human mode when the supported takeover event occurs.
- Gate AI generation and sending on that state. Recheck ownership just before sending to catch a takeover that happened during generation.
- 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
- How do I resume an AI chatbot after a team member closes the conversation?
- Why does my n8n webhook work in test mode but fail in production?