AutomationFlowsAI & RAG › Webhook Semantic Search API Workflow

Webhook Semantic Search API Workflow

Original n8n title: Semantic Search API Workflow

Semantic Search API Workflow. 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": "Semantic Search API Workflow",
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "semantic-search",
        "responseMode": "onReceivedCall",
        "options": {}
      },
      "id": "webhook-trigger",
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 1,
      "position": [
        250,
        300
      ]
    },
    {
      "parameters": {
        "url": "http://backend:8000/webhook/semantic-search",
        "method": "POST",
        "bodyParameters": {
          "parameters": [
            {
              "name": "query",
              "value": "={{$json.query}}"
            },
            {
              "name": "user_id",
              "value": "={{$json.user_id}}"
            },
            {
              "name": "top_k",
              "value": "={{$json.top_k || 5}}"
            }
          ]
        },
        "options": {
          "timeout": 60000
        }
      },
      "id": "http-search",
      "name": "Search Vector DB",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 3,
      "position": [
        450,
        300
      ]
    },
    {
      "parameters": {
        "operation": "respondWith",
        "responseBody": "={{$json.data}}",
        "respondWith": "json",
        "options": {}
      },
      "id": "respond-node",
      "name": "Respond with Results",
      "type": "n8n-nodes-base.respondToWebhook",
      "typeVersion": 1,
      "position": [
        650,
        300
      ]
    }
  ],
  "connections": {
    "Webhook": {
      "main": [
        [
          {
            "node": "Search Vector DB",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Search Vector DB": {
      "main": [
        [
          {
            "node": "Respond with Results",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {},
  "id": "semantic-search-api-workflow"
}
Pro

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

About this workflow

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

Source: https://github.com/Susandhungana1/Multi-User-RAG-SAAS/blob/28f074c98ed261c834edd2f36ebb27d7d66a5931/n8n-workflows/semantic-search.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

Quiz Generator Workflow. Uses httpRequest. Webhook trigger; 3 nodes.

HTTP Request
AI & RAG

This workflow automates end-to-end social media publishing powered by Late API. It generates text content with Google Gemini, creates branded visuals with Kie.ai, uploads media to Late, and publishes

HTTP Request
AI & RAG

This workflow is perfect for app developers, SaaS founders, and mobile growth teams who need constant UGC-style video ads without hiring creators or agencies. If you're spending $500+ per creator and

HTTP Request, Google Drive