AcademyWorkflowsData and reporting

Split Test Agent Prompts with Supabase and OpenAI

Operations and data teams that want to compare two chatbot prompts with real conversations before choosing one.

  • Recommendedour rating
  • 7,697views on n8n
Open on n8n.io ↗

Paste it straight onto an n8n canvas with Ctrl+V or Cmd+V.

split-test-different-agent-prompts-with-supabase-and-openai.json

Loading the file...

What it does

This n8n workflow randomly assigns each chat session to one of two prompts, a baseline or an alternative. A Supabase table records which prompt each session received, so the conversation keeps the same prompt for every message. OpenAI generates the replies and PostgreSQL stores the chat memory.

Use cases

  1. 01Compare a baseline prompt with a new version
  2. 02Check which prompt each chat session received
  3. 03Test a new prompt on part of live traffic

Connects

Supabase · AI Agent · OpenAI Chat Model · Postgres Chat Memory

Questions about
Split Test Agent Prompts with Supabase and OpenAI.

What is Split Test Agent Prompts with Supabase and OpenAI used for?

Operations and data teams that want to compare two chatbot prompts with real conversations before choosing one. This n8n workflow randomly assigns each chat session to one of two prompts, a baseline or an alternative. A Supabase table records which prompt each session received, so the conversation keeps the same prompt for every message. OpenAI generates the replies and PostgreSQL stores the chat memory.

How do I import Split Test Agent Prompts with Supabase and OpenAI into n8n?

Copy the workflow JSON from this page and paste it onto the n8n canvas with Ctrl+V or Cmd+V. Then connect your credentials in each node.

Is Split Test Agent Prompts with Supabase and OpenAI safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.