Lex v1 chatbot integration with connect

0

I have a lex v1 chatbot which has a SpeakToAgent intent. I want to be able to connect with a customer agent using amazon Connect whenever a user uses this intent. All my other intents work as expected for this chatbot.

I have created users, a queue, routing profile and a flow in my connect instance. I have also added my classic v1 bot in the connect instance and specified it in the get-customer-input block in my flow. Upon logging in as a customer support agent in aws connect and triggering the SpeakToAgent intent on my chatbot, I don't see any notifications pop up. I do not see any errors either and nothing shows up in the Connect Cloudwatch logs so I am guessing the connection from my Lex bot to Connect is not working.

Do I need to create a lambda for the SpeakToIntent lambda or inject any code anywhere? I didn't see anything like that in the documentation.

I would really appreciate any help to get this thing working. Thanks a lot for your time!

2 Respuestas
0

How are you testing your bot? When you say the other intents work, do you see them being routed to agents?

David

profile picture
respondido hace un año
  • Thanks for the response! I am testing it in the lex console. By other intents working, I mean that the chatbot replies with the responses I have set and triggers lambda functions specified. Only the linkage with connect does not work. Do you see anything I might be doing incorrectly? Thank you!

  • Thanks for your response David! I have tried testing the bot on lex console as well as hosting the bot on a local server using the cloudformation template provided in aws documentation. When I say other intents work, I mean that they are triggering lambdas and responding with messages as expected. The only issue I am having is that the messages are not being routed to aws connect. Do you know what might be going wrong?

0

Without seeing your config nothing stands out. The fact that some intents work and other don’t tells me it’s a configuration issue on your end. Are you using slots already used in other intents which might be causing your new intents to never be selected? I’m just guessing here.

David

profile picture
respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas