How Takeover works
The system uses theai_pause_logs table to record each event in the pause lifecycle. The possible states are:
| State | Meaning |
|---|---|
pause_activated | Human took over — AI stopped responding |
interaction_blocked | Agent message blocked during active pause |
auto_resume | Timer expired — AI returned automatically |
force_resume | Attendant ended the pause manually |
extend_pause | Attendant extended the pause duration |
While Takeover is active, any attempt by the AI Agent to send a message is recorded as
interaction_blocked and discarded. The contact never receives a duplicate response.Activating Takeover
Open the Conversation in the Inbox
Go to Inbox → Live Chat and select the Conversation you want to take over.
Click 'Pause AI'
In the Conversation header, click the Pause AI button. A modal confirms the action and displays a field to set the duration.
Set the pause duration
Choose how long the AI will be paused: 15 min, 30 min, 1 hour, 2 hours, or indefinite. The Workspace default is configurable in Settings → Support.
Automatic return
When the timer expires, the system executes the automatic resume:Auto Resume
The AI Agent returns control of the Conversation without human intervention. An
auto_resume event is recorded in the log with the reason "timer_expired".Force Resume
The attendant clicks Return to AI before the timer runs out. The
force_resume event is recorded immediately.Audit and logs
Each action in the Takeover lifecycle is persisted in thepause-logger Edge Function with the following fields:
conversation_id— which Conversation was pausedaction— the event type (see table above)reason— descriptive text of the reasonduration_minutes— configured duration (when applicable)triggered_by— attendant ID or"system"for auto-resumesprevious_ai_mode/new_ai_mode— before and after the mode change
Configuring the default timer
Set the default duration
Choose the default value that appears pre-selected when an attendant activates Takeover.
The duration configuration is per Workspace. Different Teams can have different default times — useful for separating Sales (long pauses) from Support (short pauses).