Workflows
Blocks
Triggers
Gmail Trigger

Gmail Trigger

The Gmail Trigger block launches your workflow when new emails arrive in a connected Gmail inbox, checked on a schedule you control.

Key Features

  • Polling Interval: Check for new mail every N minutes, hourly, daily, weekly, monthly, or via cron
  • Powerful Filters: Filter by sender, recipient, subject, unread status, attachments, spam/trash
  • Data Mapping: Extracts email fields into workflow variables
  • OAuth Authentication: Secure Google sign-in, no passwords stored

Configuration

ParameterTypeRequiredDescription
Gmail AccountCredentialsYesConnected Google account (OAuth)
Checking IntervalScheduleYesHow often to poll for new emails
From / To / SubjectStringNoFilter incoming emails
Include Unread Emails OnlyBooleanNoDefault on
Has AttachmentBooleanNoOnly trigger for emails with attachments
Include Spam/TrashBooleanNoInclude mail from spam and trash folders

Setup Guide

  1. Add the Gmail Trigger block and connect a Gmail account via the consent screen.
  2. Set the checking interval and any filters.
  3. Activate the workflow — the scheduler polls automatically.

Response Mapping

ValueDescription
Date / Subject / From / ToEmail header fields
Body ContentEmail body (or snippet)
Attachment LinksLinks to downloaded attachments
Full DataComplete email payload as JSON
Indite Documentation v1.7.1
PrivacyTermsSupport