Route emails to approval workflow by keyword
ProductivityRecipe ToolsDocument/File
What it does
When a new email arrives in Gmail, this automation checks the message body for specific keywords. If none of the blocked keywords appear, it starts an approval workflow; otherwise it stops and logs the result.
Who it's for
Operations teams who need to filter emails and route matching messages to approval without manual review.
How teams use this
Filter emails before approval routing
Block emails with certain keywords from entering the approval workflow, and log those rejections. The team sees only relevant messages in the approval queue.
Route vendor emails to finance approval
Send emails from vendors that pass the keyword filter to the finance approval workflow. Only the channel and approver list change from the base setup.
Add custom keywords and approval groups
Extend the keyword list to include domain-specific terms and set up multiple approval groups in the Lookup Table. The automation checks all keywords and routes to the right group.
How it works
- Monitor for new emails. A new email arrives in Gmail and the automation reads the message body as plain text to check for keywords.
- Check for blocked keywords. The automation searches the Lookup Table to verify the email body does not contain three blocked keywords before proceeding to approval routing.
- Find approval people. Search the Lookup Table for approval people when the email body contains the trigger keyword so the right person receives the request.
- Log the result. Record the company name and email outcome to the job report in Dropbox so the team has an audit trail of all filtered and routed messages.