AI Agents

Process Gmail messages with AI and create Linear tasks

13 nodes 302 142 Scheduled trigger
Download

Workflow Description

Scheduled automation that retrieves Gmail messages, analyzes them using OpenAI models, removes duplicates, and automatically creates tasks in Linear. Offers flexible timing and intelligent email processing without manual intervention.

How it works

  1. 1.Trigger the automation on a defined schedule
  2. 2.Fetch new messages from Gmail and send them for OpenAI analysis
  3. 3.Analyze content and extract key information using LLM chain
  4. 4.Remove duplicate messages and tasks from results
  5. 5.Convert messages to tasks and create them in Linear

Use cases

  • Transform customer emails into team tasks automatically without losing information
  • Organize important messages from managers or clients with specific priorities
  • Reduce time spent manually transferring information between Gmail and Linear

Requirements

  • Active Gmail account with API access enabled
  • Linear account with task creation permissions
  • Active OpenAI API key with sufficient credits

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 302
Downloads 142

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