Gmail Trigger
Trigger workflows when a new email arrives in Gmail.
Overview
The Gmail trigger starts a workflow when a new message arrives in a connected Gmail inbox. Pair it with an AI Prompt node for triage and summarization, or with the Gmail action node to label, reply, or file the message automatically.
Configuration
- Credential — the Gmail OAuth2 credential whose inbox to watch
- Filters (optional) — narrow by sender, recipient, subject text, label, unread state, or has-attachment
Output variables
{{$json.from}},{{$json.to}},{{$json.subject}}{{$json.body}}— the message body, ready for an AI Prompt node{{$json.messageId}},{{$json.threadId}},{{$json.labels}},{{$json.attachments}}