Extract email tasks with Gmail, ChatGPT-4o and Supabase
📩 Gmail → GPT → Supabase | Task Extractor This n8n workflow automates the extraction of actionable tasks from unread Gmail messages using OpenAI's GPT API, stores the resulting task metadata in Supabase, and avoids r...
Template notes
📩 Gmail → GPT → Supabase | Task Extractor
This n8n workflow automates the extraction of actionable tasks from unread Gmail messages using OpenAI's GPT API, stores the resulting task metadata in Supabase, and avoids re-processing previously handled emails.
---
✅ What It Does
1. Triggers on a schedule to check for unread emails in your Gmail inbox. 2. Loops through each email individually using SplitInBatches. 3. Checks Supabase to see if the email has already been processed. 4. If it's a new email: - Formats the email content into a structured GPT prompt - Calls ChatGPT-4o to extract structured task data - Inserts the result into your emails table in Supabase
---
🧰 Prerequisites
Before using this workflow, you must have: