Gmail Triggers
Category: Polling
Gmail New Email Received
What it does: Fires when a new email arrives in the connected Gmail inbox (polling).
Inputs
- From (optional) — Only trigger when the sender email address matches (or contains) this value. Use for specific senders or domains.
- Subject Contains (optional) — Only trigger when the subject line contains this text (case-insensitive).
- Label (optional) — Only trigger for messages that have this Gmail label (e.g. INBOX, or a custom label).
- Unread Only (optional) — When enabled, only unread messages trigger the workflow. When disabled, new messages trigger regardless of read state.
Outputs
The full Gmail message object so you can read headers, body, and attachments in later steps (e.g. summarize, reply, or move to a folder).
Output schema
- id / messageId — Gmail message ID.
- from — Sender email address (and optional display name).
- to — Recipient(s).
- subject — Subject line.
- body / snippet — Plain-text or HTML body (product-dependent). May be split into
bodyPlainandbodyHtml. - date — Sent/received date (ISO or timestamp).
- attachments — List of attachments (filename, mimeType, size, content or download URL if supported).
- labels — Gmail labels on the message.
- threadId — ID of the thread this message belongs to.
Gmail Email Sent
What it does: Fires when an email is sent from the connected Gmail account (polling).
Inputs
- To (optional) — Only trigger when the recipient email matches (or contains) this value.
- Subject Contains (optional) — Only trigger when the subject line contains this text.
Outputs
The sent message object so you can log it, update a CRM, or run follow-up steps.
Output schema
- id / messageId — Gmail message ID.
- from — Sender (your connected account).
- to — Recipient(s).
- subject — Subject line.
- body — Message body (plain or HTML as provided by API).
- date — Send date (ISO or timestamp).
Gmail Email Archived
What it does: Fires when an email is archived in Gmail (polling).
Inputs
- From (optional) — Only trigger when the sender matches this value.
- Label (optional) — Only trigger when the message had this label before archiving (useful to track which folder/label was archived).
Outputs
The archived message object with core fields for logging or downstream steps.
Output schema
- id / messageId — Gmail message ID.
- subject — Subject line.
- from — Sender email.
- to — Recipient(s).
- date — Message date (ISO or timestamp).
Last updated on