Gbaski Live Chat

    Shared 5/23/2026

    0 views

    Visual Workflow

    JSON Code

    {
      "id": "O8c4UmOKwkAdAiqY",
      "meta": {
        "instanceId": "14577fdc32985708809f9beaabf63f330478c2c79dd71b1f531ff2c449fcf8e4",
        "templateCredsSetupCompleted": true
      },
      "name": "Gbaski Live Chat",
      "tags": [],
      "nodes": [
        {
          "id": "263c5ba3-5f46-41d4-8577-d5e98b05c8ee",
          "name": "Webhook",
          "type": "n8n-nodes-base.webhook",
          "position": [
            0,
            0
          ],
          "webhookId": "e1c4a95b-85aa-4ca1-be83-1fbcf77c9148",
          "parameters": {
            "path": "e1c4a95b-85aa-4ca1-be83-1fbcf77c9148",
            "options": {
              "allowedOrigins": "*"
            },
            "httpMethod": "POST",
            "responseMode": "lastNode"
          },
          "typeVersion": 2.1
        },
        {
          "id": "f50d155e-0fa7-43f4-984c-5cab962b2a96",
          "name": "AI Agent",
          "type": "@n8n/n8n-nodes-langchain.agent",
          "position": [
            208,
            0
          ],
          "parameters": {
            "text": "={{  $json.body.message}} }}",
            "options": {},
            "promptType": "define"
          },
          "typeVersion": 3.1
        },
        {
          "id": "2279bb9b-7a50-4545-a2ba-d0523f97481c",
          "name": "OpenAI Chat Model",
          "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
          "position": [
            80,
            208
          ],
          "parameters": {
            "model": {
              "__rl": true,
              "mode": "list",
              "value": "gpt-4o-mini",
              "cachedResultName": "gpt-4o-mini"
            },
            "options": {},
            "builtInTools": {}
          },
          "credentials": {
            "openAiApi": {
              "id": "6dzO45t3ZvGLYr8k",
              "name": "n8n free OpenAI API credits"
            }
          },
          "typeVersion": 1.3
        },
        {
          "id": "28c1f557-8852-4cec-8ef3-11881704294e",
          "name": "Supabase Vector Store",
          "type": "@n8n/n8n-nodes-langchain.vectorStoreSupabase",
          "position": [
            352,
            208
          ],
          "parameters": {
            "mode": "retrieve-as-tool",
            "options": {
              "queryName": "match_documents"
            },
            "tableName": {
              "__rl": true,
              "mode": "list",
              "value": "documents",
              "cachedResultName": "documents"
            },
            "toolDescription": "use this tools to search for Gbaski database for company information,service,and answers"
          },
          "credentials": {
            "supabaseApi": {
              "id": "8AabOfrZ3wvkN5RE",
              "name": "Supabase account 5"
            }
          },
          "typeVersion": 1.3
        },
        {
          "id": "fea6e064-f20f-4de6-8c06-3555988f60bf",
          "name": "Embeddings OpenAI",
          "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
          "position": [
            304,
            400
          ],
          "parameters": {
            "options": {}
          },
          "credentials": {
            "openAiApi": {
              "id": "6dzO45t3ZvGLYr8k",
              "name": "n8n free OpenAI API credits"
            }
          },
          "typeVersion": 1.2
        }
      ],
      "active": true,
      "pinData": {},
      "settings": {
        "binaryMode": "separate",
        "executionOrder": "v1"
      },
      "versionId": "e1ce6e18-5956-4e16-a527-be679a491800",
      "connections": {
        "Webhook": {
          "main": [
            [
              {
                "node": "AI Agent",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "Embeddings OpenAI": {
          "ai_embedding": [
            [
              {
                "node": "Supabase Vector Store",
                "type": "ai_embedding",
                "index": 0
              }
            ]
          ]
        },
        "OpenAI Chat Model": {
          "ai_languageModel": [
            [
              {
                "node": "AI Agent",
                "type": "ai_languageModel",
                "index": 0
              }
            ]
          ]
        },
        "Supabase Vector Store": {
          "ai_tool": [
            [
              {
                "node": "AI Agent",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        }
      }
    }