Logo Google Workspace
Agents & OrchestrationSûr100100/100

Recipe Create Gmail Filter

Create a Gmail filter to automatically label, star, or categorize incoming messages.

ou envoie-le directement à ton agent.

Installer dans ton projet

$ npx arboris-cli@latest install recipe-create-gmail-filter
Logo Google Workspace
Google Workspace
affaan-m/ECC
Contenu à copier
---
name: recipe-create-gmail-filter
description: "Create a Gmail filter to automatically label, star, or categorize incoming messages."
metadata:
  origin: Google Workspace
  version: 0.22.5
  openclaw:
    category: "recipe"
    domain: "productivity"
    requires:
      bins:
        - gws
      skills:
        - gws-gmail
---

# Create a Gmail Filter

> **PREREQUISITE:** Load the following skills to execute this recipe: `gws-gmail`

Create a Gmail filter to automatically label, star, or categorize incoming messages.

## Steps

1. List existing labels: `gws gmail users labels list --params '{"userId": "me"}' --format table`
2. Create a new label: `gws gmail users labels create --params '{"userId": "me"}' --json '{"name": "Receipts"}'`
3. Create a filter: `gws gmail users settings filters create --params '{"userId": "me"}' --json '{"criteria": {"from": "receipts@example.com"}, "action": {"addLabelIds": ["LABEL_ID"], "removeLabelIds": ["INBOX"]}}'`
4. Verify filter: `gws gmail users settings filters list --params '{"userId": "me"}' --format table`
Colle ce Markdown dans ton agent ou utilise les boutons ci-dessus pour l’écrire dans ton projet.

Ce que fait Recipe Create Gmail Filter

Applique les pratiques du skill recipe-create-gmail-filter.

Comment utiliser Recipe Create Gmail Filter

1
Copie le prompt
Un clic copie le prompt packagé (ou l'envoie à ton agent).
2
L'agent installe le skill
Il ajoute le SKILL.md et ses ressources à ton projet.
3
Activation automatique
Le skill s'active dès que le contexte correspond.

Déclencheurs pour Recipe Create Gmail Filter

Dis simplement à ton agent quelque chose comme :

Applique le skill recipe-create-gmail-filter à cette tâche
Utilise recipe-create-gmail-filter pour améliorer cette implémentation
Passe en revue ce sujet avec recipe-create-gmail-filter

Skills liés à Recipe Create Gmail Filter