Archive Gmail emails with specific error messages
ProductivitySales EnablementRecipe Tools
What it does
When a new email arrives in Gmail, this automation checks the subject and body for known error patterns. It archives matching emails so the inbox stays clean and the team focuses on messages that need attention.
Who it's for
Engineering teams who manage integration alerts and need to filter out expected service errors.
Apps used
How teams use this
Keep the inbox free of timeout alerts
Boostability timeout errors arrive regularly but require no immediate response. Archive them automatically so the team sees only new issues that need investigation and response.
Remove Starkey server error notifications
When the Starkey integration fails with a 500 error, Gmail receives a notification that clutters the inbox. Archive these emails so alerts that need a response stand out and get attention.
Add filters for other known errors
Extend this automation to include additional error patterns by setting new conditions that check for other service names and error codes. Only archive emails that match all criteria in each condition block.
Route critical errors to a separate folder
Modify the automation to filter emails that do not match known errors and move them to a folder for review. This ensures only expected errors are archived while new issues are preserved for the team.
How it works
- Monitor incoming Gmail messages. A new email arrives in Gmail and the automation begins checking its subject line and body content.
- Identify Boostability timeout errors. Gmail checks if the subject contains Boostability and the body contains a service timeout message. The email is archived if both conditions match so timeout alerts do not clutter the inbox.
- Identify Starkey integration failures. Gmail checks if the subject contains Starkey Integration File Failure and the body contains 500 Internal Server Error. The email is archived if both conditions match so server errors are removed from view.