Gmail keyword filters
Gmail filter multiple keywords: OR, braces, exact phrases, and sender groups.
Gmail filters can match more than one keyword when the search query is written correctly. Use exact phrases for fixed text, uppercase OR for alternatives, and braces for compact groups. Use KeepKnown when the real rule is not a word, but whether the sender belongs in your contacts.
Can Gmail filters match multiple keywords?
Yes. Gmail filters use Gmail search syntax, so the search you test can become the filter criteria. The key is writing the query precisely before choosing Create filter.
Useful multiple-keyword patterns
invoice OR receipt- match either keyword.subject:"payment failed" OR subject:"card declined"- match exact subject phrases.{invoice receipt statement}- compact group where one listed term can match.from:{alice@example.com bob@example.com}- match multiple specific senders.(invoice OR receipt) newer_than:30d- restrict the keyword rule to recent mail.-unsubscribe invoice- exclude messages that contain a word you do not want in the match set.
How to turn the query into a filter
Test the search first. If Gmail returns the right messages, open search options or choose the filter creation option, then select actions such as Apply label, Skip Inbox, Categorize as, Mark as important, or Also apply filter to matching conversations.
When more keywords are the wrong fix
Keyword filters work when the unwanted mail shares predictable language. They get fragile when the problem is open-ended cold outreach from new senders. KeepKnown handles that case by checking sender relationship and moving non-contact senders to KK:OUTSIDERS without deleting the message.
Source: Google Gmail search operators help and Google Gmail filters help.
Short answer
Use quotes, OR, and braces before creating the Gmail filter.
Put exact phrases in quotes, use uppercase OR between alternatives, or use braces such as {invoice receipt quote} for compact keyword groups. Test the search first, then create the filter from the search results.
Multiple-keyword filter patterns
Either keyword
Use OR when any one term should match, such as invoice OR receipt.
Exact phrase
Use quotes when words must appear together, such as subject:"payment failed".
Brace group
Use braces for compact groups, such as {invoice receipt quote}, when one term from the group can match.
Multiple senders
Use a sender group when several known addresses should share the same filter action.
Date-limited rule
Add newer_than:, older_than:, after:, or before: when the keyword rule should target a time window.
Relationship rule
Use KeepKnown when the important question is not which word appeared, but whether the sender is in contacts.
Boundary
Keyword filters are brittle when the sender is the real signal.
If you keep adding keywords to catch new outreach patterns, the rule is probably relationship-based. KeepKnown lets contacts through and moves unknown senders aside without maintaining a growing keyword list.
Questions before you connect.
How do I create a Gmail filter with multiple keywords?
Search Gmail with your combined query first, then choose the filter option from the search panel. Use quotes for exact phrases, OR for alternatives, and braces for compact keyword groups.
Does Gmail support OR in filters?
Yes. Gmail filters use Gmail search syntax, so OR can match either term. Use uppercase OR between alternatives, such as invoice OR receipt.
Can Gmail filters use exact phrases?
Yes. Put the phrase in quotes, such as subject:"payment failed", before creating the filter from that search.
Can Gmail filter multiple senders?
Yes, but you must list the senders or sender patterns explicitly. For a strict known-sender rule, KeepKnown checks senders against your contacts instead of maintaining a long sender list.
When should I use KeepKnown instead of more Gmail keywords?
Use Gmail keywords when the unwanted mail has predictable terms. Use KeepKnown when the better rule is relationship-based: only contacts belong in the inbox, and unknown senders should be screened without deletion.
Related inbox workflows
Gmail keyword filters
Stop chasing keywords when the sender relationship is the signal.