Rasa Webchat Integration

Hi @Horizon733 , I’ve implemented that successfully using custom Socket channel. Now, I want to pass some data from custom action to my front-end via the socket channel. As per multiple rasa forum posts, I was able to make out that it can be done if I pass it as a json message from my custom action. Now, my problem is how to retrieve it at the front-end. I want to test it in a local html page. I’m attaching it here -

So, how will I be able to extract or see that json message here in this frontend