AI Agents

Gmail automation

13 nodes 221 120 Scheduled trigger
Download

Workflow Description

An intelligent automation template that processes incoming emails using OpenAI language models, classifies them, removes duplicates, and automatically creates tasks in Linear—all on a scheduled trigger for consistent workflow automation.

How it works

  1. 1.Trigger the automation at predefined intervals based on schedule configuration
  2. 2.Process incoming Gmail messages using OpenAI to understand content and intent
  3. 3.Extract and structure data by analyzing email content with built-in parsers
  4. 4.Remove duplicate emails and tasks from the processed dataset
  5. 5.Push unique items to Linear as new tickets or project tasks

Use cases

  • Convert incoming emails into structured tasks within Linear project management system
  • Automatically filter out spam and redundant messages to reduce administrative clutter

Requirements

  • Active Gmail account connection with full read/write access permissions
  • Valid OpenAI API key and connected Linear workspace for task creation

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

OpenAI Output Parser Remove Duplicates LLM Chain Gmail Linear

Details

Trigger Scheduled trigger
Nodes 13
Apps 6
Views 221
Downloads 120

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (13)

/

Schedule Trigger

Schedule Trigger

#1

OpenAI Chat Model

OpenAI

#2

Structured Output Parser

Output Parser Structured

#3

Sticky Note1

Sticky Note

#4

Markdown

Markdown

#5

Mark as Seen

Remove Duplicates

#6

Sticky Note

Sticky Note

#7

Sticky Note2

Sticky Note

#8

Sticky Note3

Sticky Note

#9

Generate Issue From Support Request

LLM Chain

#10

Get Recent Messages

Gmail

#11

Create Issue in Linear.App

Linear

#12

Sticky Note4

Sticky Note

#13