Templates / Answer business FAQs with Claude, Supabase pgvector and OpenAI embeddings

Answer business FAQs with Claude, Supabase pgvector and OpenAI embeddings

Ready for 3.0

by Milos Vranes ✓ · 5 views · created 2026-06-08 · Support Chatbot, 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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 8 nodes and runs when an HTTP POST request hits its webhook URL. It uses only n8n's built-in nodes. It also calls api.openai.com and api.anthropic.com over HTTP.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Set Search Configuration (Edit Fields (Set)): sets 8 fields: question, sessionId, supabaseUrl…
  2. Generate Question Embedding (HTTP Request): calls api.openai.com (POST)
  3. Search Supabase pgvector (HTTP Request): calls an HTTP API (POST)
  4. Build Context from Matches (Code): runs custom JavaScript code
  5. Generate Answer with Claude (HTTP Request): calls api.anthropic.com (POST)
  6. Parse and Format Answer (Code): runs custom JavaScript code
  7. Respond with Answer (Respond to Webhook): sends the response back to the webhook caller

HTTP calls to: api.openai.com, api.anthropic.com

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 (5)

From the author

Quick Overview This workflow exposes a webhook-based FAQ endpoint that embeds incoming questions with OpenAI, retrieves relevant knowledge base chunks from Supabase pgvector, and asks Anthropic Claude to answer strictly from that context with citations,…

Excerpt from Milos Vranes'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.