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": "Thunder Planning Agent (Basic)",
"nodes": [
{
"parameters": {
"httpMethod": "POST",
"path": "planning-agent",
"responseMode": "responseNode",
"options": {}
},
"id": "webhook-trigger",
"name": "Webhook Trigger",
"type": "n8n-nodes-base.webhook",
"typeVersion": 1,
"position": [
250,
300
]
},
{
"parameters": {
"resource": "text",
"operation": "message",
"modelId": "gpt-4o",
"prompt": "={{ $json.body.prompt }}",
"options": {
"systemMessage": "Sen Thunder ERP'nin \u00fcretim planlama agent'\u0131s\u0131n.\n\nG\u00f6revlerin:\n1. Sipari\u015f bilgilerini analiz et\n2. BOM (Bill of Materials) kontrol et\n3. Stok durumunu de\u011ferlendir\n4. \u00dcretim s\u00fcrelerini hesapla\n5. Optimum \u00fcretim plan\u0131 olu\u015ftur\n\nYan\u0131t format\u0131 JSON:\n{\n \"decision\": \"approved\" | \"rejected\" | \"needs_review\",\n \"reasoning\": \"Karar gerek\u00e7esi\",\n \"production_plan\": {\n \"start_date\": \"2025-12-20\",\n \"end_date\": \"2025-12-27\",\n \"estimated_duration_hours\": 168,\n \"required_materials\": [],\n \"warnings\": []\n },\n \"confidence\": 0.95\n}",
"temperature": 0.7,
"maxTokens": 2048
}
},
"id": "openai-agent",
"name": "Planning Agent (GPT-4o)",
"type": "@n8n/n8n-nodes-langchain.openAi",
"typeVersion": 1,
"position": [
450,
300
],
"credentials": {
"openAiApi": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"respondWith": "json",
"responseBody": "={{ {\n \"success\": true,\n \"agent\": \"planning\",\n \"response\": $json.message.content,\n \"tokens\": $json.usage.total_tokens,\n \"cost\": ($json.usage.prompt_tokens * 0.005 / 1000) + ($json.usage.completion_tokens * 0.015 / 1000)\n} }}"
},
"id": "response",
"name": "Respond to Webhook",
"type": "n8n-nodes-base.respondToWebhook",
"typeVersion": 1,
"position": [
650,
300
]
}
],
"connections": {
"Webhook Trigger": {
"main": [
[
{
"node": "Planning Agent (GPT-4o)",
"type": "main",
"index": 0
}
]
]
},
"Planning Agent (GPT-4o)": {
"main": [
[
{
"node": "Respond to Webhook",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {
"executionOrder": "v1"
},
"staticData": null,
"tags": [],
"triggerCount": 0,
"updatedAt": "2025-01-27T00:00:00.000Z",
"versionId": "1"
}
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
openAiApi
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Thunder Planning Agent (Basic). Uses openAi, respondToWebhook. Webhook trigger; 3 nodes.
Source: https://github.com/Huseyintabak/ERP-V2/blob/48823c94dce6339aa9fcdebba0bf9b9fb02d800b/n8n-workflows/planning-agent-ready.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.
Mario Speaker. Uses openAi, agent, lmChatOpenAi, memoryBufferWindow. Webhook trigger; 7 nodes.
LLMS_Query_Links_stabilisation. Uses mySql, lmChatOpenAi, executeCommand, chainLlm. Webhook trigger; 95 nodes.
LLMS_Query_Links_stabilisation. Uses mySql, lmChatOpenAi, executeCommand, chainLlm. Webhook trigger; 95 nodes.
Are you drowning in daily operational chaos, desperately trying to juggle sales, projects, content, and client communication? Imagine an AI brain that handles it all, freeing you to lead your business
CLINICAINTEGRAL_secretary. Uses postgres, mcpClientTool, googleDriveTool, toolWorkflow. Webhook trigger; 89 nodes.