Developer & DevOps

Connect Gmail with OpenAI

23 nodes 3 1 Scheduled trigger
Download

Workflow Description

ربط Gmail مع OpenAI

Service Value

Ready-made workflow template for automation delivery and service execution.

Apps Used

Gmail OpenAI Split In Batches

Details

Trigger Scheduled trigger
Nodes 23
Apps 3
Views 3
Downloads 1

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 (23)

/

Sticky Note

Sticky Note

#1

Sticky Note2

Sticky Note

#2

Sticky Note1

Sticky Note

#3

Sticky Note4

Sticky Note

#4

Sticky Note5

Sticky Note

#5

Sticky Note7

Sticky Note

#6

Sticky Note8

Sticky Note

#7

Sticky Note9

Sticky Note

#8

Sticky Note10

Sticky Note

#9

Sticky Note11

Sticky Note

#10

Remove AI label from email

Gmail

#11

Add email draft to thread

HTTP Request

#12

Convert raw to base64

Code

#13

Build email raw

Set

#14

Convert response to HTML

Markdown

#15

Map fields for further processing

Set

#16

Ask OpenAI Assistant

OpenAI

#17

Get single message content

Gmail

#18

Return last message in thread

Limit

#19

Get thread messages

Gmail

#20

Loop over threads

Split In Batches

#21

Get threads with specific labels

Gmail

#22

Schedule trigger (1 min)

Schedule Trigger

#23