Recipe Create Gmail Filter
Create a Gmail filter to automatically label, star, or categorize incoming messages.
Specification
- Skill ID
- googleworkspace/cli/recipe-create-gmail-filter
- Publisher
- googleworkspace
- Repository
- cli
- Installs
- 0
- Files
- 1
- Synced
- Sep 23, 2026
How to use it
Open any RiverX project, open the Skills panel in the chat, and search for this identifier. The files are fetched from the source repository at install time.
googleworkspace/cli/recipe-create-gmail-filterInstalls these files- SKILL.md
What this skill tells the agent
Create a Gmail Filter
PREREQUISITE: Load the following skills to execute this recipe: gws-gmailCreate a Gmail filter to automatically label, star, or categorize incoming messages.
Steps
- List existing labels:
gws gmail users labels list --params '{"userId": "me"}' --format table - Create a new label:
gws gmail users labels create --params '{"userId": "me"}' --json '{"name": "Receipts"}' - Create a filter:
gws gmail users settings filters create --params '{"userId": "me"}' --json '{"criteria": {"from": "receipts@example.com"}, "action": {"addLabelIds": ["LABEL_ID"], "removeLabelIds": ["INBOX"]}}' - Verify filter:
gws gmail users settings filters list --params '{"userId": "me"}' --format table
More from googleworkspace
Use this skill in a project
Open any RiverX project, search the Skills panel for googleworkspace/cli/recipe-create-gmail-filter, and install it in one click.
