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 →
{
"name": "Debug Embedding",
"nodes": [
{
"parameters": {
"httpMethod": "POST",
"path": "debug-embedding",
"responseMode": "responseNode"
},
"id": "webhook-trigger",
"name": "Webhook Trigger",
"type": "n8n-nodes-base.webhook",
"typeVersion": 1.1,
"position": [
50,
300
]
},
{
"parameters": {
"method": "POST",
"url": "http://host.docker.internal:11434/api/embeddings",
"sendBody": true,
"specifyBody": "json",
"jsonBody": "={{ { model: 'all-minilm', prompt: 'test' } }}",
"options": {}
},
"id": "generate-embedding",
"name": "Generate Embedding",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.1,
"position": [
250,
300
]
},
{
"parameters": {
"jsCode": "const embeddingData = $input.item.json;\nreturn [{\n json: {\n success: true,\n rawResponse: embeddingData,\n hasEmbedding: embeddingData.embedding ? true : false,\n embeddingLength: embeddingData.embedding ? embeddingData.embedding.length : 0,\n keys: Object.keys(embeddingData),\n embeddingType: embeddingData.embedding ? typeof embeddingData.embedding : 'undefined'\n }\n}];"
},
"id": "debug-embedding",
"name": "Debug Embedding",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
450,
300
]
},
{
"parameters": {
"respondWith": "json",
"responseBody": "={{ $('Debug Embedding').item.json }}",
"options": {}
},
"id": "respond-to-webhook",
"name": "Respond to Webhook",
"type": "n8n-nodes-base.respondToWebhook",
"typeVersion": 1,
"position": [
650,
300
]
}
],
"connections": {
"Webhook Trigger": {
"main": [
[
{
"node": "Generate Embedding",
"type": "main",
"index": 0
}
]
]
},
"Generate Embedding": {
"main": [
[
{
"node": "Debug Embedding",
"type": "main",
"index": 0
}
]
]
},
"Debug Embedding": {
"main": [
[
{
"node": "Respond to Webhook",
"type": "main",
"index": 0
}
]
]
}
},
"active": false,
"settings": {},
"versionId": "1"
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Debug Embedding. Uses httpRequest. Webhook trigger; 4 nodes.
Source: https://github.com/shazily/syntheticdatagen/blob/821a0a45e9851752555869c9d8cec0ec580287d5/n8n-workflows/debug-embedding.json — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
This workflow exposes a webhook-based FAQ endpoint that embeds incoming questions with OpenAI, retrieves relevant knowledge base chunks from Supabase pgvector, and asks Anthropic Claude to answer stri
Agente IA con ChromaDB + Ollama + API Empresa. Uses httpRequest, functionItem. Webhook trigger; 8 nodes.
Chatbot-Query-Qdrant. Uses httpRequest, postgres. Webhook trigger; 7 nodes.
Kreativ: RAG Ingestion Pipeline. Uses httpRequest, postgres. Webhook trigger; 5 nodes.
PRAGMAS - Ingest Paper. Uses executeCommand, httpRequest. Webhook trigger; 4 nodes.