Yes, it’s possible to send additional data along with your message to Rasa. You can include extra key-value pairs in your payload, and Rasa will receive them as part of the message. Here’s an example of how you can structure your payload: { “message”: “hello there”, “sender”: “test”, “custom_data”: { “user_info”: “some_info”, “other_variable”: “some_value” } }
In this example, the custom_data field contains additional key-value pairs that you want to send to Rasa.
To retrieve this crm data enrichment in your custom actions in actions.py, you can access it from the tracker object. The tracker object contains information about the conversation, including the slots and any entities extracted from the user’s messages.