How Takeover works
The system uses theai_pause_logs table to record each event in the pause lifecycle. The possible states are:
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
1
Open the Conversation in the Inbox
Go to Inbox → Live Chat and select the Conversation you want to take over.
2
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.
3
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.
4
Take over and respond
From this point on, only you send messages. The timer appears in the header with a countdown.
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
1
Go to Workspace Settings
Navigate to Settings → Support → Takeover.
2
Set the default duration
Choose the default value that appears pre-selected when an attendant activates Takeover.
3
Enable automatic return
Enable or disable auto-resume. If disabled, the pause remains indefinite until the attendant ends it manually.
The duration configuration is per Workspace. Different Teams can have different default times — useful for separating Sales (long pauses) from Support (short pauses).