Templates / Draft personalized Outlook support email replies with Supabase RAG and OpenAI

Draft personalized Outlook support email replies with Supabase RAG and OpenAI

Ready for 3.0

by Matthew ✓ · 378 views · created 2026-01-20 · Ticket Management, AI RAG

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 10 nodes and runs on Microsoft Outlook events. Along the way it connects Microsoft Outlook, Google Sheets, OpenAI Chat Model and Supabase Vector Store and 2 more.

How it runs

Trigger: On Microsoft Outlook events.

  1. Config Variables (Edit Fields (Set)): sets or maps fields
  2. Fetch Contact Info (Supabase): get
  3. Build AI Prompt (Code): runs custom JavaScript code
  4. AI Support Agent (AI Agent): runs an AI agent, with model: GPT-4o Model; 1 tool (Vector Store (Supabase))
  5. Draft Outlook Reply (Microsoft Outlook): work with draft
  6. Log to Google Sheets (Google Sheets): append or update

Services it uses

Microsoft OutlookGoogle SheetsOpenAI Chat ModelSupabase Vector StoreEmbeddings OpenAISupabase

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.

Nodes used (10)

From the author

Description This workflow automates the first line of customer support by intelligently drafting email replies. It bridges the gap between your CRM (Supabase), your technical documentation (Vector Store), and your inbox (Outlook). By analyzing the sender's…

Excerpt from Matthew's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.