Extract Email Tasks with Gmail, ChatGPT-4o and Supabase
n8n template #5496Summary
Use templateπ© 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 Triggers on a schedule to check for unread emails in your Gmail inbox. Loops through each email individually using SplitInBatches. Checks Supabase to see if the email has already been processed. 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
Hand off to your agent
Prompt
Help me set up the n8n workflow "Extract Email Tasks with Gmail, ChatGPT-4o and Supabase" (https://n8n.io/workflows/5496). It uses: HTTP Request, Gmail, Supabase, Code, OpenAI. Import the template JSON into my n8n instance, list every credential I need to create, and walk me through testing it.
Paste into Claude Code and it will do the rest.
Apps and nodes
Similar workflows
NameViews
- β¨π€Automate Multi-Platform Social Media Content Creation with AI205K
- AI Timesheet Generator with Gmail, Calendar & GitHub to Google Sheets20K
- Compose reply draft in Gmail with OpenAI Assistant17K
- Daily Podcast Summary15K
- Automate SEO blog creation + social media with GPT-4, Perplexity and WordPress5,798
- Explore n8n Nodes in a Visual Reference Library5,197
- AI Newsletter Builder: Crawl Sites with Dumpling AI, Summarize with GPT-4o2,341
- Transform Press Releases (PDF & Word) into Polished Articles with Gmail & OpenAI2,231