All workflows
Gmail logoAnthropic logo

Auto-label new Gmail messages with AI

Reads unread inbox mail every hour and applies your own labels to each message using AI.

Every hour2 apps3 steps

Apps it connects

Authenticate each one once and the workflow is ready to run.

What it does

The integration steps this workflow runs, in the order it first runs them.

  1. 1GmailList emails
  2. 2AnthropicGenerate model response
  3. 3GmailAdd label to message

How it works

Everything the template sets up, and what to fill in before the first run.

Every hour this workflow reads the unread mail sitting in your inbox and sorts it using labels you define in plain language. You describe the categories once - for example 'Invoice for billing emails, Recruiting for candidate outreach, Newsletter for bulk mail' - and each message is read against those rules and labelled accordingly.

A message that matches none of your rules is deliberately left untouched rather than forced into the closest category, so the labels you do see stay trustworthy. Labels are created automatically the first time they are used, and one message that cannot be processed is logged and skipped instead of stopping the run.

Set it up by describing your labels in the 'labelRules' step. Nothing else is required.

gmailemailtriagelabelsaihourly

Start from a workflow that already works.

Add "Auto-label new Gmail messages with AI" to your workspace, connect its apps, and make it yours. No credit card required.

Free plan available · No credit card required