Automatically categorize and change status of tickets

I've been checking the community but couldn't find an article to automatically categorize and resolved tickets/emails

We have vendors sending us invoices and every time we receive these we have to manually categorize them "invoices" and change the status to "solved" Is there a way to do so?

here is what i have

Hello Carlos! First, please delete the double braces in the status name and ensure that you use the proper column, by default it is a 'Status' one, not 'Statuses':

And ensure that you have the 'Invoices' option in the 'Category' column:

After that the trigger should work as expected.