Connect Gmail with OpenAI
Workflow Description
ربط Gmail مع OpenAI
Service Value
Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.
Apps Used
Details
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (23)
Sticky Note
Sticky Note
Sticky Note2
Sticky Note
Sticky Note1
Sticky Note
Sticky Note4
Sticky Note
Sticky Note5
Sticky Note
Sticky Note7
Sticky Note
Sticky Note8
Sticky Note
Sticky Note9
Sticky Note
Sticky Note10
Sticky Note
Sticky Note11
Sticky Note
Remove AI label from email
Gmail
Add email draft to thread
HTTP Request
Convert raw to base64
Code
Build email raw
Set
Convert response to HTML
Markdown
Map fields for further processing
Set
Ask OpenAI Assistant
OpenAI
Get single message content
Gmail
Return last message in thread
Limit
Get thread messages
Gmail
Loop over threads
Split In Batches
Get threads with specific labels
Gmail
Schedule trigger (1 min)
Schedule Trigger