I have created a workflow in my n8n for fb page to automate replies using a webhook as trigger and a get docs for its knowledgebase, now i have a problem if customer wants to talk to an admin instead of an ai, how do i make the ai send an email to me and once i replied the ai should sleep for a timer that resets everytime i reply again
@Exequiel_Co To solve this:
You’ll need to add a few components to your existing workflow:
Intent detection - Recognize when someone wants to talk to a human
Email notification - Alert you when handoff is requested
Conversation state tracking - Mark conversations as “human-handled”
Timer/cooldown system - Pause AI responses during human interaction
Cheers
To handle human handoff in n8n:
-
Detect intent – Check messages for “talk to human” or “admin” and set
handover = true. -
Send email – Notify you immediately with customer info.
-
Track conversation – Store
conversation_id,state(human-handled/ai-active), andlast_admin_replyin a DB or Google Sheet. -
Pause AI – Use a Wait/Delay node or DB logic. AI stays paused while a human handles the conversation and resumes after a timer that resets on each reply.
Flow:
Webhook → AI/KB → IF handover? → Yes: Email → Update state → Wait → Resume AI | No: Continue AI
This way, AI pauses during human interaction, you get notified, and state/timers are tracked.
@Exequiel_Co To stop the AI when an admin takes over, add handoff + state tracking to your n8n workflow.
How to do it:
-
Detect intent
Check messages for “talk to human” or “admin”. If true, sethandover = true. -
Notify admin
Send yourself an email with the user and conversation details. -
Track conversation state
Storeconversation_idandstate(ai_activeorhuman_active) in a DB, Sheet, or Data Store. -
Pause AI replies
Before sending any AI response, check the state.
Ifhuman_active, the AI does nothing. -
Resettable timer
Each time you reply manually, updatelast_admin_reply_time.
After X minutes of no admin replies, switch state back toai_active.
Flow:
Webhook → Intent check → IF handover → Email admin → Set human_active
Else → Check state → AI replies only if ai_active
This will make it work, hope this helps.