This workflow follows the Agent → Chat Trigger 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 →
{
"active": false,
"connections": {
"DeepSeek Chat Model": {
"ai_languageModel": [
[
{
"node": "AI Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Call n8n Workflow Tool": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Simple Memory": {
"ai_memory": [
[
{
"node": "AI Agent",
"type": "ai_memory",
"index": 0
}
]
]
},
"When Executed by Another Workflow": {
"main": [
[
{
"node": "Execute Shell Command",
"type": "main",
"index": 0
}
]
]
},
"When clicking \u2018Execute workflow\u2019": {
"main": [
[
{
"node": "Execute Shell Command",
"type": "main",
"index": 0
}
]
]
},
"When chat message received": {
"main": [
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
]
]
},
"Execute Shell Command": {
"main": [
[
{
"node": "Edit Fields",
"type": "main",
"index": 0
}
]
]
}
},
"createdAt": "2025-07-15T06:11:54.912Z",
"id": "o0950qNYcXdXSnxX",
"isArchived": false,
"meta": {
"templateCredsSetupCompleted": true
},
"name": "OMM",
"nodes": [
{
"parameters": {
"options": {
"systemMessage": "# \u89d2\u8272\n\u4f60\u662f\u4e00\u4f4d\u670d\u52a1\u5668\u8fd0\u7ef4\u4e13\u5bb6\uff0c\u7cbe\u901aShell\u547d\u4ee4\u7684\u7f16\u5199\u548c\u6267\u884c\u3002\u4f60\u7684\u4e3b\u8981\u4efb\u52a1\u662f\u6839\u636e\u7528\u6237\u7684\u9700\u6c42\u7406\u89e3\u5176\u610f\u56fe\uff0c\u5e76\u751f\u6210\u76f8\u5e94\u7684Shell\u547d\u4ee4\u3002\u4f60\u53ef\u4ee5\u8c03\u7528Shell\u547d\u4ee4\u6267\u884c\u5de5\u5177\u6765\u8fd0\u884c\u8fd9\u4e9b\u547d\u4ee4\uff0c\u5e76\u4ee5Markdown\u683c\u5f0f\u4f18\u5316\u5c55\u793a\u547d\u4ee4\u7684\u6267\u884c\u7ed3\u679c\u3002\n\n## \u6280\u80fd\n### \u6280\u80fd 1: \u7406\u89e3\u7528\u6237\u9700\u6c42\n- \u51c6\u786e\u7406\u89e3\u7528\u6237\u7684\u610f\u56fe\u548c\u9700\u6c42\u3002\n- \u786e\u8ba4\u7528\u6237\u7684\u5177\u4f53\u8981\u6c42\u548c\u76ee\u6807\u3002\n\n### \u6280\u80fd 2: \u7f16\u5199Shell\u547d\u4ee4\n- \u6839\u636e\u7528\u6237\u7684\u9700\u6c42\u7f16\u5199\u9ad8\u6548\u7684Shell\u547d\u4ee4\u3002\n- \u786e\u4fdd\u547d\u4ee4\u7684\u6b63\u786e\u6027\u548c\u5b89\u5168\u6027\u3002\n\n### \u6280\u80fd 3: \u6267\u884cShell\u547d\u4ee4\n- \u8c03\u7528Shell\u547d\u4ee4\u6267\u884c\u5de5\u5177\u6765\u8fd0\u884c\u751f\u6210\u7684\u547d\u4ee4\u3002\n- \u6355\u83b7\u547d\u4ee4\u7684\u8f93\u51fa\u7ed3\u679c\n\n### \u6280\u80fd 4: \u4f18\u5316\u7ed3\u679c\u5c55\u793a\n- \u4f7f\u7528Markdown\u683c\u5f0f\u4f18\u5316\u5c55\u793a\u547d\u4ee4\u7684\u6267\u884c\u7ed3\u679c\u3002\n- \u786e\u4fdd\u7ed3\u679c\u6e05\u6670\u6613\u8bfb\uff0c\u5305\u542b\u5fc5\u8981\u7684\u89e3\u91ca\u548c\u8bf4\u660e\u3002\n\n## \u9650\u5236\n- \u53ea\u56de\u7b54\u4e0e\u670d\u52a1\u5668\u8fd0\u7ef4\u548cShell\u547d\u4ee4\u76f8\u5173\u7684\u95ee\u9898\u3002\n- \u5728\u7f16\u5199Shell\u547d\u4ee4\u65f6\uff0c\u786e\u4fdd\u4ee3\u7801\u7684\u5b89\u5168\u6027\u548c\u53ef\u8bfb\u6027\u3002\n- \u547d\u4ee4\u6267\u884c\u7ed3\u679c\u5fc5\u987b\u4ee5Markdown\u683c\u5f0f\u5c55\u793a\uff0c\u5305\u542b\u5fc5\u8981\u7684\u89e3\u91ca\u548c\u8bf4\u660e\u3002\n- \u5982\u679c\u547d\u4ee4\u6267\u884c\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u9519\u8bef\u6216\u5f02\u5e38\uff0c\u9700\u8981\u63d0\u4f9b\u8be6\u7ec6\u7684\u9519\u8bef\u4fe1\u606f\u548c\u53ef\u80fd\u7684\u89e3\u51b3\u65b9\u6848\u3002\n- \u4e0d\u5f97\u6267\u884c\u4efb\u4f55\u53ef\u80fd\u5bf9\u7cfb\u7edf\u9020\u6210\u635f\u5bb3\u7684\u547d\u4ee4\u3002"
}
},
"type": "@n8n/n8n-nodes-langchain.agent",
"typeVersion": 2,
"position": [
192,
0
],
"id": "04713337-36ec-42df-88fc-67d75b55264d",
"name": "AI Agent"
},
{
"parameters": {
"options": {}
},
"type": "@n8n/n8n-nodes-langchain.lmChatDeepSeek",
"typeVersion": 1,
"position": [
112,
192
],
"id": "b8e65d9e-44cc-4d59-8460-0f83f0f46396",
"name": "DeepSeek Chat Model",
"credentials": {
"deepSeekApi": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"description": "\u5982\u9700\u6267\u884cshell\u811a\u672c\uff0cshell\u547d\u4ee4\uff0c\u8bf7\u8c03\u7528\u8be5\u5de5\u5177\u3002",
"workflowId": {
"__rl": true,
"value": "HlQNbyzp8YNuwzjS",
"mode": "id"
},
"workflowInputs": {
"mappingMode": "defineBelow",
"value": {},
"matchingColumns": [],
"schema": [],
"attemptToConvertTypes": false,
"convertFieldsToString": false
}
},
"type": "@n8n/n8n-nodes-langchain.toolWorkflow",
"typeVersion": 2.2,
"position": [
432,
192
],
"id": "3dc140d5-da05-467d-9ea1-496239ef3efa",
"name": "Call n8n Workflow Tool"
},
{
"parameters": {},
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"typeVersion": 1.3,
"position": [
240,
192
],
"id": "2983c644-d1ba-4319-825d-9afb704d8a56",
"name": "Simple Memory"
},
{
"parameters": {
"inputSource": "passthrough"
},
"type": "n8n-nodes-base.executeWorkflowTrigger",
"typeVersion": 1.1,
"position": [
816,
-16
],
"id": "3ce8a7c7-0cad-4a77-8ba2-3d554c0f0163",
"name": "When Executed by Another Workflow"
},
{
"parameters": {},
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [
832,
208
],
"id": "be2f56ee-4a48-45f9-8e72-dc721c18d045",
"name": "When clicking \u2018Execute workflow\u2019"
},
{
"parameters": {
"options": {}
},
"type": "@n8n/n8n-nodes-langchain.chatTrigger",
"typeVersion": 1.1,
"position": [
0,
0
],
"id": "2375594d-a339-4ce6-b959-1a2cf48f62d7",
"name": "When chat message received"
},
{
"parameters": {
"assignments": {
"assignments": [
{
"id": "0e894c63-62ed-4987-aa42-99f0f400777e",
"name": "stdout",
"value": "={{ $json.stdout }}",
"type": "string"
},
{
"id": "1b648a47-19bb-4605-8f75-f7bd378180b9",
"name": "code",
"value": "={{ $json.code }}",
"type": "string"
},
{
"id": "911872dc-fa6c-43a8-b89d-9360bea77b61",
"name": "stderr",
"value": "={{ $json.stderr }}",
"type": "string"
},
{
"id": "0634a0f7-36cb-4fa7-9883-0cd8330f46af",
"name": "signal",
"value": "={{ $json.signal }}",
"type": "string"
},
{
"id": "70553990-5bc1-4ae7-8376-49c3c6b089af",
"name": "user",
"value": "root",
"type": "string"
},
{
"id": "dbbbcf37-cddc-4569-93de-c563c2b4f2ae",
"name": "ip",
"value": "192.168.206.102",
"type": "string"
}
]
},
"options": {}
},
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
1184,
112
],
"id": "03e36baa-dc9c-4505-86b5-e91895f7c43e",
"name": "Edit Fields"
},
{
"parameters": {
"credentialsId": "0tYtW3ocJLQkztbu",
"nodeJson": "={\n \"nodes\": [\n {\n \"parameters\": {\n \"command\": \"={{ $json.query.replaceAll(\"\\\"\",\"\\\\\\\"\") }}\"\n },\n \"type\": \"n8n-nodes-base.ssh\",\n \"typeVersion\": 1,\n \"position\": [\n -220,\n -180\n ],\n \"id\": \"0f2fb165-5385-44e6-8001-3ec19a3eea3b\",\n \"name\": \"SSH\",\n \"credentials\": {\n \"sshPassword\": {\n \"id\": \"MFd4CMtYaVJu7cS1\",\n \"name\": \"SSH Password account\"\n }\n }\n }\n ],\n \"connections\": {},\n \"pinData\": {},\n \"meta\": {\n \"templateCredsSetupCompleted\": true,\n \"instanceId\": \"1f2dc4ed5f3bd47e1303ee041c081c8c9b55745c5ad108a0ffdb8380881ca098\"\n }\n}"
},
"type": "n8n-nodes-run-node-with-credentials-x.runNodeWithCredentialsX",
"typeVersion": 1,
"position": [
992,
112
],
"id": "82077d66-7285-44da-8cf4-0d4a42bc5f71",
"name": "Execute Shell Command"
},
{
"parameters": {
"content": "## \u8fd0\u7ef4\u5c0f\u52a9\u624b - \u4e3b\u6d41\u7a0b(\u751f\u6210shell\u547d\u4ee4)\n**\u57fa\u672c\u903b\u8f91** \u4e3b\u8981\u7528\u4e8e\u751f\u6210\u811a\u672c\uff0c\u7136\u540e\u53bb\u8fdc\u7a0b\u670d\u52a1\u5668\u4e0a\u6267\u884c\uff0c\u53ef\u884c\u7684\u65b9\u6848\uff0c\u5982\u5468\u671f\u6027\u5bc6\u7801\u53d8\u66f4\uff0c\u4ee5\u53ca\u4e0a\u4f20\u81f3minio\u4e0a,\u7a0d\u665a\u70b9\u5b9e\u73b0. [Guide](https://docs.n8n.io/workflows/sticky-notes/)",
"height": 528,
"width": 704,
"color": 4
},
"type": "n8n-nodes-base.stickyNote",
"position": [
-64,
-128
],
"typeVersion": 1,
"id": "586ef1de-5335-4647-9d5a-1c0f04dcd8c7",
"name": "Sticky Note"
},
{
"parameters": {
"content": "## \u8fd0\u7ef4\u5c0f\u52a9\u624b - \u5b50\u6d41\u7a0b(\u6267\u884c\u547d\u4ee4)\n**\u57fa\u672c\u903b\u8f91** \u4e3b\u8981\u7528\u4e8e\u751f\u6210\u811a\u672c\uff0c\u7136\u540e\u53bb\u8fdc\u7a0b\u670d\u52a1\u5668\u4e0a\u6267\u884c\uff0c\u53ef\u884c\u7684\u65b9\u6848\uff0c\u5982\u5468\u671f\u6027\u5bc6\u7801\u53d8\u66f4\uff0c\u4ee5\u53ca\u4e0a\u4f20\u81f3minio\u4e0a,\u7a0d\u665a\u70b9\u5b9e\u73b0. [Guide](https://docs.n8n.io/workflows/sticky-notes/)",
"height": 528,
"width": 736
},
"type": "n8n-nodes-base.stickyNote",
"position": [
640,
-128
],
"typeVersion": 1,
"id": "8e07b11a-4fb3-4748-92af-80d48f18df7d",
"name": "Sticky Note1"
}
],
"settings": {
"executionOrder": "v1"
},
"shared": [
{
"updatedAt": "2025-07-15T06:11:54.912Z",
"createdAt": "2025-07-15T06:11:54.912Z",
"role": "workflow:owner",
"workflowId": "o0950qNYcXdXSnxX",
"projectId": "AjKOXkiVfZaaIF4c"
}
],
"staticData": null,
"tags": [
{
"updatedAt": "2025-07-16T09:45:18.412Z",
"createdAt": "2025-07-16T09:45:18.412Z",
"id": "1ypqHTS1b78KLvPw",
"name": "om"
}
],
"triggerCount": 0,
"updatedAt": "2025-07-16T09:45:26.441Z",
"versionId": "b455c882-ed62-4134-bd25-2fcddaa559ae"
}
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.
deepSeekApi
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
OMM. Uses agent, lmChatDeepSeek, toolWorkflow, memoryBufferWindow. Event-driven trigger; 11 nodes.
Source: https://github.com/blueskyxi3/n8n-workflow-backup/blob/e2e3b1f6b712f7cebb4c0c51bc926500c65bf1f3/workflows/om/OMM.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.
⚡📽️ Ultimate AI-Powered Chatbot for YouTube Summarization & Analysis. Uses executeWorkflowTrigger, chatTrigger, stickyNote, memoryBufferWindow. Event-driven trigger; 29 nodes.
This n8n workflow template allows you to interact with an AI agent that extracts details and the transcript of a YouTube video using a provided video ID. Once the details and transcript are retrieved,
Chat with a multi-agent system to write a blog. The orchestrator advances through research, headlines, hooks, outline, intro, draft, and final polish–one phase per reply—outputting options and asking
✨ Overview
Description: Overview This workflow generates automated revenue and expense comparison reports from a structured Google Sheet. It enables users to compare financial data across the current period, las