Question on Workflows and email tickets

Question on Workflows and email tickets

I was trying to set a workflow for email tickets to automatically go to close status if they contain a sentence in the body of the email.   I could not seem to make it work.  Is this possible in Zoho Desk and how do I create that?