跳转到内容
Agentic Workflowdocs
v0.9.0免费安装

节点 / builtin / trigger

New email

Start the workflow when a new email arrives in Gmail

触发器 扩展程序网页应用自 0.9.0 起

此内容尚不支持你的语言。

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.
设置项类型作用
Connection (必填)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. 默认值:5
On the first check ChoiceOptions: Skip what’s already there, Start with the latest. 默认值:Skip what’s already there
How many to start with NumberFor “Start with the latest” and Fetch test event (1–20). 默认值: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:

Field类型What 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.
编辑此页

最近更新:

Was this page useful?
向 Aria 询问“New email”