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": "Agent Query Workflow (Prototype)",
"nodes": [
{
"parameters": {
"path": "query",
"httpMethod": "POST",
"responseMode": "onReceived",
"options": {}
},
"id": "WebhookTrigger",
"name": "Webhook Trigger",
"type": "n8n-nodes-base.webhook",
"typeVersion": 2,
"position": [
240,
280
]
},
{
"parameters": {
"method": "POST",
"url": "http://127.0.0.1:8000/query",
"sendBody": true,
"jsonParameters": true,
"bodyParametersJson": "={\n \"text\": $json.body?.text || $json.text || \"\",\n \"top_k\": 4,\n \"allow_generation\": false\n}",
"options": {}
},
"id": "CallLocalAPI",
"name": "Call Local API (/query)",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4,
"position": [
520,
280
]
},
{
"parameters": {
"respondWith": "allIncomingItems",
"responseBody": "={{$json}}",
"options": {}
},
"id": "Respond",
"name": "Respond",
"type": "n8n-nodes-base.respondToWebhook",
"typeVersion": 1,
"position": [
780,
280
]
}
],
"connections": {
"Webhook Trigger": {
"main": [
[
{
"node": "Call Local API (/query)",
"type": "main",
"index": 0
}
]
]
},
"Call Local API (/query)": {
"main": [
[
{
"node": "Respond",
"type": "main",
"index": 0
}
]
]
}
},
"active": false,
"settings": {
"executionOrder": "v1"
}
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Agent Query Workflow (Prototype). Uses httpRequest. Webhook trigger; 3 nodes.
Source: https://github.com/salah1892/26_MR2-Ing-nierie_des_protocoles_r-seaux_Complement_Part_B_Phase_I_-_II/blob/3615ec6faf56623ab0975a1594d4f7c3283ce5c8/n8n/query_workflow.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 adds one fixed Wouldliker TikTok sound to any downstream posting or content workflow. A webhook receives an optional . The workflow defaults to when no sound is provided. It fetches the
YouTube Newsletter Generator. Uses httpRequest. Webhook trigger; 5 nodes.
Authenticate_instagram. Uses httpRequest. Webhook trigger; 5 nodes.
01.10 Headless Checkout Tax Liability Sync. Uses httpRequest. Webhook trigger; 5 nodes.
Instagram - Fluxo de mensagens. Uses rabbitmq, rabbitmqTrigger, googleSheets, httpRequest. Webhook trigger; 74 nodes.