This n8n workflow automates the process of extracting actionable tasks from unread Gmail messages and storing them in a database for efficient task management. It is scheduled to run at regular intervals, checking for new emails, filtering out previously processed messages, and leveraging GPT-4 to analyze email content. The process begins with a scheduled trigger that fetches unread emails from Gmail. Each email is then checked against a Supabase database to prevent duplicate processing. For new emails, the workflow formats the email content into a structured prompt for GPT, which extracts task details such as title, description, due date, and focus level. The extracted data is then inserted into the Supabase database, creating a streamlined system for converting emails into actionable tasks.
Automated Task Extraction from Gmail Using GPT and Supabase
Node Count | 6 – 10 Nodes |
---|---|
Nodes Used | @n8n/n8n-nodes-langchain.openAi, code, gmail, httpRequest, if, scheduleTrigger, splitInBatches, stickyNote, supabase |
Reviews
There are no reviews yet.