Let AI triage your inbox for you

Step 10 of 13

10 / 13Gmail

Only now, let it archive

Once you trust the classifier, add a Gmail → Remove Label → INBOX node to the newsletter and receipt branches. That is what archiving is in Gmail: removing the INBOX label.

Leave needs_reply and fyi in the inbox. Archiving something that needed an answer costs more than the whole automation saves.

The n8n panel for: Only now, let it archive5 things to set here
  1. 1Open the Gmail nodedouble-click it on the canvas
  2. 2Operationcopy the value below
  3. 3Labelcopy the value below
  4. 4Message IDpaste as an expression
  5. 5Check before moving onNew newsletters vanish from the inbox, labelled, while real mail stays put.
Gmail panel in n8nTap to enlarge
Operation
Remove Label
Label
INBOX
Message IDexpression
{{ $json.id }}
Watch out
Archived mail is still searchable and nothing is deleted — but people do miss it. Never archive the needs_reply branch.
Checkpoint
New newsletters vanish from the inbox, labelled, while real mail stays put.