Filter / Automation for Hiding / Replying to comments

Provideing an automation that will automatically hide / reply to comments based on word triggers: If someone says "sux" then hide comment: If someone says "great" then reply ................. Something like this