How to send more data along with message to Rasa bot

Hello everyone,

I am new to rasa and I want to send more data to the rasa bot along with the message to use those values in retrieving other data.

For example I hit this URL to interact with rasa from my website “http://localhost:5005/webhooks/rest/webhook” as a Post request with the payload { message: “hello there”, sender: “test” }

is this possible to add other variables(some more info of user which I want to retrieve in actions) here if so what would be the key-value pair and how can I retrieve that data in the rasa server to save/use in actions.py?

Thanks in advance!

Hello @rajathms, welcome to the Forum!

A good way to send information to your assistant that is not necessarily a user text is via the intent trigger endpoint. With this, you can inject a special event that you define for just this purpose and send all your special information via an entity.