Categories-Automated Responses to tickets

Categories-Automated Responses to tickets

Hello,

I would like to create categories based on the content of an incoming ticket from a client.
After assigning the existing ticket in a category, i want automated email reply as a respond to the client.
How can i set up this procedures?