Trigger Communications

Triggers when a new email is received in your Gmail inbox. Polls your real Gmail account via OAuth — unlike the Email trigger which uses a disposable Pipedream inbox.

At a Glance

FieldValue
Trigger IDgmail-new-email-received
CategoryCommunications
Tagsemail, gmail, communication, notification, inbox

Trigger Configuration

FieldTypeRequiredDescription
labelsarrayNoOnly trigger for emails with these labels (optional)

Trigger Result

FieldTypeRequiredDescription
triggeredAtstringYesTimestamp when the event was received (UTC, RFC3339 format)
fromstringNoSender (From header value)
tostringNoRecipients (To header value)
subjectstringNoEmail subject line
textstringNoPlain text body of the email
snippetstringNoShort text preview of the email
threadIdstringNoGmail thread ID
labelIdsarrayNoGmail label IDs on the message

Workflow Root Example

json
{ "nodes": { "root": { "type": "gmail-new-email-received", "payload": { "labels": [] }, "children": [ "log_event" ] }, "log_event": { "type": "log", "payload": { "message": "Triggered at {{$trigger.triggeredAt}}" }, "children": [] } }}

Downstream nodes can use {{$trigger.triggeredAt}} and any result fields listed above. Event triggers usually expose the raw source payload under a field such as event, body, trade, or raw.

Ask a question... ⌘I