This workflow follows the Chainllm → HTTP Request recipe pattern — see all workflows that pair these two integrations.
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": "One News \u79d1\u6280\u65b0\u805e",
"nodes": [
{
"parameters": {},
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [
-2224,
768
],
"id": "cf47609c-0211-4209-957f-5ac891ee8986",
"name": "When clicking \u2018Test workflow\u2019"
},
{
"parameters": {
"title": "=[\u7121\u504f\u898b\u5831\u5c0e] {{ $json.title }}",
"additionalFields": {
"content": "={{ $json.text }}\n\n\n\n### \u53c3\u8003\u95b1\u8b80\n[{{ $json['\u6a19\u984c'] }},{{ $json['\u4f86\u6e90\u8207\u6642\u9593'] }}]({{ $json['\u9023\u7d50'] }})\n[{{ $json.refs[0].title }}, {{ $json.refs[0].source }}]({{$json.refs[0].link}})\n[{{ $json.refs[1].title }}, {{ $json.refs[1].source }}]({{$json.refs[1].link}})\n[{{ $json.refs[2].title }}, {{ $json.refs[2].source }}]({{$json.refs[2].link}})",
"status": "publish",
"categories": [
3,
5,
4
],
"tags": [
6
]
}
},
"type": "n8n-nodes-base.wordpress",
"typeVersion": 1,
"position": [
2400,
1216
],
"id": "1aaff042-ca30-4e4d-9c97-9c903a8c249f",
"name": "Wordpress",
"alwaysOutputData": true,
"executeOnce": true,
"retryOnFail": false,
"credentials": {
"wordpressApi": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"rule": {
"interval": [
{
"field": "hours",
"hoursInterval": 6,
"triggerAtMinute": 40
}
]
}
},
"type": "n8n-nodes-base.scheduleTrigger",
"typeVersion": 1.2,
"position": [
-2064,
944
],
"id": "f73ee230-4038-43cc-a2ab-48a99c4b3432",
"name": "Schedule Trigger1"
},
{
"parameters": {
"workflowId": {
"__rl": true,
"value": "XvU5udJwsszCQwon",
"mode": "list",
"cachedResultUrl": "/workflow/XvU5udJwsszCQwon",
"cachedResultName": "Deep Research From yahoo trend"
},
"workflowInputs": {
"mappingMode": "defineBelow",
"value": {
"yahoo-news-url": "={{ $json.url }}"
},
"matchingColumns": [
"yahoo-news-url"
],
"schema": [
{
"id": "yahoo-news-url",
"displayName": "yahoo-news-url",
"required": false,
"defaultMatch": false,
"display": true,
"canBeUsedToMatch": true,
"type": "string",
"removed": false
}
],
"attemptToConvertTypes": false,
"convertFieldsToString": true
},
"options": {
"waitForSubWorkflow": true
}
},
"type": "n8n-nodes-base.executeWorkflow",
"typeVersion": 1.2,
"position": [
-1664,
720
],
"id": "9c8fbe5e-215e-4f65-aa42-ada0dcc43332",
"name": "Call 'Research by Yahoo News'",
"retryOnFail": true,
"waitBetweenTries": 5000
},
{
"parameters": {
"modelName": "models/gemini-2.0-flash",
"options": {
"temperature": 0.1
}
},
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"typeVersion": 1,
"position": [
-512,
1584
],
"id": "1d72e1ac-4e22-4f81-8f1a-fc8ba4b63c68",
"name": "Google Gemini Chat Model1",
"credentials": {
"googlePalmApi": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"assignments": {
"assignments": [
{
"id": "a3b4bef2-c4b5-4cf6-b41e-4b026c6a2dad",
"name": "title",
"value": "={{ $json.text }}",
"type": "string"
}
]
},
"options": {}
},
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
1776,
1392
],
"id": "0a615de9-a95e-4222-a9f0-83f3610c7c39",
"name": "rename"
},
{
"parameters": {
"content": "https://lazyinwork.com/2026/01/14/%e7%84%a1%e5%81%8f%e8%a6%8b%e5%a0%b1%e5%b0%8e%e5%bd%88%e5%8a%be%e6%a1%88%e8%83%8c%e6%99%af%e3%80%81%e7%88%ad%e8%ad%b0%e3%80%81%e7%a8%8b%e5%ba%8f%e3%80%81%e5%bd%b1%e9%9f%bf%e5%8f%8a%e5%9c%8b%e9%9a%9b/#google_vignette",
"height": 240,
"width": 704
},
"type": "n8n-nodes-base.stickyNote",
"position": [
112,
960
],
"typeVersion": 1,
"id": "c809fad9-45b5-4138-b317-0b7c8c81b2de",
"name": "Sticky Note"
},
{
"parameters": {
"mode": "combine",
"combineBy": "combineAll",
"options": {}
},
"type": "n8n-nodes-base.merge",
"typeVersion": 3.2,
"position": [
-592,
1024
],
"id": "e2930dd9-8341-43bf-86ad-9c7942e91ff5",
"name": "Merge"
},
{
"parameters": {
"promptType": "define",
"text": "=\u4ee5\u4e0b\u662f\u53c3\u8003\u5167\u5bb9\uff1a\n{{ $json.body[0] }}\n\n\u4ee5\u4e0b\u662f\u6b21\u8981\u53c3\u8003\u5167\u5bb9\uff1a\n{{ $json.refs.toJsonString()}}",
"messages": {
"messageValues": [
{
"message": "\u6211\u60f3\u5beb\u4e00\u7bc7\u4e2d\u7acb\u6df1\u5ea6\u5831\u5c0e\uff0c\u8acb\u7d66\u6211\u4e94\u500b\u5c0f\u7bc0\u6a19\u984c\u898f\u5283\u548c\u7de8\u5beb\u7b56\u7565\uff0c\u5c0f\u7bc0\u4e4b\u9593\u4f7f\u7528`----`\u4f86\u5207\u5272\uff0c\u7528markdown\u683c\u5f0f\u76f4\u63a5\u8f38\u51fa\u7d50\u679c\u7d66\u6211\uff0c\u4e0d\u8981\u6709\u5176\u9918\u5167\u5bb9\u3002\n\u8f38\u51fa\u7bc4\u4f8b\uff1a\n`<\u5c0f\u7bc0\u6a19\u984c>` \u5c0f\u7bc0\u6a19\u984c....\n`<\u5c0f\u7bc0\u6458\u8981>` \u5c0f\u7bc0\u6458\u8981....\n`<\u5c0f\u7bc0\u6838\u5fc3\u53e5\u5b50>` \u5c0f\u7bc0\u6838\u5fc3\u53e5\u5b50....\n----\n`<\u5c0f\u7bc0\u6a19\u984c>` \u5c0f\u7bc0\u6a19\u984c....\n`<\u5c0f\u7bc0\u6458\u8981>` \u5c0f\u7bc0\u6458\u8981....\n`<\u5c0f\u7bc0\u6838\u5fc3\u53e5\u5b50>` \u5c0f\u7bc0\u6838\u5fc3\u53e5\u5b50....\n\n"
}
]
}
},
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"typeVersion": 1.5,
"position": [
-960,
576
],
"id": "d4367d29-9929-45a2-a10f-8e45fc42bd36",
"name": "\u751f\u6210\u6587\u7ae0\u7de8\u8f2f\u898f\u5283"
},
{
"parameters": {
"fieldToSplitOut": "sections",
"options": {
"destinationFieldName": "write_prompt"
}
},
"type": "n8n-nodes-base.splitOut",
"typeVersion": 1,
"position": [
-480,
576
],
"id": "104d6580-5b0a-4d40-b4d6-d5bea97aeba4",
"name": "Split Out"
},
{
"parameters": {
"mode": "combine",
"combineBy": "combineByPosition",
"numberInputs": 3,
"options": {}
},
"type": "n8n-nodes-base.merge",
"typeVersion": 3.2,
"position": [
2112,
1184
],
"id": "350764fe-4336-4118-aab2-59aa0a755788",
"name": "Merge1"
},
{
"parameters": {
"mode": "combine",
"combineBy": "combineByPosition",
"options": {}
},
"type": "n8n-nodes-base.merge",
"typeVersion": 3.2,
"position": [
-96,
832
],
"id": "cd61acae-e525-477f-9461-124dbeb9f7d9",
"name": "Merge2"
},
{
"parameters": {
"fieldsToSummarize": {
"values": [
{
"aggregation": "concatenate",
"field": "write_prompt.text"
}
]
},
"options": {}
},
"type": "n8n-nodes-base.summarize",
"typeVersion": 1.1,
"position": [
848,
1328
],
"id": "1b5253c8-abb0-4046-a34b-349b711f439c",
"name": "Summarize"
},
{
"parameters": {
"promptType": "define",
"text": "=\u4ee5\u4e0b\u662f\u7de8\u5beb\u5927\u7db1\uff1a\n{{ $json.write_prompt.toJsonString() }}\n\u4ee5\u4e0b\u662f\u53c3\u8003\u5167\u5bb9\uff1a\n{{ $json.body[0] }}\n{{ $json.refs.toJsonString() }}",
"messages": {
"messageValues": [
{
"message": "\u9075\u5b88\u5a92\u9ad4\u9053\u5fb7\u8207\u793e\u6703\u8cac\u4efb\u539f\u5247\uff0c\u57fa\u65bc\u8cc7\u6599\u5167\u5bb9\uff0c\u7d71\u6574\u5f8c\u64b0\u5beb\u4e00\u7bc7\u5831\u5c0e\u3002\u4ee5\u4e0b\u63d0\u4f9b\u66f4\u591a\u8f38\u51fa\u7d30\u7bc0\n\n\u8acb\u6839\u64da\u4ee5\u4e0b\u898f\u7bc4\u64b0\u5beb\u4e00\u7bc7\u6df1\u5ea6\u5831\u5c0e\u6587\u7ae0\uff1a\n\n## \u8f38\u51fa\u683c\u5f0f\uff1a\n\u8acb\u4ee5\u90e8\u843d\u683c\u6587\u98a8\uff0c\u6df1\u5165\u6558\u8ff0\u4e8b\u4ef6\u5167\u5bb9\uff0c\u8981\u6c42\u8cc7\u8a0a\u771f\u5be6\u3001\u4f86\u6e90\u53ef\u4fe1\uff0c\u4e26\u76e1\u53ef\u80fd\u5f15\u7528\u4f86\u6e90\uff08\u7121\u9700\u9644\u4e0a\u7db2\u5740\uff09\u3002\n\n## \u64b0\u5beb\u539f\u5247\uff1a\n- \u5167\u5bb9\u70ba\u5b57\u6578\u7d04\u5728300-500\u5b57\u4e4b\u9593\u7684\u55ae\u4e00\u6bb5\u843d\uff0c\u4e0d\u9700\u5206\u6bb5\u548c\u5206\u7ae0\u7bc0\n- \u6587\u7ae0\u5c07\u88ab\u76f4\u63a5\u7528\u4f5c\u5831\u5c0e\uff0c**\u7981\u6b62\u5305\u542b\u4efb\u4f55\u5c0d\u8a71\u958b\u5834\u3001\u7cfb\u7d71\u8aaa\u660e\u3001\u7522\u88fd\u8aaa\u660e\u6216\u5176\u4ed6\u975e\u6b63\u6587\u5167\u5bb9**\n- \u907f\u514d\u7121\u8b02\u7684\u958b\u5834\u767d\u8207\u7d50\u5c3e\u8a9e\uff0c**\u76f4\u63a5\u5207\u5165\u4e3b\u984c**\n- \u5168\u6587\u4f7f\u7528**\u7e41\u9ad4\u4e2d\u6587**\uff0c\u5fc5\u8981\u6642\u53ef\u4ee5\u52a0\u5165\u82f1\u6587\u5b57\u6bcd\uff0c\u4e0d\u4f7f\u7528\u5176\u4ed6\u8a9e\u8a00\n- \u63a1\u7528\u53f0\u7063\u4eba\u65e5\u5e38\u53ef\u7406\u89e3\u7684\u7528\u8a9e\uff0c\u907f\u514d\u904e\u5ea6\u5c08\u696d\u8853\u8a9e\n- \u6240\u6709\u5167\u5bb9\u9808\u7b26\u5408\u5a92\u9ad4\u5831\u5c0e\u6a19\u6e96\uff0c**\u4e0d\u5f97\u717d\u52d5\u60c5\u7dd2\uff0c\u8cc7\u8a0a\u9700\u67e5\u8b49\u4e14\u53ef\u4fe1**\n- **\u7981\u6b62\u63d0\u4f9b\u7db2\u5740**\n- \u6587\u7ae0\u9808\u5177\u5099**\u7368\u7279\u89c0\u9ede**\uff0c\u4e0d\u50c5\u662f\u7ffb\u8b6f\u6216\u91cd\u8ff0\u4ed6\u4eba\u89c0\u9ede\n- \u4ee5\u4e0b\u89c0\u9ede\u53ef\u4ee5\u5f37\u5316[\u5167\u6587]\u6df1\u5ea6\u8207\u5448\u73fe\uff08\u7528\u6558\u8ff0\u7684\u65b9\u5f0f\u4e0d\u662f\u5217\u9ede\u8aaa\u660e\uff0c\u7dad\u6301\u6700\u5f8c\u7522\u51fa\u662f\u55ae\u4e00\u6bb5\u843d\uff09\uff1a\n - **\u4e8b\u4ef6\u7665\u7d50\u9ede\uff1a** \u63d0\u51fa\u4e8b\u4ef6\u9020\u6210\u793e\u6703\u5206\u6b67\u7684\u539f\u56e0\n - **\u53c3\u8003\u8cc7\u6599\u8207\u672c\u6587\u5c0d\u7167\uff1a** \u68b3\u7406\u6587\u7ae0\u4e2d\u5f15\u7528\u7684\u8cc7\u6599\u4f86\u6e90\uff0c\u4e26\u5c0d\u7167\u5176\u5728\u6587\u4e2d\u7684\u61c9\u7528\uff0c\u8aaa\u660e\u5982\u4f55\u652f\u6301\u6587\u7ae0\u89c0\u9ede\n - **\u53c3\u8003\u8cc7\u6599\u7684\u5a92\u9ad4\u7acb\u5834\uff1a** \u63d0\u51fa\u4e8b\u4ef6\u5831\u5c0e\u7684\u5a92\u9ad4\u63a1\u7528\u54ea\u7a2e\u7acb\u5834\uff0c\u662f\u5426\u6709\u7279\u5b9a\u7acb\u5834\u7684\u5f71\u97ff\n\n\n\n\n"
}
]
}
},
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"typeVersion": 1.5,
"position": [
-448,
1024
],
"id": "acdedecc-2758-42cd-9505-0ac437ad013a",
"name": "\u751f\u6210\u5c0f\u7bc0"
},
{
"parameters": {
"promptType": "define",
"text": "={{ $json.concatenated_write_prompt_text }}",
"messages": {
"messageValues": [
{
"message": "\u7e3d\u7d50\u91cd\u9ede\uff0c\u7d66\u51fa\u4e00\u500b\u6700\u7d42\u7684\u6a19\u984c(25\u5b57\u5167)\n\n## \u64b0\u5beb\u539f\u5247\uff1a\n- \u6587\u7ae0\u5c07\u88ab\u76f4\u63a5\u7528\u4f5c\u7232\u6a19\u984c\uff0c**\u7981\u6b62\u5305\u542b\u4efb\u4f55\u5c0d\u8a71\u958b\u5834\u3001\u7cfb\u7d71\u8aaa\u660e\u3001\u7522\u88fd\u8aaa\u660e\u6216\u5176\u4ed6\u975e\u6b63\u6587\u5167\u5bb9**\n- \u907f\u514d\u7121\u8b02\u7684\u958b\u5834\u767d\u8207\u7d50\u5c3e\u8a9e\uff0c**\u76f4\u63a5\u5207\u5165\u4e3b\u984c**\n- \u4f7f\u7528**\u7e41\u9ad4\u4e2d\u6587**\uff0c\u63a1\u7528\u53f0\u7063\u4eba\u65e5\u5e38\u53ef\u7406\u89e3\u7684\u7528\u8a9e\uff0c\u907f\u514d\u904e\u5ea6\u5c08\u696d\u8853\u8a9e\n- \u4f5c\u70ba\u6709\u5438\u5f15\u529b\u7684\u90e8\u843d\u683c\u6a19\u984c\uff0c\u5305\u542b\u91cd\u9ede\u5c08\u6709\u540d\u8a5e\uff0c\u4f8b\u5982\u4eba\u4e8b\u7269\u548c\u884c\u70ba\u72c0\u614b\n\n\n\n\n"
}
]
}
},
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"typeVersion": 1.5,
"position": [
1152,
1408
],
"id": "b427bb58-a38b-4182-bdbe-762a20c8b35a",
"name": "\u751f\u6210\u6587\u7ae0\u6a19\u984c"
},
{
"parameters": {
"jsCode": "// \u53d6\u5f97\u8f38\u5165\u6587\u5b57\nconst raw = $json.text ?? $json.content ?? $json.data ?? '';\n\nif (!raw || typeof raw !== 'string') {\n return [{ json: { error: 'No input text found.' } }];\n}\n\n// 1. \u6e05\u7406 Markdown \u6a19\u8a18 (\u79fb\u9664\u958b\u982d\u7684 ```markdown \u548c\u7d50\u5c3e\u7684 ```)\n// \u540c\u6642\u8655\u7406 \\n \u7684\u8f49\u63db (\u8996 n8n \u4e0a\u6e38\u8cc7\u6599\u4f86\u6e90\u800c\u5b9a\uff0c\u6709\u6642\u9700\u8981\uff0c\u6709\u6642\u4e0d\u9700\u8981\uff0c\u9019\u88e1\u4fdd\u7559\u4ee5\u9632\u842c\u4e00)\nlet text = raw.replace(/\\\\n/g, '\\n'); \ntext = text.replace(/^```[a-zA-Z]*\\n?/, '').replace(/\\n?```$/, '').trim();\n\n// 2. \u6839\u64da \"----\" \u9032\u884c\u5207\u5272\n// \u4f7f\u7528 Regex \u517c\u5bb9\u524d\u5f8c\u53ef\u80fd\u6709\u63db\u884c\u6216\u7a7a\u767d\u7684\u60c5\u6cc1\nconst blocks = text\n .split(/\\n\\s*-{4,}\\s*\\n/g)\n .map(b => b.trim())\n .filter(Boolean); // \u904e\u6ffe\u6389\u7a7a\u5b57\u4e32\n\n// 3. \u5b9a\u7fa9\u63d0\u53d6\u5167\u5bb9\u7684 Helper \u51fd\u6578\nfunction getTagValue(block, tagName) {\n // Regex \u89e3\u91cb\uff1a\n // <\u6a19\u7c64\u540d\u7a31> \u63a5\u8457\u4efb\u610f\u7a7a\u767d \\s* \u63a5\u8457\u64f7\u53d6\u5167\u5bb9 (.*) \u76f4\u5230\u884c\u5c3e\n const regex = new RegExp(`<${tagName}>\\\\s*(.*)`);\n const match = block.match(regex);\n return match ? match[1].replace('`','').trim() : null;\n}\n\n// 4. \u89e3\u6790\u6bcf\u4e00\u500b\u5340\u584a\nconst sections = blocks.map((block, idx) => {\n // \u63d0\u53d6\u5404\u6b04\u4f4d\n const title = getTagValue(block, '\u5c0f\u7bc0\u6a19\u984c');\n const summary = getTagValue(block, '\u5c0f\u7bc0\u6458\u8981');\n const coreSentence = getTagValue(block, '\u5c0f\u7bc0\u6838\u5fc3\u53e5\u5b50');\n\n return {\n section_index: idx + 1, // \u81ea\u52d5\u7522\u751f\u5e8f\u865f 1, 2, 3...\n subsection_title: title,\n subsection_summary: summary,\n subsection_core_sentence: coreSentence,\n // \u5982\u679c\u9700\u8981\u4fdd\u7559\u539f\u59cb\u5340\u584a\u5167\u5bb9\u4f9b\u9664\u932f\uff0c\u53ef\u53d6\u6d88\u4e0b\u9762\u8a3b\u89e3\n // raw_block: block \n };\n});\n\n// 5. \u56de\u50b3\u7d50\u679c\n// \u9019\u88e1\u7dad\u6301\u4f60\u539f\u672c\u7684\u7d50\u69cb\uff1a\u56de\u50b3\u300c\u4e00\u7b46\u300d\u8cc7\u6599\uff0c\u88e1\u9762\u5305\u542b sections \u9663\u5217\nreturn [\n {\n json: {\n section_count: sections.length,\n sections: sections,\n }\n }\n];"
},
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
-688,
576
],
"id": "1b54c011-1316-441f-a129-63fceb564ebb",
"name": "\u5207\u5272\u5c0f\u7bc0"
},
{
"parameters": {
"jsCode": "// Loop over input items and add a new field called 'myNewField' to the JSON of each one\nfor (const item of $input.all()) {\n item.json.write_prompt['text'] = item.json.text;\n}\n\nreturn $input.all();"
},
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
416,
1056
],
"id": "302ab4b9-c1a5-47f9-ba5d-d581ac7796f7",
"name": "\u6574\u5408\u8cc7\u6599"
},
{
"parameters": {
"jsCode": "// Loop over input items and add a new field called 'myNewField' to the JSON of each one\n\nlet bodies = \"\";\nfor (const item of $input.all()) {\n bodies+=\"## \"\n bodies+=item.json.write_prompt.subsection_title\n bodies+=\"\\n\\n\"\n bodies+=item.json.write_prompt.text\n bodies+=\"\\n\\n ---- \\n\\n\"\n}\n\nreturn {\n \"post_content\": bodies\n};"
},
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
848,
1056
],
"id": "81e6f713-e118-42d5-aefe-85fbfe2036a9",
"name": "\u7bc0\u9304\u6587\u7ae0\u5167\u5bb9"
},
{
"parameters": {
"promptType": "define",
"text": "={{ $json.post_content }}",
"messages": {
"messageValues": [
{
"message": "\u7cbe\u4fee\u4f7f\u7528\u8005\u7d66\u7684\u90e8\u843d\u683c\u5167\u5bb9\u3002\n\n## \u64b0\u5beb\u539f\u5247\uff1a\n- \u4e0d\u8981\u904e\u591a\u964d\u4f4e\u5b57\u6578\uff0c\u4ee5\u7dad\u6301\u524d\u5f8c\u6587\u7ae0\u6d41\u66a2\u5ea6\u70ba\u6e96\u3002\n- \u907f\u514d\u7121\u8b02\u7684\u958b\u5834\u767d\u8207\u7d50\u5c3e\u8a9e\uff0c**\u76f4\u63a5\u5207\u5165\u4e3b\u984c**\n- \u4f7f\u7528**\u7e41\u9ad4\u4e2d\u6587**\uff0c\u63a1\u7528\u53f0\u7063\u4eba\u65e5\u5e38\u53ef\u7406\u89e3\u7684\u7528\u8a9e\uff0c\u907f\u514d\u904e\u5ea6\u5c08\u696d\u8853\u8a9e\n- \u4e0d\u61c9\u5305\u542b\u5728\u4e0d\u540c\u6bb5\u843d\u4e2d\u91cd\u8907\u6027\u7684\u8cc7\u8a0a\n- \u7dad\u6301markdown\u683c\u5f0f\n\n\n\n\n"
}
]
}
},
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"typeVersion": 1.5,
"position": [
1296,
944
],
"id": "f37e21d0-1c7a-4917-b1b6-143bb245057d",
"name": "\u751f\u6210\u6587\u7ae0\u6a19\u984c1"
},
{
"parameters": {
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "strict",
"version": 3
},
"conditions": [
{
"id": "bd2cbfd8-7b0e-4b05-958b-0a4bad27fb08",
"leftValue": "={{ $json.refs }}",
"rightValue": "",
"operator": {
"type": "array",
"operation": "notEmpty",
"singleValue": true
}
}
],
"combinator": "and"
},
"options": {}
},
"type": "n8n-nodes-base.if",
"typeVersion": 2.3,
"position": [
-1376,
736
],
"id": "9ab7376a-6a28-4b55-be94-9c95bec58710",
"name": "If"
},
{
"parameters": {
"promptType": "define",
"text": "={{ $json.body[0] }}\n",
"messages": {
"messageValues": [
{
"message": "# Role: \u8cc7\u6df1\u79d1\u6280\u8da8\u52e2\u8207\u793e\u6703\u89c0\u5bdf\u5bb6\n\n\u8acb\u95b1\u8b80\u63d0\u4f9b\u7684[\u79d1\u6280\u65b0\u805e\u6587\u672c]\uff0c\u4e26\u5206\u70ba\u300c\u6280\u8853\u4e8b\u5be6\u6458\u8981\u300d\u8207\u300c\u793e\u6703\u5f71\u97ff\u8a55\u4f30\u300d\u5169\u500b\u968e\u6bb5\u9032\u884c\u8f38\u51fa\u3002\n\n## \u7b2c\u4e00\u968e\u6bb5\uff1a\u53bb\u884c\u92b7\u5316\u8207\u4e8b\u5be6\u6458\u8981\n\u8acb\u5c4f\u9664\u539f\u6587\u4e2d\u7684\u300c\u884c\u92b7\u8a71\u8853\u300d\u3001\u300c\u8a87\u98fe\u5f62\u5bb9\u300d\uff08\u5982\uff1a\u53f2\u7121\u524d\u4f8b\u3001\u9707\u64bc\u5f48\u3001\u6551\u661f\uff09\u8207\u300c\u672a\u7d93\u8b49\u5be6\u7684\u9858\u666f\u300d\uff0c\u50c5\u91dd\u5c0d**\u73fe\u968e\u6bb5\u5df2\u78ba\u8a8d\u7684\u6280\u8853\u8207\u4e8b\u5be6**\u9032\u884c\u6fc3\u7e2e\uff08\u7d04 300-500 \u5b57\uff09\u3002\n*\u6ce8\u610f\uff1a\u6b64\u90e8\u5206\u8acb\u904e\u6ffe\u6389\u5546\u696d\u7092\u4f5c\uff0c\u9084\u539f\u6280\u8853\u672c\u8cea\u3002*\n\n* **\u6838\u5fc3\u6280\u8853 (What)\uff1a** \u5177\u9ad4\u767c\u8868\u4e86\u4ec0\u9ebc\u7522\u54c1\u3001\u7b97\u6cd5\u6216\u653f\u7b56\uff1f\n* **\u95dc\u9375\u7a81\u7834 (How)\uff1a** \u8207\u904e\u53bb\u6280\u8853\u76f8\u6bd4\uff0c\u5177\u9ad4\u7684\u5dee\u7570\u6216\u6539\u9032\u6a5f\u5236\u70ba\u4f55\uff1f\n* **\u61c9\u7528\u5834\u666f (Where/When)\uff1a** \u9810\u8a08\u4f55\u6642\u843d\u5730\uff1f\u61c9\u7528\u65bc\u54ea\u4e9b\u9818\u57df\uff1f\n* **\u4e3b\u5c0e\u8005 (Who)\uff1a** \u54ea\u5bb6\u516c\u53f8\u6216\u6a5f\u69cb\uff1f\n\n## \u7b2c\u4e8c\u968e\u6bb5\uff1a\u793e\u6703\u5f71\u97ff\u529b\u8207\u502b\u7406\u8a55\u4f30\n\u8acb\u8df3\u812b\u6280\u8853\u5d07\u62dc\uff0c\u6539\u4ee5\u300c\u4eba\u6587\u8207\u793e\u6703\u8996\u89d2\u300d\u6279\u5224\u6027\u5206\u6790\u6b64\u65b0\u805e\u3002**\u7686\u5fc5\u9808\u5f15\u7528\u539f\u6587\u7247\u6bb5**\u4f5c\u70ba\u4f50\u8b49\uff0c\u4e26\u63a2\u8a0e\u5176\u6f5b\u5728\u7684\u6f23\u6f2a\u6548\u61c9\u3002\n\n### 1. \u5f71\u97ff\u529b\u7e3d\u9ad4\u5b9a\u8abf\n\u7d66\u51fa\u4e00\u500b\u660e\u78ba\u7684\u5224\u65b7\uff08\u5982\uff1a\u7834\u58de\u5f0f\u5275\u65b0 / \u7522\u696d\u5347\u7d1a / \u96d9\u9762\u5203 / \u7092\u4f5c\u5927\u65bc\u5be6\u8cea / \u6f5b\u5728\u502b\u7406\u98a8\u96aa\uff09\uff0c\u4e26\u7c21\u8ff0\u539f\u56e0\u3002\n\n### 2. \u95dc\u9375\u5f71\u97ff\u5206\u6790\uff08\u8209\u8b49\uff09\n\u8acb\u6311\u9078 3-5 \u500b\u95dc\u9375\u53e5\u6216\u6bb5\u843d\uff0c\u91dd\u5c0d**\u300c\u52de\u52d5\u5c31\u696d\u3001\u96b1\u79c1\u6b0a\u5229\u3001\u8ca7\u5bcc\u5dee\u8ddd\u3001\u4eba\u985e\u884c\u70ba\u3001\u74b0\u5883\u6c38\u7e8c\u300d**\u7b49\u9762\u5411\u9032\u884c\u5256\u6790\uff1a\n\n* **\u300c\uff08\u5728\u6b64\u653e\u5165\u539f\u6587\u7247\u6bb5\uff09\u300d**\n * **\u3010\u6d89\u53ca\u5c64\u9762\u3011\uff1a** \uff08\u4f8b\u5982\uff1a\u81ea\u52d5\u5316\u53d6\u4ee3\u4eba\u529b\u3001\u6578\u64da\u96b1\u79c1\u96b1\u6182\u3001\u6578\u4f4d\u843d\u5dee\u3001\u6ce8\u610f\u529b\u7d93\u6fdf...\uff09\n * **\u3010\u793e\u6703\u885d\u64ca\u5206\u6790\u3011\uff1a** \u5982\u679c\u9019\u9805\u6280\u8853\u666e\u53ca\uff0c\u5c0d\u793e\u6703\u7d50\u69cb\u6216\u7279\u5b9a\u65cf\u7fa4\uff08\u8d0f\u5bb6\u8207\u8f38\u5bb6\uff09\u6703\u9020\u6210\u4ec0\u9ebc\u5177\u9ad4\u6539\u8b8a\uff1f\u662f\u8ce6\u80fd\u9084\u662f\u525d\u524a\uff1f\n\n### 3. \u76f2\u9ede\u8207\u53cd\u601d\n\u91dd\u5c0d\u6587\u4e2d**\u300c\u672a\u63d0\u53ca\u300d**\u6216**\u300c\u8f15\u63cf\u6de1\u5beb\u300d**\u7684\u6f5b\u5728\u98a8\u96aa\u9032\u884c\u88dc\u5145\u3002\uff08\u4f8b\u5982\uff1a\u65b0\u805e\u53ea\u63d0\u6548\u7387\u63d0\u5347\uff0c\u537b\u672a\u63d0\u80fd\u6e90\u6d88\u8017\uff1b\u53ea\u63d0\u4fbf\u5229\u6027\uff0c\u537b\u672a\u63d0\u500b\u8cc7\u8b93\u6e21\uff09\u3002\n\n## \u64b0\u5beb\u898f\u7bc4\n- **\u8a9e\u8a00\uff1a** \u7e41\u9ad4\u4e2d\u6587"
}
]
}
},
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"typeVersion": 1.5,
"position": [
-1168,
1344
],
"id": "4546ee5c-a0ce-4131-a41b-c7f1d8842493",
"name": "\u751f\u6210\u5feb\u8a0a"
},
{
"parameters": {
"title": "=[\u5a92\u9ad4\u6aa2\u6838] {{ $json[\"\u6a19\u984c\"] }}",
"additionalFields": {
"content": "={{ $json.text }}\n\n\n\n### \u53c3\u8003\u95b1\u8b80\n[{{ $json['\u6a19\u984c'] }},{{ $json['\u4f86\u6e90\u8207\u6642\u9593'] }}]({{ $json['\u9023\u7d50'] }})",
"status": "publish",
"categories": [
3,
10,
9
],
"tags": "={{ [$json.id] }}"
}
},
"type": "n8n-nodes-base.wordpress",
"typeVersion": 1,
"position": [
992,
1792
],
"id": "0c395a93-69ee-4372-80c0-9602b074b16a",
"name": "Wordpress2",
"alwaysOutputData": true,
"executeOnce": true,
"retryOnFail": false,
"credentials": {
"wordpressApi": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"mode": "combine",
"combineBy": "combineByPosition",
"options": {}
},
"type": "n8n-nodes-base.merge",
"typeVersion": 3.2,
"position": [
-640,
1264
],
"id": "f432edfd-2474-4f4a-aaea-a9d4705dce7a",
"name": "Merge3"
},
{
"parameters": {
"method": "POST",
"url": "=https://news.lazyinwork.com/wp-json/wp/v2/tags",
"authentication": "predefinedCredentialType",
"nodeCredentialType": "wordpressApi",
"sendBody": true,
"bodyParameters": {
"parameters": [
{
"name": "=name",
"value": "={{ $json[\"\u4f86\u6e90\u8207\u6642\u9593\"].split(\" \")[0] }}"
}
]
},
"options": {}
},
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
-96,
1712
],
"id": "2b870510-5192-424d-ad01-868b3c7f66ef",
"name": "WP new tag",
"alwaysOutputData": true,
"credentials": {
"wordpressApi": {
"name": "<your credential>"
}
},
"onError": "continueRegularOutput"
},
{
"parameters": {
"url": "=https://news.lazyinwork.com/wp-json/wp/v2/tags?search={{ $('Merge3').item.json[\"\u4f86\u6e90\u8207\u6642\u9593\"].split(\" \")[0] }}",
"authentication": "predefinedCredentialType",
"nodeCredentialType": "wordpressApi",
"options": {}
},
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
128,
1776
],
"id": "717cc458-f360-430a-887e-22164b70b175",
"name": "WP tags",
"alwaysOutputData": false,
"credentials": {
"wordpressApi": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"mode": "combine",
"combineBy": "combineByPosition",
"options": {}
},
"type": "n8n-nodes-base.merge",
"typeVersion": 3.2,
"position": [
480,
1776
],
"id": "9b5fc36a-e666-4013-8244-f34a45167703",
"name": "Merge4"
},
{
"parameters": {
"title": "=[\u79d1\u6280\u5947\u9ede]{{ $json.title }}",
"additionalFields": {
"authorId": 3,
"content": "={{ $json.text }}\n\n\n\n### \u53c3\u8003\u95b1\u8b80\n[{{ $json['\u6a19\u984c'] }},{{ $json['\u4f86\u6e90\u8207\u6642\u9593'] }}]({{ $json['\u9023\u7d50'] }})\n[{{ $json.refs[0].title }}, {{ $json.refs[0].source }}]({{$json.refs[0].link}})\n[{{ $json.refs[1].title }}, {{ $json.refs[1].source }}]({{$json.refs[1].link}})\n[{{ $json.refs[2].title }}, {{ $json.refs[2].source }}]({{$json.refs[2].link}})",
"status": "publish",
"categories": [
165,
164,
196
],
"tags": [
176,
180
]
}
},
"type": "n8n-nodes-base.wordpress",
"typeVersion": 1,
"position": [
2448,
1472
],
"id": "eaa8f615-995f-41fe-bd3d-7c35a5b4fdab",
"name": "Wordpress1",
"alwaysOutputData": true,
"executeOnce": true,
"retryOnFail": false,
"credentials": {
"wordpressApi": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"title": "=[\u79d1\u6280\u5feb\u8a0a]{{ $json[\"\u6a19\u984c\"] }}",
"additionalFields": {
"authorId": 3,
"content": "={{ $json.text }}\n\n\n\n### \u53c3\u8003\u95b1\u8b80\n[{{ $json['\u6a19\u984c'] }},{{ $json['\u4f86\u6e90\u8207\u6642\u9593'] }}]({{ $json['\u9023\u7d50'] }})",
"status": "publish",
"categories": [
165,
164,
196
],
"tags": [
176,
180
]
}
},
"type": "n8n-nodes-base.wordpress",
"typeVersion": 1,
"position": [
736,
1792
],
"id": "57223934-ec56-4b52-8243-9b9d21b61f33",
"name": "Wordpress3",
"alwaysOutputData": true,
"executeOnce": true,
"retryOnFail": false,
"credentials": {
"wordpressApi": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"assignments": {
"assignments": [
{
"id": "3ecaa424-d4f5-431c-8df3-03313ad9fdd5",
"name": "url",
"value": "https://tw.news.yahoo.com/technology/archive",
"type": "string"
}
]
},
"options": {}
},
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
-1808,
720
],
"id": "1481540a-f370-4e5b-8711-960e0f38ea81",
"name": "\u79d1\u6280\u4e3b\u984c"
}
],
"connections": {
"When clicking \u2018Test workflow\u2019": {
"main": [
[
{
"node": "\u79d1\u6280\u4e3b\u984c",
"type": "main",
"index": 0
}
]
]
},
"Wordpress": {
"main": [
[]
]
},
"Schedule Trigger1": {
"main": [
[
{
"node": "\u79d1\u6280\u4e3b\u984c",
"type": "main",
"index": 0
}
]
]
},
"Call 'Research by Yahoo News'": {
"main": [
[
{
"node": "If",
"type": "main",
"index": 0
}
]
]
},
"Google Gemini Chat Model1": {
"ai_languageModel": [
[
{
"node": "\u751f\u6210\u5c0f\u7bc0",
"type": "ai_languageModel",
"index": 0
},
{
"node": "\u751f\u6210\u6587\u7ae0\u6a19\u984c",
"type": "ai_languageModel",
"index": 0
},
{
"node": "\u751f\u6210\u6587\u7ae0\u7de8\u8f2f\u898f\u5283",
"type": "ai_languageModel",
"index": 0
},
{
"node": "\u751f\u6210\u6587\u7ae0\u6a19\u984c1",
"type": "ai_languageModel",
"index": 0
},
{
"node": "\u751f\u6210\u5feb\u8a0a",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"\u751f\u6210\u6587\u7ae0\u7de8\u8f2f\u898f\u5283": {
"main": [
[
{
"node": "\u5207\u5272\u5c0f\u7bc0",
"type": "main",
"index": 0
}
]
]
},
"Merge": {
"main": [
[
{
"node": "\u751f\u6210\u5c0f\u7bc0",
"type": "main",
"index": 0
}
]
]
},
"Split Out": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 0
},
{
"node": "Merge2",
"type": "main",
"index": 0
}
]
]
},
"rename": {
"main": [
[
{
"node": "Merge1",
"type": "main",
"index": 0
}
]
]
},
"Merge1": {
"main": [
[
{
"node": "Wordpress1",
"type": "main",
"index": 0
}
]
]
},
"Merge2": {
"main": [
[
{
"node": "\u6574\u5408\u8cc7\u6599",
"type": "main",
"index": 0
}
]
]
},
"Summarize": {
"main": [
[
{
"node": "\u751f\u6210\u6587\u7ae0\u6a19\u984c",
"type": "main",
"index": 0
}
]
]
},
"\u751f\u6210\u5c0f\u7bc0": {
"main": [
[
{
"node": "Merge2",
"type": "main",
"index": 1
}
]
]
},
"\u751f\u6210\u6587\u7ae0\u6a19\u984c": {
"main": [
[
{
"node": "rename",
"type": "main",
"index": 0
}
]
]
},
"\u5207\u5272\u5c0f\u7bc0": {
"main": [
[
{
"node": "Split Out",
"type": "main",
"index": 0
}
]
]
},
"\u6574\u5408\u8cc7\u6599": {
"main": [
[
{
"node": "Summarize",
"type": "main",
"index": 0
},
{
"node": "\u7bc0\u9304\u6587\u7ae0\u5167\u5bb9",
"type": "main",
"index": 0
}
]
]
},
"\u7bc0\u9304\u6587\u7ae0\u5167\u5bb9": {
"main": [
[
{
"node": "\u751f\u6210\u6587\u7ae0\u6a19\u984c1",
"type": "main",
"index": 0
}
]
]
},
"\u751f\u6210\u6587\u7ae0\u6a19\u984c1": {
"main": [
[
{
"node": "Merge1",
"type": "main",
"index": 1
}
]
]
},
"If": {
"main": [
[
{
"node": "\u751f\u6210\u6587\u7ae0\u7de8\u8f2f\u898f\u5283",
"type": "main",
"index": 0
},
{
"node": "Merge",
"type": "main",
"index": 1
},
{
"node": "Merge1",
"type": "main",
"index": 2
}
],
[
{
"node": "\u751f\u6210\u5feb\u8a0a",
"type": "main",
"index": 0
},
{
"node": "Merge3",
"type": "main",
"index": 1
}
]
]
},
"Merge3": {
"main": [
[
{
"node": "WP new tag",
"type": "main",
"index": 0
},
{
"node": "Merge4",
"type": "main",
"index": 0
}
]
]
},
"\u751f\u6210\u5feb\u8a0a": {
"main": [
[
{
"node": "Merge3",
"type": "main",
"index": 0
}
]
]
},
"WP new tag": {
"main": [
[
{
"node": "WP tags",
"type": "main",
"index": 0
}
]
]
},
"Merge4": {
"main": [
[
{
"node": "Wordpress3",
"type": "main",
"index": 0
}
]
]
},
"WP tags": {
"main": [
[
{
"node": "Merge4",
"type": "main",
"index": 1
}
]
]
},
"\u79d1\u6280\u4e3b\u984c": {
"main": [
[
{
"node": "Call 'Research by Yahoo News'",
"type": "main",
"index": 0
}
]
]
}
},
"active": true,
"settings": {
"executionOrder": "v1",
"timezone": "Asia/Taipei",
"callerPolicy": "workflowsFromSameOwner",
"availableInMCP": false
},
"versionId": "48d166a7-3a03-459f-80ae-4122aa5ce4aa",
"id": "bAKdHhllt7ipOC7e",
"tags": [
{
"updatedAt": "2026-01-28T23:51:21.198Z",
"createdAt": "2026-01-28T23:51:21.198Z",
"id": "M0wzhSiISiHO0YEE",
"name": "on"
},
{
"updatedAt": "2026-01-28T23:53:24.776Z",
"createdAt": "2026-01-28T23:53:24.776Z",
"id": "i2Tl9Kfrr4XMbmVa",
"name": "lazyinwork.com"
},
{
"updatedAt": "2026-01-28T23:53:45.491Z",
"createdAt": "2026-01-28T23:53:45.491Z",
"id": "4wpVoVZYGyYW6Iq2",
"name": "yahoo news"
}
]
}
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.
googlePalmApiwordpressApi
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
One News 科技新聞. Uses wordpress, lmChatGoogleGemini, chainLlm, httpRequest. Event-driven trigger; 29 nodes.
Source: https://github.com/Chunshan-Theta/n8n-article-flow/blob/77322f15de7faa1cb6f95da428811a10142dfa50/n8n-flow-template.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.
Starstazing. Uses httpRequest, lmChatGoogleGemini, wordpress, chainLlm. Event-driven trigger; 37 nodes.
movie. Uses readWriteFile, lmChatGoogleGemini, chainLlm, wordpress. Event-driven trigger; 32 nodes.
The best content automation in the market! This advanced workflow not only creates and publishes SEO-optimized blog posts to your WordPress website but also backs up all content and images to a design
WP. Uses openAi, outputParserStructured, chainLlm, httpRequest. Event-driven trigger; 63 nodes.
This template is ideal for creators, bloggers, and automation enthusiasts who want to auto-generate blog posts from AI-generated content — without lifting a finger. Whether you're running a tech blog,