I was looking for a way to trigger an event every time someone sends a message in the wix chat, so I can get the message as a string and work with it in the event code.
I found out that it's not possible to do that, so I was looking for some alternatives.
The reason why I want to do that is because I want to use the API of a chatbot. When the user types a message, I get it as a string and send it to the chatbot via API. Then the chatbot answers and I send the answer to the chat again.
Is there a way to do this? Some alternative to wix chat?