Zum Inhalt springen
Agentic Workflowdocs
v0.9.0Kostenlos installieren

knoten / builtin / trigger

New email

Start the workflow when a new email arrives in Gmail

Auslöser ErweiterungWeb-AppSeit 0.9.0

Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.

Start the workflow when a new email arrives in Gmail: in the inbox, under a label, or matching a search.

Every Check every minutes, the trigger looks at the newest 25 emails of the Label (the inbox when empty) that match the Search, and starts one run with the ones it hasn’t seen yet.

A check that finds nothing new starts no run. Press Run to fetch a test event: the latest items, without moving the trigger’s position.

  • Save invoices from billing emails to Google Drive.
  • Turn emails with a label into tasks.
  • Get a notification when a specific sender writes.
EinstellungTypWas es bewirkt
Connection (erforderlich)Credential
Label TextA Gmail label; empty = Inbox.
Search TextGmail search words. Only matching emails start a run.
Check every NumberAt least 1 minute, only while the workflow is On. Standard: 5
On the first check ChoiceOptions: Skip what’s already there, Start with the latest. Standard: Skip what’s already there
How many to start with NumberFor “Start with the latest” and Fetch test event (1–20). Standard: 3

Search takes Gmail’s own search words, for example from:billing@example.com has:attachment. Only matching emails start a run.

  • Output

Each run returns a list of items with these fields:

FieldTypWhat it holds
id Text
threadId Text
snippet Text
Shape of an output item
[
{
"id": "…",
"threadId": "…",
"snippet": "…"
}
]

One item per new email, with its id and the message details Gmail returns.

  1. New email with Search has:attachment subject:invoice.
  2. Gmail gets the attachment.
  3. Google Drive uploads it to an Invoices folder.
  • It misses some emails: a check reads the newest 25 matching emails. With a busy inbox, check more often or narrow the Search.
  • Not working on the connection: reconnect Gmail on the Connections page.
Seite bearbeiten

Zuletzt aktualisiert:

Was this page useful?
Aria zu New email fragen