Build your agent
When the caller goes quiet
Nudge the caller when they stop talking, and decide how often.
inactivityboolean- Nudge when the caller goes quiet. Say something if the caller goes quiet. Default:
false. inactivity-metadataobject- Nudge. What the agent says, and how often. Only used when
inactivityis on. Fields:message(What to say),time-period(After, ms),max-times(At most, times),interruption-type(If the caller talks over it). Default:{"time-period":1000,"max-times":3,"inactivity-type":"static","message":"Are you still there?","interruption-type":"full","interruption-metadata":{}}.
await voxio.flows.update(flowKey, { runtime: { "inactivity": true, "inactivity-metadata": { "message": "Are you still there?", "time-period": 6000, "max-times": 2, "interruption-type": "full" }, },});Next steps
- Turn-taking: reply timing.