https://retellai.com/?utm_source=discord&utm_medium=seo logo
I’m building a multi-state agent in Retell AI and ...
# ask-retell-partners
m
I’m building a multi-state agent in Retell AI and want to add a Silence Handler state. Here’s the goal: whenever silence is detected in any other state, control should transition to this Silence Handler state. After 5 seconds of silence, the agent should prompt “Hey there?”. If the user responds within the next few seconds, the conversation should return to the previous state and continue where it left off. If the user remains silent for another 5 seconds, the agent should say “If now isn’t a good time, we’ll reach out later. Thanks.” and then end the call. Can anyone guide me on how to design this state so it can be triggered from other states on silence, and how to return to the previous state when the user responds? https://cdn.discordapp.com/attachments/1294891368505937952/1435554511203733605/image.png?ex=690c63d2&is=690b1252&hm=63b4d89bbc87755b164b33e8c64718a8f8b92735cbac7531d45a74975dae8c2a&