Split Test Different Agent Prompts with Supabase and OpenAI
n8n template #2992Summary
Use templateSplit Test Agent Prompts with Supabase and OpenAI Use Case Oftentimes, it's useful to test different settings for a large language model in production against various metrics. Split testing is a good method for doing this. What it Does This workflow randomly assigns chat sessions to one of two prompts, the baseline and the alternative. The agent will use the same prompt for all interactions in that chat session. How it Works When messages arrive, a table containing information regarding session ID and which prompt to use is checked to see if the chat already exists If it does not, the session ID is added to the table and a prompt is randomly assigned These values are then used to generate a
Hand off to your agent
Prompt
Help me set up the n8n workflow "Split Test Different Agent Prompts with Supabase and OpenAI" (https://n8n.io/workflows/2992). It uses: Supabase, AI Agent, OpenAI Chat Model, Postgres Chat Memory. Import the template JSON into my n8n instance, list every credential I need to create, and walk me through testing it.
Paste into Claude Code and it will do the rest.
Apps and nodes
Similar workflows
NameViews
- Allow Users to Send a Sequence of Messages to an AI Agent in Telegram12K
- WordPress - AI Chatbot to enhance user experience - with Supabase and OpenAI11K
- Answer multi-channel support queries with OpenAI RAG and Supabase2,462
- Multi-language Telegram RAG chatbot with supervisor AI & automated Google Drive pipeline552
- AI Agent To Chat With Files In Supabase Storage68K
- Autonomous AI crawler61K
- AI Customer Support Assistant · WhatsApp Ready · Works for Any Business43K
- HR & IT Helpdesk Chatbot with Audio Transcription36K