What This Workflow Does
This n8n workflow solves the common problem of actionable tasks getting buried in email inboxes. It automatically scans your unread Gmail messages, uses ChatGPT-4o to intelligently identify and extract tasks, then stores them in Supabase for easy task management.
The automation helps professionals who receive dozens of emails daily with embedded action items. Instead of manually reviewing each message, the workflow processes them automatically, saving hours per week on email triage while ensuring no important tasks are overlooked.
How It Works
1. Check for new unread emails
The workflow starts by querying your Gmail account for unread messages using n8n's Gmail node. You can configure it to check specific labels or folders.
2. Extract email content
For each unread email, the workflow extracts the sender, subject line, and body content while preserving important formatting and attachments.
3. Process with ChatGPT-4o
The email content is sent to OpenAI's API where ChatGPT-4o analyzes the text to identify actionable tasks, deadlines, priorities, and relevant context.
4. Store structured tasks in Supabase
The extracted tasks are formatted into a consistent structure and stored in your Supabase database with metadata like due dates, priority levels, and source email references.
Who This Is For
This workflow is ideal for:
- Busy executives and managers receiving task requests via email
- Customer support teams handling feature requests
- Project managers coordinating multiple stakeholders
- Freelancers managing client communications
- Any professional drowning in action-item emails
What You'll Need
- An n8n instance (cloud or self-hosted)
- Gmail account with API access enabled
- OpenAI API key with GPT-4o access
- Supabase account with a configured database
- Basic understanding of n8n workflow configuration
Quick Setup Guide
- Download the JSON template file
- Import into your n8n instance
- Configure Gmail node with your credentials
- Add your OpenAI API key
- Connect to your Supabase database
- Test with a sample email and adjust prompts as needed
- Activate the workflow
Pro tip: Start by processing emails from a specific label or folder to test the workflow before applying it to your entire inbox.
Key Benefits
Save 5-10 hours weekly by automating email task extraction instead of manual review.
Never miss an action item with consistent AI-powered parsing of all incoming messages.
Centralized task management by storing all extracted items in your Supabase database.
Customizable parsing logic that you can refine based on your specific email patterns.
Scalable solution that handles increasing email volume without additional time investment.