Hello,
I’m using the official Rasa Chat Widget ( rasa-chatbot-widget) with a custom button on my web page to send an intent (e.g., /ejemplos_uso
) using the `socket.emit(“user_uttered”, {
message: userMessage,
session_id: sessionId
}); method.
The message is correctly sent to the Rasa Server via Socket.IO and the Server responds accordingly — I can see the bot’s response in the browser console (chatWidgetReceivedMessage
event). However, the response does not appear in the widget UI.
What works:
- The widget is rendered correctly.
- Initial payload is received and bot reply is displayed.
- The socket.emit (‘/ejemplos_uso’)` function sends the message successfully (verified in Rasa server logs and browser console).
- The
chatWidgetReceivedMessage
event fires and logs the bot’s reply.
What doesn’t work:
- The bot response does not appear in the widget conversation UI.
- Only responses to user-entered messages or the initial payload are shown.
Steps to reproduce:
- Initialize the widget with
initial-payload
. - Add a button outside the widget.
- On button click, use socket.emit send the intent (‘/some_intent’)`.
- Message is sent, Rasa Server responds, but the response is not displayed in the widget UI.