Keypad input dtmf tool
# support
f
After setting up the dtmf tool the agent is still not taking inputs in call by users keypad input and if you ask the agent the tool is working it said yes but not taking inputs that it meant too so can anybody help me in this how to exactly setup that i also gave it the task and assign how to trigger the tool in structured data what should i do next to make it working end to end
u
Hi @Frost Gamer God
you mean dtmf_tool is not working?
f
Yes may be its working but not getting triggered in the beginning
Basically agent cannot take the input of user for languages or transfer that i set for
k
Check the tool is correctly added with "type": "dtmf", structured data is properly set, your system supports in-band DTM..
f
This is the structure data
{ "model": { "provider": "openai", "model": "gpt-4", "messages": [ { "role": "system", "content": " You are an AI scheduler who takes data from customer for their seamless scheduling of appointments and bookings" } ], "tools": [ { "type": "google.sheets.row.append", "name": "aleethia_sheets", "description": "Use this tool to add customer data to the spreadsheet after collecting name, email, phone, appointment date, and summary." }, { "type": "google.calendar.event.create", "name": "Aleethia_Calendar", "description": "Use this tool to create a calendar event with the collected appointment details." }, { "type": "google.calendar.availability.check", "name": "Aleethia_calendar_check_availability", "description": "Use this tool to check calendar availability." } { "type": "function", "name": "dtmf_tool", "description": "Captures the digit pressed by the caller via the keypad (DTMF input).", "parameters": { "type": "object", "properties": { "digits": { "type": "string", "description": "The digit the caller pressed on their phone (e.g., 1 for English, 2 for Spanish, 3 to transfer)." } }, "required": ["digits"] } } ] } }
[TASK] After collecting the user's keypad input trigger dtf_tool tool with the collected value. Once tool.dtmf_tool.digits is captured: • If "1" → set language = en and proceed in English • If "2" → set language = es and proceed in Spanish • If "3" → silently transfer the call to +1 (770) 369-1855 If no digit is captured within 5 seconds, repeat the language selection message once, then call dtmf_tool again.
This is the prompt beginning to trigger the dtmf tool but its not getting triggered at the beginning
Hey have you guys checked it?
k
Hey! To help track down this issue, could you share: - The call ID - When exactly this happened (the timestamp) - What response you expected to get - What response you actually got instead This would really help us figure out what went wrong!
f
762f86ef-60a6-49ab-b4d0-058d56a33df5 6f1332be-9804-438f-9359-7329556bc408 Here are two call ids The response we are expecting is whenever a person press 1 then agent continue in english if 2 then spanish if 3 then transfer and also person can input the phone number also instead of speaking But right now nothing is working the tool is not getting triggered itself And we want it for every-call and we set that up completely even kyle said that’s strange its not working
k
Hey Frost, I have answered your questions here
Try the changes with 2-3 calls and let me know how it goes.