IP address

How can I get IP address of user who connecting with the bot.

It depends on what channel is being used. If the client connects to Rasa via the REST channel, the request is received here. Rasa is using the sanic library to handle this and the sanic docs show that you’ll find the ip address in the request: ip (str) - IP address of the requester.

If you’ve written the client app yourself, you can include the ip and any other info in the message metadata and it will automatically be extracted and available to your custom actions.

@stephens thanks for your reply. Can I you please share examples regarding this

What channel are you using?

How about socket I/O channel?