A/B Split Testing

A/B Split Testing

Manual
High
16
Nodes
Manual
Trigger
High
Complexity
7/22/2025
Added

Workflow Overview

Total Nodes
16
Node Types
8

Node Types

sticky Note
Sticky Note5, Sticky Note1, Sticky Note, Sticky Note2, Sticky Note6, Sticky Note8, Sticky Note3
7 nodes
chat Trigger
When chat message received
1 node
agent
AI Agent
1 node
supabase
Check If Session Exists, Assign Path To Session
2 nodes
if
If Session Does Exist
1 node
set
Define Path Values, Get Correct Prompt
2 nodes
lm Chat Open Ai
OpenAI Chat Model
1 node
memory Postgres Chat
Postgres Chat Memory
1 node

Workflow JSON

11.56 KB
{
  "id": "TEA7K9MSVQGCWKe6",
  "meta": {
    "instanceId": "ac63467607103d9c95dd644384984672b90b1cb03e07edbaf18fe72b2a6c45bb",
    "templateCredsSetupCompleted": true
  },
  "name": "A/B Split Testing",
  "tags": [],
  "nodes": [
    {
      "id": "e8404493-4297-4169-a72f-89e668ae5fbc",
      "name": "When chat message received",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        -1460,
        -140
      ],
      "webhookId": "334e3a8d-73d2-4d3c-9927-158c1169ef5e",
      "parameters": {
        "options": {}
      },
      "typeVersion": 1.1
    },
    {
      "id": "582e1c1b-12ff-42ff-8130-48f94eebd706",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        220,
        -160
      ],
      "parameters": {
        "text": "={{ $('When chat message received').item.json.chatInput }}",
        "options": {
          "systemMessage": "={{ $json.prompt }}"
        },
        "promptType": "define"
      },
    ...

Showing first 1000 characters. Click "Expand" to view the full JSON.