I went through the documentation on both Twilio and Dialogflow CX and have implemeneted an agent on Dialogflow that asks the caller for the direction of their call. I am able to have the handoff and transfer the call, but I need to transfer the call based on user prompt. For example, if the user says they want to make an appointment, Twilio should forward the call to a separate number, and if the user wants to speak with billing, the call should be forwareded to a different number. Can you please help?
I tried going through the documentation, I tried to set parameters on Dialogflow and pass them but they were not carried over. I even tried asking ChatGPT