This workflow follows the Agent → Outputparserstructured 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": "FOTD",
"nodes": [
{
"parameters": {},
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [
-16,
-160
],
"id": "62e9fa02-e6fe-45fb-bc1b-0acdd9c7c934",
"name": "When clicking \u2018Execute workflow\u2019"
},
{
"parameters": {
"jsonSchemaExample": "{\n \"urgent_important\": [\n {\n \"task\": \"\u63d0\u4ea4\u62a5\u544a\"\n }\n ],\n \"not_urgent_important\": [\n {\n \"task\": \"\u5b66\u4e60\u65b0\u6280\u80fd\"\n }\n ],\n \"urgent_not_important\": [\n {\n \"task\": \"\u56de\u590d\u5ba2\u6237\u90ae\u4ef6\"\n }\n ],\n \"not_urgent_not_important\": [\n {\n \"task\": \"\u6574\u7406\u684c\u9762\"\n }\n ]\n}\n",
"autoFix": true
},
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"typeVersion": 1.3,
"position": [
1104,
160
],
"id": "9e1a3014-38b0-4208-80d9-a8fc6b54a56f",
"name": "Structured Output Parser"
},
{
"parameters": {
"jsonSchemaExample": "[\n { \"task\": \"\u63d0\u4ea4\u62a5\u544a\" },\n { \"task\": \"\u56de\u590d\u5ba2\u6237\u90ae\u4ef6\" },\n { \"task\": \"\u5b66\u4e60\u65b0\u6280\u80fd\" },\n { \"task\": \"\u6574\u7406\u684c\u9762\" }\n]",
"autoFix": true
},
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"typeVersion": 1.3,
"position": [
736,
160
],
"id": "debce723-bb79-4957-af2b-8be9cd4c9046",
"name": "Structured Output Parser1"
},
{
"parameters": {
"assignments": {
"assignments": [
{
"id": "023313d2-929b-4a51-b5fe-293f5597b301",
"name": "user_input",
"value": "\u5b8c\u4e86\u5b8c\u4e86\uff0c\u611f\u89c9\u8981\u6302\u79d1\u4e86\uff01\u540e\u5929\u8981\u8003\u5fae\u89c2\u7ecf\u6d4e\u5b66\uff0c\u7b14\u8bb0\u8fd8\u6ca1\u6574\u7406\u5b8c\u3002\u660e\u5929\u662f\u5c0f\u7ec4\u5c55\u793a\u7684\u622a\u6b62\u65e5\u671f\uff0cPPT\u624d\u505a\u4e86\u4e00\u534a\u3002\u5b66\u751f\u4f1a\u529e\u7684\u8bb2\u5ea7\u4eca\u665a\u5c31\u8981\u5f00\u59cb\u4e86\uff0c\u573a\u5730\u5e03\u7f6e\u8fd8\u6ca1\u5f04\u3002\u5bfc\u5e08\u50ac\u7684\u8bba\u6587\u5f00\u9898\u62a5\u544a\u8fd9\u5468\u5fc5\u987b\u4ea4\u3002 \u751f\u6d3b\u4e0a\u4e5f\u662f\u4e00\u56e2\u9ebb\uff0c\u5bbf\u820d\u810f\u5f97\u6ca1\u6cd5\u770b\u4e86\uff0c\u8be5\u6d17\u7684\u8863\u670d\u5806\u6210\u4e86\u5c71\u3002\u7238\u5988\u6253\u7535\u8bdd\u4e00\u76f4\u6ca1\u56de\uff0c\u597d\u670b\u53cb\u751f\u65e5\u4e5f\u5feb\u5fd8\u4e86\u3002\u8fd8\u60f3\u5237\u4e00\u4e0b\u5b9e\u4e60\u62db\u8058\u4fe1\u606f\uff0c\u4f46\u6839\u672c\u6ca1\u65f6\u95f4\u3002\u5feb\u5e2e\u6211\u770b\u770b\uff0c\u6211\u8be5\u600e\u4e48\u5b89\u6392\u8fd9\u6709\u9650\u768424\u5c0f\u65f6\uff0c\u54ea\u4e9b\u662f\u751f\u6b7b\u7ebf\uff0c\u54ea\u4e9b\u53ef\u4ee5\u7a0d\u5fae\u653e\u653e\uff1f",
"type": "string"
}
]
},
"options": {}
},
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
208,
-160
],
"id": "e79c5a68-7ea3-4378-8038-68d3117d85c8",
"name": "User Input Example"
},
{
"parameters": {
"promptType": "define",
"text": "={\n \"role\": \"\u4efb\u52a1\u5206\u7c7b\u52a9\u624b\",\n \"profile\": {\n \"author\": \"ChatGPT\",\n \"version\": \"1.0\",\n \"language\": \"\u4e2d\u6587\",\n \"description\": \"\u4efb\u52a1\u5206\u7c7b\u52a9\u624b\u80fd\u591f\u6839\u636e\u4efb\u52a1\u5185\u5bb9\u81ea\u52a8\u5224\u65ad\u4efb\u52a1\u7684\u7d27\u6025\u6027\u548c\u91cd\u8981\u6027\uff0c\u5e76\u6839\u636e\u5224\u65ad\u7ed3\u679c\u5c06\u4efb\u52a1\u5206\u7c7b\u5230\u56db\u4e2a\u8c61\u9650\u3002\u8f93\u51fa\u4e3a\u7ed3\u6784\u5316\u7684 JSON \u683c\u5f0f\uff0c\u5e2e\u52a9\u7528\u6237\u9ad8\u6548\u5730\u7ba1\u7406\u4efb\u52a1\u3002\"\n },\n \"skills\": [\n {\n \"name\": \"\u4efb\u52a1\u5206\u7c7b\u4e0e\u63a8\u7406\",\n \"description\": \"\u6839\u636e\u7528\u6237\u8f93\u5165\u7684\u4efb\u52a1\u5217\u8868\uff0c\u901a\u8fc7\u4efb\u52a1\u5185\u5bb9\u63a8\u7406\u51fa\u4efb\u52a1\u7684\u7d27\u6025\u6027 (urgent) \u548c\u91cd\u8981\u6027 (important)\uff0c\u7136\u540e\u6309\u7167\u4ee5\u4e0b\u6807\u51c6\u8fdb\u884c\u5206\u7c7b\uff1a\\n\\n- \u7d27\u6025\u4e14\u91cd\u8981\uff1a\u4efb\u52a1\u9700\u8981\u7acb\u5373\u5b8c\u6210\u4e14\u5bf9\u76ee\u6807\u6216\u957f\u671f\u53d1\u5c55\u81f3\u5173\u91cd\u8981\u3002\\n- \u4e0d\u7d27\u6025\u4f46\u91cd\u8981\uff1a\u4efb\u52a1\u5bf9\u76ee\u6807\u6216\u957f\u671f\u53d1\u5c55\u91cd\u8981\uff0c\u4f46\u53ef\u4ee5\u5ef6\u540e\u5b8c\u6210\u3002\\n- \u7d27\u6025\u4f46\u4e0d\u91cd\u8981\uff1a\u4efb\u52a1\u9700\u8981\u7acb\u5373\u5b8c\u6210\uff0c\u4f46\u5bf9\u76ee\u6807\u7684\u957f\u671f\u5f71\u54cd\u8f83\u5c0f\u3002\\n- \u4e0d\u7d27\u6025\u4e0d\u91cd\u8981\uff1a\u4efb\u52a1\u65e2\u4e0d\u7d27\u6025\u4e5f\u4e0d\u91cd\u8981\uff0c\u5f71\u54cd\u8f83\u5c0f\u6216\u53ef\u5ffd\u7565\u3002\",\n \"expected_output\": \"\u6839\u636e\u4efb\u52a1\u5185\u5bb9\u81ea\u52a8\u5224\u65ad\u6bcf\u4e2a\u4efb\u52a1\u7684\u7d27\u6025\u6027\u548c\u91cd\u8981\u6027\uff0c\u5e76\u6309\u56db\u8c61\u9650\u5206\u7c7b\u3002\u8f93\u51fa\u5206\u7c7b\u540e\u7684\u7ed3\u679c\uff0c\u4ee5\u7ed3\u6784\u5316\u7684 JSON \u683c\u5f0f\u8fd4\u56de\u3002\"\n }\n ],\n \"rules\": [\n \"\u4efb\u52a1\u5224\u65ad\u6807\u51c6\uff1a\u5bf9\u6bcf\u4e2a\u4efb\u52a1\u8fdb\u884c\u63a8\u7406\u65f6\uff0c\u5fc5\u987b\u6839\u636e\u4efb\u52a1\u7684\u5185\u5bb9\u3001\u6240\u9700\u5b8c\u6210\u7684\u65f6\u95f4\u548c\u4efb\u52a1\u7684\u957f\u671f\u4ef7\u503c\u6765\u786e\u5b9a\u4efb\u52a1\u7684\u2018\u7d27\u6025\u6027\u2019\u548c\u2018\u91cd\u8981\u6027\u2019\u3002\",\n \"\u4fdd\u6301\u4e00\u81f4\u6027\uff1a\u8f93\u51fa\u5fc5\u987b\u7b26\u5408\u56db\u8c61\u9650\u5206\u7c7b\u6807\u51c6\uff0c\u6bcf\u4e2a\u4efb\u52a1\u5fc5\u987b\u6709\u660e\u786e\u7684\u5206\u7c7b\u3002\",\n \"\u907f\u514d\u9519\u8bef\u5224\u65ad\uff1a\u4e0d\u5f97\u51ed\u7a7a\u63a8\u6d4b\u4efb\u52a1\u7684\u7279\u6027\uff0c\u6240\u6709\u5206\u7c7b\u5fc5\u987b\u57fa\u4e8e\u5408\u7406\u7684\u63a8\u7406\u3002\"\n ],\n \"workflow\": [\n \"\u5206\u6790\u7528\u6237\u8f93\u5165\u5e76\u8bc6\u522b\u4efb\u52a1\u5185\u5bb9\uff1a\u63a5\u6536\u7528\u6237\u8f93\u5165\u7684\u4efb\u52a1\u5217\u8868\uff0c\u4efb\u52a1\u4ec5\u5305\u542b\u4efb\u52a1\u63cf\u8ff0\u3002\",\n \"\u6839\u636e\u4efb\u52a1\u5185\u5bb9\u63a8\u7406\u7d27\u6025\u6027\u548c\u91cd\u8981\u6027\uff1a\u901a\u8fc7\u4efb\u52a1\u63cf\u8ff0\uff0c\u5224\u65ad\u6bcf\u4e2a\u4efb\u52a1\u662f\u5426\u7d27\u6025\u4e14\u91cd\u8981\u3002\",\n \"\u5e94\u7528\u5206\u7c7b\u89c4\u5219\uff1a\u6839\u636e\u63a8\u7406\u51fa\u7684\u7d27\u6025\u6027\u548c\u91cd\u8981\u6027\uff0c\u5c06\u4efb\u52a1\u5212\u5206\u5230\u56db\u4e2a\u8c61\u9650\u3002\",\n \"\u8fd4\u56de\u7ed3\u6784\u5316\u8f93\u51fa\uff1a\u5c06\u5206\u7c7b\u7ed3\u679c\u8fd4\u56de\u4e3a JSON \u683c\u5f0f\uff0c\u7ed3\u6784\u5316\u5c55\u793a\u56db\u4e2a\u8c61\u9650\u7684\u4efb\u52a1\u3002\"\n ],\n \"example\": {\n \"input\": [\n { \"task\": \"\u63d0\u4ea4\u62a5\u544a\" },\n { \"task\": \"\u56de\u590d\u5ba2\u6237\u90ae\u4ef6\" },\n { \"task\": \"\u5b66\u4e60\u65b0\u6280\u80fd\" },\n { \"task\": \"\u6574\u7406\u684c\u9762\" }\n ],\n \"output\": {\n \"urgent_important\": [{ \"task\": \"\u63d0\u4ea4\u62a5\u544a\" }],\n \"not_urgent_important\": [{ \"task\": \"\u5b66\u4e60\u65b0\u6280\u80fd\" }],\n \"urgent_not_important\": [{ \"task\": \"\u56de\u590d\u5ba2\u6237\u90ae\u4ef6\" }],\n \"not_urgent_not_important\": [{ \"task\": \"\u6574\u7406\u684c\u9762\" }]\n }\n },\n \"input_data\": [\n {\n \"tasks\": {{ $json.toJsonString() }}\n }\n ]\n}\n",
"hasOutputParser": true,
"options": {}
},
"type": "@n8n/n8n-nodes-langchain.agent",
"typeVersion": 3,
"position": [
1120,
-64
],
"id": "28da3c61-e54b-43f0-97ef-e9926ba5aede",
"name": "Task Classifier"
},
{
"parameters": {
"promptType": "define",
"text": "={\n \"role\": \"\u9ad8\u6548\u4efb\u52a1\u5904\u7406\u52a9\u624b\",\n \"profile\": {\n \"author\": \"AI Assistant\",\n \"version\": \"1.0\",\n \"language\": \"\u4e2d\u6587\",\n \"description\": \"\u4e13\u6ce8\u4e8e\u4ece\u81ea\u7136\u8bed\u8a00\u4e2d\u63d0\u53d6\u548c\u6807\u51c6\u5316\u4efb\u52a1\u9879\uff0c\u5e76\u8f93\u51fa\u7ed3\u6784\u5316JSON\u6570\u636e\"\n },\n \"goal\": {\n \"outcome\": \"\u5c06\u7528\u6237\u6742\u4e71\u7684\u4efb\u52a1\u63cf\u8ff0\u8f6c\u6362\u4e3a\u6807\u51c6\u5316\u7684JSON\u4efb\u52a1\u5217\u8868\",\n \"done_criteria\": [\n \"\u5b8c\u6574\u63d0\u53d6\u7528\u6237\u63d0\u5230\u7684\u6240\u6709\u4efb\u52a1\u9879\",\n \"\u6bcf\u4e2a\u4efb\u52a1\u9879\u90fd\u89c4\u8303\u4e3a\u7b80\u7ec3\u7684\u52a8\u8bcd\u77ed\u8bed\",\n \"\u8f93\u51fa\u683c\u5f0f\u6b63\u786e\u7684JSON\u6570\u7ec4\"\n ],\n \"non_goals\": [\n \"\u4e0d\u8fdb\u884c\u4efb\u52a1\u4f18\u5148\u7ea7\u6392\u5e8f\",\n \"\u4e0d\u5bf9\u4efb\u52a1\u8fdb\u884c\u5206\u7c7b\",\n \"\u4e0d\u63d0\u4f9b\u989d\u5916\u5efa\u8bae\u548c\u5206\u6790\"\n ]\n },\n \"skills\": {\n \"\u4efb\u52a1\u8bc6\u522b\": [\n \"\u4ece\u81ea\u7136\u8bed\u8a00\u4e2d\u7cbe\u51c6\u8bc6\u522b\u72ec\u7acb\u4efb\u52a1\u9879\",\n \"\u5904\u7406\u53e3\u8bed\u5316\u3001\u788e\u7247\u5316\u7684\u4efb\u52a1\u63cf\u8ff0\"\n ],\n \"\u6587\u672c\u6807\u51c6\u5316\": [\n \"\u5c06\u4efb\u52a1\u63cf\u8ff0\u7edf\u4e00\u4e3a'\u52a8\u8bcd+\u5bbe\u8bed'\u7684\u7b80\u6d01\u683c\u5f0f\",\n \"\u4fdd\u6301\u4efb\u52a1\u539f\u610f\u4e0d\u53d8\"\n ],\n \"\u6570\u636e\u683c\u5f0f\u5316\": [\n \"\u6784\u5efa\u6807\u51c6\u7684JSON\u6570\u7ec4\u7ed3\u6784\",\n \"\u786e\u4fdd\u8f93\u51fa\u7b26\u5408JSON\u8bed\u6cd5\u89c4\u8303\"\n ]\n },\n \"rules\": [\n \"\u53ea\u8f93\u51faJSON\u683c\u5f0f\u7ed3\u679c\uff0c\u4e0d\u6dfb\u52a0\u4efb\u4f55\u989d\u5916\u6587\u5b57\",\n \"\u5fc5\u987b\u5305\u542b\u7528\u6237\u63d0\u5230\u7684\u6240\u6709\u4efb\u52a1\u9879\",\n \"\u4e0d\u4fee\u6539\u4efb\u52a1\u7684\u539f\u610f\u548c\u8303\u56f4\",\n \"\u4e0d\u81ea\u884c\u6dfb\u52a0\u6216\u5220\u9664\u4efb\u52a1\"\n ],\n \"workflow\": [\n \"\u5206\u6790\u7528\u6237\u8f93\u5165\uff0c\u8bc6\u522b\u6240\u6709\u4efb\u52a1\u63d0\u53ca\",\n \"\u5c06\u6bcf\u4e2a\u4efb\u52a1\u6807\u51c6\u5316\u4e3a\u7b80\u6d01\u7684\u52a8\u8bcd\u77ed\u8bed\",\n \"\u6784\u5efa\u5305\u542b'task'\u952e\u503c\u5bf9\u7684JSON\u5bf9\u8c61\u6570\u7ec4\",\n \"\u9a8c\u8bc1JSON\u683c\u5f0f\u6b63\u786e\u6027\u548c\u4efb\u52a1\u5b8c\u6574\u6027\",\n \"\u8f93\u51fa\u6700\u7ec8JSON\u7ed3\u679c\"\n ],\n \"examples\": {\n \"input\": \"\u6211\u8981\u5b8c\u6210\u9884\u7b97\u62a5\u544a\uff0c\u8fd8\u8981\u53c2\u52a0\u4f8b\u4f1a\uff0c\u8bb0\u5f97\u5065\u8eab\",\n \"output\": [\n {\"task\": \"\u5b8c\u6210\u9884\u7b97\u62a5\u544a\"},\n {\"task\": \"\u53c2\u52a0\u4f8b\u4f1a\"},\n {\"task\": \"\u5065\u8eab\"}\n ]\n },\n \"user_input\": \"{{ $json.voiceText }}\"\n}",
"hasOutputParser": true,
"options": {}
},
"type": "@n8n/n8n-nodes-langchain.agent",
"typeVersion": 3,
"position": [
656,
-64
],
"id": "48b54d61-586b-41e0-87c9-199f665b805a",
"name": "Task List Generator"
},
{
"parameters": {
"httpMethod": "POST",
"path": "fotd",
"responseMode": "responseNode",
"options": {}
},
"type": "n8n-nodes-base.webhook",
"typeVersion": 2.1,
"position": [
208,
32
],
"id": "09c412cd-9a24-4e24-87aa-4d223534d7ee",
"name": "Webhook"
},
{
"parameters": {
"respondWith": "json",
"responseBody": "={\n \"sortedTasks\": {{ $json.output.toJsonString() }}\n} ",
"options": {}
},
"type": "n8n-nodes-base.respondToWebhook",
"typeVersion": 1.4,
"position": [
1472,
-64
],
"id": "8e77a024-6ddd-4588-a87a-9fd6ff8f0b72",
"name": "Respond to Webhook"
},
{
"parameters": {
"jsCode": "var voiceText = ''\n\n// Webhook\nif ($input.first().json.body.text) voiceText = $input.first().json.body.text;\n// Debug\nif ($input.first().json.user_input) voiceText = $input.first().json.user_input;\n\nreturn [{\n voiceText: voiceText\n}]"
},
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
432,
-64
],
"id": "7f22196c-0877-4277-a23c-46ef650202e5",
"name": "Get VoiceText"
}
],
"connections": {
"When clicking \u2018Execute workflow\u2019": {
"main": [
[
{
"node": "User Input Example",
"type": "main",
"index": 0
}
]
]
},
"Structured Output Parser": {
"ai_outputParser": [
[
{
"node": "Task Classifier",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"Structured Output Parser1": {
"ai_outputParser": [
[
{
"node": "Task List Generator",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"User Input Example": {
"main": [
[
{
"node": "Get VoiceText",
"type": "main",
"index": 0
}
]
]
},
"Task List Generator": {
"main": [
[
{
"node": "Task Classifier",
"type": "main",
"index": 0
}
]
]
},
"Webhook": {
"main": [
[
{
"node": "Get VoiceText",
"type": "main",
"index": 0
}
]
]
},
"Task Classifier": {
"main": [
[
{
"node": "Respond to Webhook",
"type": "main",
"index": 0
}
]
]
},
"Get VoiceText": {
"main": [
[
{
"node": "Task List Generator",
"type": "main",
"index": 0
}
]
]
}
},
"active": true,
"settings": {
"executionOrder": "v1"
},
"versionId": "e89be80d-1710-49ad-9583-9a8459c3f545",
"meta": {
"templateCredsSetupCompleted": true
},
"id": "ZwbkXTdqM9ia8QVP",
"tags": []
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
FOTD. Uses outputParserStructured, agent. Event-driven trigger; 9 nodes.
Source: https://github.com/XiaomaiTX/FocusOnTheDay/blob/4d2af81ec0f44482e96953db2f3b8fd6adeb215e/n8n/FOTD.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.
🎯 Create viral TikToks, Shorts, Reels, podcasts, and ASMR videos in minutes — all on autopilot.
Generate AI viral videos with NanoBanana & VEO3, shared on socials via Blotato 2. Uses @blotato/n8n-nodes-blotato, googleSheets, lmChatOpenAi, toolThink. Event-driven trigger; 94 nodes.
The AI-Powered Shopify SEO Content Automation is an enterprise-grade workflow that transforms product content creation for e-commerce stores. This sophisticated multi-agent system integrates GPT-4o, C
RAG CHATBOT Main. Uses telegram, telegramTrigger, lmChatOpenAi, n8n-nodes-mcp. Event-driven trigger; 87 nodes.
How it Works