Send AI reminders for content and important days with Mistral, Supabase and Gmail
Ready for 3.0What this workflow does
This AI workflow has 34 nodes and runs on a schedule (every day) (plus 2 other triggers). Along the way it connects Supabase, Gmail and Mistral Cloud Chat Model.
How it runs
Trigger: On a schedule (every day) (plus 2 other triggers).
- Retrieve Rows from Supabase (Supabase): get many
- Fetch Important Dates from DB (Supabase): get many
- Secondary AI Content Agent (AI Agent): runs an AI agent, with model: Secondary Mistral AI Chat
- Filter: keeps only the items that match a condition
- Compute Next Important Date (Code): runs custom JavaScript code
- Handle Secondary AI Output (Code): runs custom JavaScript code
- Loop Over 10 Items (Loop Over Items (Split in Batches)): loops over the items in batches
- Check Date Conditions (If): checks a condition and branches into true / false
- Log to Supabase Database (Supabase): uses Supabase
- Set Remaining Days (Edit Fields (Set)): sets 1 field: days_remaining
…plus 18 more steps. See the full node list below.
Services it uses
Other Supabase + Gmail templates (69) · Other Gmail + Mistral AI templates (22) · Other Mistral AI + Supabase templates (7)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (14)
- Supabase
n8n-nodes-base.supabase - Filter
n8n-nodes-base.filter - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - Merge
n8n-nodes-base.merge - Code
n8n-nodes-base.code - Switch
n8n-nodes-base.switch - AI Agent
@n8n/n8n-nodes-langchain.agent - Gmail
n8n-nodes-base.gmail - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Mistral Cloud Chat Model
@n8n/n8n-nodes-langchain.lmChatMistralCloud - Webhook
n8n-nodes-base.webhook - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
Quick overview This workflow runs on schedules and via a webhook to send AI-generated email reminders for upcoming events and “important days” stored in Supabase, and to generate and store long-form content ideas using Mistral Cloud, delivering notifications…