Integration of Webhook Chatbot on ERPNext

Hi I am planning to create a chatbot that I’ve built in Python which is deployed on AWS. Is it possible to integrate it with erpnext? If yes, can someone provide me a detailed sample on the process of integrating it.