https://retellai.com/?utm_source=discord&utm_medium=seo logo
navigating phone trees
# ❓・bug-report
t
Any idea on how to navigate phone trees and provide the right input. ? I tried on Costco and the call went for 5 mins but the agent prompt to choose a specific department did not work. The automated phone tree voice just kept repeating the options and the agent did not choose one
u
Actually, I was working on a similar use case. To bypass it, I had to create a decision tree for each number. Based on that, I navigated the IVR, collected some information from it, and obtained the details. // @talk2sunder
t
Thanks. But how did you provide the input ?
u
I created a custom solution using Deepgram Intent which helped me figure out which button I need to press. It helped me determine basic requirements such as the case type, and directly provided the necessary digit responses. For example: If I get intent similar to Administrative staff through deepgram instead of using any llm I was sending the response directly.
t
Nice. I have to check out deepgram. Can I give it general instructions to say get me to the tire center and it can do that irrespective of the order of the IVR as long as there is a tire center option available ? Sorry if this is obvious and I have to RTFM
u
Deepgram isn't an LLM; essentially, it's a transcriber. However, it has a notable feature called 'intent.' This means it provides a basic understanding of what needs to be done, and based on that, we send the digit directly. So, you need to make the list of the IVR navigation decision tree.
t
Awesome thanks. Last question , how are you sending the digit ?
Never mind looks like a combination of deepgram intent plus twilio sendDigits with the retell AI built in.
@_kirito_7800 , exploring deepgram and looks like intent only returns the segment . I still need to pass this to an LLM to retreive the actual digit to be used. correct? there is no way to make deepgram return the specific digit?
Copy code
{
  "metadata": {},
  "results": {
    "channels": [
      {
        "alternatives": [...]
      }
    ],
    "intents": {
      "segments": [
        {
          "text": "To reach the administrative staff , press 1",
          "start_word": 3,
          "end_word": 9,
          "intents": [
            { "intent": "Reach administrative staff", "confidence_score": 0.9750028 }
          ]
        }
      ]
    }
  }
}
u
Nope. Based on intent you need to call the sendDigit function.
t
Sorry if I am being dense. But there is a way to get the exact digit from deep gram ?
u
Nope.