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 →
{
"id": "WkPostDraft05",
"name": "\u4e3b\u984c\u2192\u591a\u5e73\u53f0\u8cbc\u6587\u8349\u7a3f (Multi-Platform Post Draft \u00b7 \u672c\u6a5f Ollama)",
"nodes": [
{
"parameters": {},
"id": "node-manual",
"name": "When clicking Execute",
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [
240,
400
]
},
{
"parameters": {
"jsCode": "const source = '\uff08\u628a\u9019\u88e1\u63db\u6210\u4e00\u5247\u65b0\u805e\u9023\u7d50\u3001\u4e3b\u984c\u3001\u6216\u4f60\u60f3\u767c\u7684\u9ede\u5b50\uff09';\nconst prompt = '\u4f60\u662f @yuri.learns \u7684\u793e\u7fa4\u5c0f\u7de8\uff08\u8a2d\u8a08\u5e2b\u5b78 AI \u7684\u5e33\u865f\uff0c\u8a9e\u6c23\u89aa\u5207\u53e3\u8a9e\u3001\u4e0d\u6d6e\u8a87\u3001\u4e0d\u91e3\u4e92\u52d5\u3001\u7528\u5168\u5f62\u6a19\u9ede\uff09\u3002\u6839\u64da\u4ee5\u4e0b\u7d20\u6750\uff0c\u7522\u51fa\u4e09\u500b\u5e73\u53f0\u7684\u8cbc\u6587\u8349\u7a3f\uff1a\\nIG\uff08\u5716\u6587\uff0c3-5 \u53e5\u3001\u9069\u5ea6\u63db\u884c\uff09\\nThreads\uff08\u53e3\u8a9e\u3001\u77ed\u30011-2 \u53e5\u9264\u5b50\uff09\\nFacebook\uff08\u7a0d\u5b8c\u6574\u3001\u53ef\u5e36\u500b\u4eba\u89c0\u9ede\uff09\\n\u7528\u7e41\u9ad4\u4e2d\u6587\u3002\\n\\n\u7d20\u6750\uff1a\\n' + source;\nreturn [{ json: { source, prompt } }];"
},
"id": "node-input",
"name": "Input (edit me)",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
460,
400
]
},
{
"parameters": {
"method": "POST",
"url": "http://host.docker.internal:11434/api/chat",
"sendBody": true,
"specifyBody": "json",
"jsonBody": "={{ JSON.stringify({ model: 'qwen2.5:latest', messages: [ { role: 'system', content: '\u4f60\u662f\u53f0\u7063\u4eba\uff0c\u4e00\u5f8b\u4f7f\u7528\u53f0\u7063\u7e41\u9ad4\u4e2d\u6587\u8207\u53f0\u7063\u6163\u7528\u8a9e\u56de\u8986\uff0c\u7d55\u5c0d\u4e0d\u8981\u51fa\u73fe\u4efb\u4f55\u7c21\u9ad4\u5b57\u6216\u4e2d\u570b\u7528\u8a9e\u3002' }, { role: 'user', content: $json.prompt } ], stream: false }) }}",
"options": {
"timeout": 180000
}
},
"id": "node-ollama",
"name": "Summarize with Ollama",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
680,
400
]
},
{
"parameters": {
"jsCode": "const data = $input.first().json;\nlet out = '';\ntry { out = (data.message && data.message.content) || (data.content && data.content[0] && data.content[0].text) || data.response || ''; } catch (e) {}\nif (!out) out = JSON.stringify(data);\nreturn [{ json: { result: out } }];"
},
"id": "node-result",
"name": "Result",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
900,
400
]
}
],
"connections": {
"When clicking Execute": {
"main": [
[
{
"node": "Input (edit me)",
"type": "main",
"index": 0
}
]
]
},
"Input (edit me)": {
"main": [
[
{
"node": "Summarize with Ollama",
"type": "main",
"index": 0
}
]
]
},
"Summarize with Ollama": {
"main": [
[
{
"node": "Result",
"type": "main",
"index": 0
}
]
]
}
},
"active": false,
"settings": {
"executionOrder": "v1"
},
"tags": []
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
主題→多平台貼文草稿 (Multi-Platform Post Draft · 本機 Ollama). Uses httpRequest. Event-driven trigger; 4 nodes.
Source: https://github.com/YuriCrystal/n8n-marketing-flows/blob/main/templates/05-multi-platform-post-draft.local-ollama.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.
legal_rag_telegram_api_current_github_ready. Uses telegramTrigger, httpRequest. Event-driven trigger; 56 nodes.
This workflow discovers trending topics from YouTube Most Popular and Google Trends, uses OpenAI to rank and draft Shorts-ready angles, stores items for review in Airtable, then sends approved records
This n8n workflow automatically generates presentation-style "screen recording" videos with AI-generated slides and a talking head avatar overlay. You provide a topic and intention, and the workflow h
Monitor Google Drive folder, parsing PDF, DOCX and image file into a destination folder, ready for further processing (e.g. RAG ingestion, translation, etc.) Keep processing log in Google Sheet and se
This workflow is designed for individuals and businesses looking to streamline the creation of engaging promotional videos. Whether you're marketing a product or developing a personal brand, this AI-d