AutomationFlowsAI & RAG › Study Coach RAG Chat

Study Coach RAG Chat

Study Coach RAG Chat. Uses httpRequest. Webhook trigger; 3 nodes.

Webhook trigger★☆☆☆☆ complexity3 nodesHTTP Request
AI & RAG Trigger: Webhook Nodes: 3 Complexity: ★☆☆☆☆ Added:

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "name": "Study Coach RAG Chat",
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "ai/chat",
        "responseMode": "responseNode"
      },
      "id": "chat-webhook",
      "name": "Study Question Webhook",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2,
      "position": [
        220,
        260
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "http://lumen-api:8081/api/ai/chat",
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={{ JSON.stringify($json.body || $json) }}"
      },
      "id": "call-rag-gateway",
      "name": "Call StudyWell Gateway",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4,
      "position": [
        500,
        260
      ]
    },
    {
      "parameters": {
        "respondWith": "json",
        "responseBody": "={{ $json }}"
      },
      "id": "respond-chat",
      "name": "Respond",
      "type": "n8n-nodes-base.respondToWebhook",
      "typeVersion": 1,
      "position": [
        760,
        260
      ]
    }
  ],
  "connections": {
    "Study Question Webhook": {
      "main": [
        [
          {
            "node": "Call StudyWell Gateway",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Call StudyWell Gateway": {
      "main": [
        [
          {
            "node": "Respond",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  }
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

Study Coach RAG Chat. Uses httpRequest. Webhook trigger; 3 nodes.

Source: https://github.com/Huy180105/Project/blob/0868175ec62f43e283537f4fa0cbeec9bf752b6b/n8n-workflows/ai-chat-rag.json — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

Generate Text-To-Speech Using Elevenlabs Via Api. Uses respondToWebhook, httpRequest, stickyNote. Webhook trigger; 6 nodes.

HTTP Request
AI & RAG

WhatsApp → OpenAI (FastAPI). Uses httpRequest. Webhook trigger; 5 nodes.

HTTP Request
AI & RAG

AI Q&A Bot (Webhook → Anthropic Claude → Slack + Google Sheets). Uses httpRequest, googleSheets, slack. Webhook trigger; 5 nodes.

HTTP Request, Google Sheets, Slack
AI & RAG

Document Summary Workflow. Uses httpRequest. Webhook trigger; 4 nodes.

HTTP Request
AI & RAG

Semantic Search API Workflow. Uses httpRequest. Webhook trigger; 3 nodes.

HTTP Request