Skip to main content

Gmail Trigger

The Gmail Trigger allows you to initiate workflows based on specific events that occur in your Gmail account. This trigger enables seamless integration with Gmail, allowing you to monitor emails and automate actions based on received messages.

The Gmail trigger checks for new events at 15-minute intervals, and received emails can be accessed from payload.events.

How It Works

The Gmail trigger listens for events in your Gmail account such as new emails, attachments, starred messages, or threads. When the specified event occurs, the trigger activates and executes the connected workflow.

Supported Operations

  1. New Attachment
    Trigger a workflow when a new email with an attachment is received under a selected label.

  2. New Email
    Trigger a workflow when a new email is received under a selected label.

  3. New Starred Email
    Trigger a workflow when a starred email is received within the last 2 days.

  4. New Thread
    Trigger a workflow when a new email thread is received under a selected label.

Configuration

Gmail Account

  • Description: The Gmail account used for connection.
  • Required: Yes

Operation

  • Description: The Gmail event to monitor (e.g., New Email, New Attachment, New Thread).
  • Required: Yes

Label

  • Description: The Gmail label to filter emails (e.g., INBOX, IMPORTANT).
  • Required: Yes

Notes

  • The Gmail trigger polls for emails received within the last 2 days from the current date and time.
  • Attachments and email data are accessible in payload.events.
  • Ideal for building automated workflows such as email monitoring, notification systems, or attachment processing.