Skip to main content
A Wakeup Call automatically triggers an action when the user has been inactive for a specified period of time. Instead of leaving a silent gap when the caller goes quiet, the agent can gently check in, re-prompt, or offer help, keeping the conversation alive and maintaining engagement.

How it works

Set wake_up on your Pipeline to the number of seconds of caller silence to allow before nudging. When the caller stays quiet for that long, the runtime calls your agent’s on_wake_up method, where you decide what happens next.
Track state across nudges (like the _nudges counter above) to escalate your response — for example, offer more help on the first nudge and end the call after several unanswered check-ins.

Configuration Options

wake_up
int
The number of seconds of caller silence to allow before triggering on_wake_up. Omit it to disable wake-up calls.

Callback

on_wake_up
async method
Override this method on your Agent to define the wake-up action. The runtime calls it each time the caller stays silent for wake_up seconds.

References

Examples

Wakeup Call

Checkout the full implementation on GitHub

SDK Reference

Pipeline

Pipeline in the Python API reference.

Agent

Agent in the Python API reference.