ChatOps for Hubot, Slack And StackStorm

how can we add ansible script to automatic reply of hubot with event driven action.
like if we are sending message to hubot AWS instance then it should to AWS portal and should create an instance using stackstorm.
please help me to take this forward. Thanks

You can take a look at this ChatOps tutorial to get an idea: Ansible and ChatOps. Get started 🚀 behind StackStorm ChatOps.

Once you’ll get familiar with the basics you can start integration with the AWS pack: GitHub - StackStorm-Exchange/stackstorm-aws: st2 content pack containing Amazon Web Services integrations.
Please refer to chatops documentation ChatOps — StackStorm 3.2.0 documentation for more info.