That would depend on your "chatbot " Asterisk has several ways of communicating with external programs, trysystem,system, shell and probably in your case curl come to mind, for more sophisticated needs look into an asterisk gateway application (AGI)
how to use IVR to execute the curl script request to my chatbot ? Sir, Could you let me know your Skype id ? I’d like to make an appointment to talk to you, at your convenience.