Block 1 - Trigger Workflow
- Type / Role
- n8n-nodes-base.scheduleTrigger - scheduleTrigger
- Config choices
- Version 1.2
This workflow is provided as-is. Please review and test before using in production.
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 Su...
n8n-nodes-base.scheduletrigger, n8n-nodes-base.code, @n8n/n8n-nodes-langchain.openai, n8n-nodes-base.httprequest, n8n-nodes-base.gmail, n8n-nodes-base.supabase, n8n-nodes-base.if, n8n-nodes-base.splitinbatches
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Paul Taylor.
Original n8n.io sourceThis 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.
SplitInBatches.emails table in SupabaseBefore using this workflow, you must have:
emails table and:ALTER TABLE emails ADD CONSTRAINT unique_email_id UNIQUE (email_id);
| Name | Type | Description |
|---|---|---|
| Gmail OAuth | Gmail | To pull unread messages |
| OpenAI API Key | OpenAI | To generate task summaries |
| Supabase API | HTTP | For inserting rows via REST API |
Supabase_TaskManagement_URI → e.g., https://your-project.supabase.coSupabase_TaskManagement_ANON_KEY → Your Supabase anon keyThese are used in the HTTP request to Supabase.
> Designed for productivity-minded professionals who want to extract, summarize, and store actionable tasks from incoming email — without processing the same email twice or wasting GPT API credits.
This is part of a larger system integrating GPT, calendar scheduling, and optional task platforms (like ClickUp).
Each processed email includes:
email_idsubjectsenderreceived_atbody (email snippet)gpt_summary (structured task)requires_deep_work (from GPT logic)deleted (initially false)This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
| Workflow | Extract email tasks with Gmail, ChatGPT-4o and Supabase |
|---|---|
| Complexity | intermediate |
| Nodes | 9 |
| Categories | Personal Productivity, AI Summarization |
| Author | Paul Taylor |
| Published | 30 Jun 2025 |
Use the JSON export at /data/workflows/5496/5496.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
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 Su...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Personal Productivity, AI Summarization use case.