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": true,
"connections": {
"Google Gemini Chat Model": {
"ai_languageModel": [
[
{
"node": "AI\u751f\u6210\u6559\u7a0b",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Redis Chat Memory": {
"ai_memory": [
[
{
"node": "AI\u751f\u6210\u6559\u7a0b",
"type": "ai_memory",
"index": 0
}
]
]
},
"\u63a8\u9001\u5230\u601d\u6e90\u7b14\u8bb0": {
"main": [
[]
]
},
"\u722c\u53d6\u7f51\u9875": {
"main": [
[
{
"node": "AI\u751f\u6210\u6559\u7a0b",
"type": "main",
"index": 0
}
]
]
},
"When chat message received": {
"main": [
[
{
"node": "\u722c\u53d6\u7f51\u9875",
"type": "main",
"index": 0
}
]
]
},
"AI\u751f\u6210\u6559\u7a0b": {
"main": [
[
{
"node": "\u63a8\u9001\u5230\u601d\u6e90\u7b14\u8bb0",
"type": "main",
"index": 0
}
]
]
}
},
"createdAt": "2025-08-23T02:42:42.254Z",
"id": "IXGtpeKfKrHNLorV",
"isArchived": false,
"meta": {
"templateCredsSetupCompleted": true
},
"name": "\u6559\u7a0b\u6293\u53d6",
"nodes": [
{
"parameters": {
"options": {}
},
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"typeVersion": 1,
"position": [
480,
304
],
"id": "1d2251ab-aab0-42de-a26a-0876fb4e178f",
"name": "Google Gemini Chat Model",
"credentials": {
"googlePalmApi": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"method": "POST",
"url": "https://sy.xujw.top/api/filetree/createDocWithMd",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"sendBody": true,
"bodyParameters": {
"parameters": [
{
"name": "notebook",
"value": "20250823105420-kkqabzc"
},
{
"name": "path",
"value": "=/{{ $('\u722c\u53d6\u7f51\u9875').item.json.data.metadata.keywords }}"
},
{
"name": "markdown",
"value": "={{ $json.output }}"
}
]
},
"options": {}
},
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
880,
80
],
"id": "3b997c48-55e0-4f32-8754-d9e8c3585dc1",
"name": "\u63a8\u9001\u5230\u601d\u6e90\u7b14\u8bb0",
"retryOnFail": true,
"maxTries": 5,
"waitBetweenTries": 5000,
"credentials": {
"httpHeaderAuth": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"sessionIdType": "customKey",
"sessionKey": "={{ $workflow.id }}",
"sessionTTL": 10
},
"type": "@n8n/n8n-nodes-langchain.memoryRedisChat",
"typeVersion": 1.5,
"position": [
640,
304
],
"id": "92c113a2-853f-4842-a7d2-9cf70fe1ed13",
"name": "Redis Chat Memory",
"credentials": {
"redis": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"public": true,
"options": {}
},
"type": "@n8n/n8n-nodes-langchain.chatTrigger",
"typeVersion": 1.3,
"position": [
112,
80
],
"id": "15ae3d0d-8d8b-49ae-9819-e6c2f5d109f3",
"name": "When chat message received"
},
{
"parameters": {
"operation": "scrape",
"url": "={{ $json.chatInput }}",
"scrapeOptions": {
"options": {
"headers": {}
}
},
"requestOptions": {}
},
"type": "@mendable/n8n-nodes-firecrawl.firecrawl",
"typeVersion": 1,
"position": [
288,
80
],
"id": "3d85f3d9-506b-46ad-a74f-904b6ec97d93",
"name": "\u722c\u53d6\u7f51\u9875",
"retryOnFail": true,
"maxTries": 5,
"waitBetweenTries": 5000,
"credentials": {
"firecrawlApi": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"promptType": "define",
"text": "={{ $json.data.markdown }}",
"options": {
"systemMessage": "**\u3010\u89d2\u8272\u8bbe\u5b9a\u3011**\n\u4f60\u662f\u4e00\u540d\u7ecf\u9a8c\u4e30\u5bcc\u7684\u6280\u672f\u5199\u4f5c\u4e13\u5bb6\u548c\u8d44\u6df1\u6559\u5e08\uff0c\u5c24\u5176\u64c5\u957f\u5c06\u590d\u6742\u3001\u96f6\u6563\u7684\u4fe1\u606f\u6574\u5408\u6210\u7ed3\u6784\u6e05\u6670\u3001\u5faa\u5e8f\u6e10\u8fdb\u3001\u901a\u4fd7\u6613\u61c2\u7684\u6559\u7a0b\u3002\u4f60\u7684\u6559\u5b66\u98ce\u683c\u53cb\u597d\u3001\u8010\u5fc3\uff0c\u5584\u4e8e\u7528\u7b80\u5355\u7684\u8bed\u8a00\u548c\u751f\u52a8\u7684\u7c7b\u6bd4\u89e3\u91ca\u590d\u6742\u6982\u5ff5\u3002\n\n**\u3010\u6838\u5fc3\u6307\u4ee4\u3011**\n\u6211\u5c06\u63d0\u4f9b\u4e00\u6bb5\u4ece\u7f51\u9875\u4e0a\u722c\u53d6\u7684\u5185\u5bb9\uff0c\u8bf7\u4f60\u5c06\u5176\u6574\u7406\u6210\u4e00\u4efd\u8be6\u7ec6\u7684\u6559\u7a0b\u3002\u8bf7\u9075\u5faa\u4ee5\u4e0b\u6b65\u9aa4\u548c\u8981\u6c42\uff1a\n\n**\u7b2c\u4e00\u6b65\uff1a\u5206\u6790\u4e0e\u8bc6\u522b\uff08\u5148\u601d\u8003\uff09**\n1. **\u5224\u65ad\u5185\u5bb9\u7c7b\u578b**\uff1a\u786e\u8ba4\u539f\u59cb\u5185\u5bb9\u5c5e\u4e8e\u54ea\u79cd\u6559\u7a0b\uff08\u4f8b\u5982\uff1a\u8f6f\u4ef6\u64cd\u4f5c\u3001\u70f9\u996a\u98df\u8c31\u3001\u5065\u8eab\u52a8\u4f5c\u3001\u7f16\u7a0b\u6307\u5357\u3001\u624b\u5de5DIY\u7b49\uff09\u3002\n2. **\u8bc6\u522b\u6838\u5fc3\u4e3b\u9898**\uff1a\u63d0\u70bc\u51fa\u672c\u6559\u7a0b\u7684\u6700\u7ec8\u76ee\u6807\u662f\u4ec0\u4e48\uff08\u4f8b\u5982\uff1a\u201c\u6559\u4f1a\u7528\u6237\u5982\u4f55\u7528Photoshop\u66f4\u6362\u56fe\u7247\u80cc\u666f\u201d\uff09\u3002\n3. **\u7b5b\u9009\u5173\u952e\u4fe1\u606f**\uff1a\u533a\u5206\u51fa\u6838\u5fc3\u6b65\u9aa4\u3001\u5fc5\u8981\u53c2\u6570\u3001\u91cd\u8981\u8b66\u544a\u3001\u9884\u5907\u77e5\u8bc6\u3001\u6240\u9700\u5de5\u5177\u7b49\u5173\u952e\u5143\u7d20\uff0c\u5ffd\u7565\u5e7f\u544a\u3001\u65e0\u5173\u7684\u8bc4\u8bba\u3001\u63a8\u5e7f\u94fe\u63a5\u7b49\u5197\u4f59\u4fe1\u606f\u3002\n\n**\u7b2c\u4e8c\u6b65\uff1a\u7ed3\u6784\u4e0e\u91cd\u6784\uff08\u518d\u7ec4\u7ec7\uff09**\n\u6309\u7167\u4ee5\u4e0b\u903b\u8f91\u7ed3\u6784\u7ec4\u7ec7\u5185\u5bb9\uff0c\u5e76\u751f\u6210\u5bf9\u5e94\u7684Markdown\u683c\u5f0f\uff1a\n\n1. **\u6807\u9898**\uff1a\u521b\u5efa\u4e00\u4e2a\u660e\u786e\u3001\u5438\u5f15\u4eba\u7684\u6559\u7a0b\u6807\u9898\u3002\n2. **\u5f15\u8a00/\u6982\u8ff0**\uff1a\u7528\u4e00\u4e24\u53e5\u8bdd\u7b80\u8981\u8bf4\u660e\u672c\u6559\u7a0b\u7684\u76ee\u7684\u3001\u9002\u7528\u4eba\u7fa4\u4ee5\u53ca\u5b66\u5b8c\u540e\u80fd\u8fbe\u5230\u4ec0\u4e48\u6548\u679c\u3002\n3. **\u524d\u7f6e\u8981\u6c42/\u51c6\u5907\u5de5\u5177**\uff1a\u5217\u51fa\u5b66\u4e60\u672c\u6559\u7a0b\u524d\u9700\u8981\u5177\u5907\u7684\u77e5\u8bc6\u70b9\u548c\u9700\u8981\u51c6\u5907\u7684\u6240\u6709\u5de5\u5177\u3001\u8f6f\u4ef6\u3001\u6750\u6599\u3002\n4. **\u6838\u5fc3\u6559\u7a0b\u6b65\u9aa4**\uff1a\u8fd9\u662f\u4e3b\u4f53\u90e8\u5206\u3002\u5c06\u8fc7\u7a0b\u5206\u89e3\u4e3a\u903b\u8f91\u6e05\u6670\u7684\u6b65\u9aa4\uff08Step 1, Step 2, Step 3...\uff09\u3002\n * \u6bcf\u4e2a\u6b65\u9aa4\u90fd\u8981\u6709\u4e00\u4e2a**\u7b80\u77ed\u7684\u5c0f\u6807\u9898**\uff08\u5982\uff1aStep 1: \u5bfc\u5165\u5e76\u590d\u5236\u56fe\u5c42\uff09\u3002\n * \u6bcf\u4e2a\u6b65\u9aa4\u7684\u8bf4\u660e\u8981**\u5177\u4f53\u3001\u65e0\u6b67\u4e49**\uff08\u5305\u542b\u5177\u4f53\u6570\u503c\u3001\u83dc\u5355\u4f4d\u7f6e\u3001\u6309\u94ae\u540d\u79f0\u7b49\uff09\u3002\n * \u5c3d\u91cf\u914d\u4ee5**\u7c7b\u6bd4\u6216\u901a\u4fd7\u7684\u89e3\u91ca**\uff08\u4f8b\u5982\uff1a\u201c\u8fd9\u4e2a\u64cd\u4f5c\u5c31\u50cf\u662f\u5148\u4e3a\u4f60\u7684\u7167\u7247\u521b\u5efa\u4e00\u4e2a\u5907\u4efd\uff0c\u8fd9\u6837\u6211\u4eec\u5c31\u80fd\u5728\u5907\u4efd\u4e0a\u5927\u80c6\u4fee\u6539\uff0c\u539f\u56fe\u4e0d\u4f1a\u53d7\u635f\u3002\u201d\uff09\u3002\n * \u5982\u679c\u67d0\u4e2a\u6b65\u9aa4\u5f88\u590d\u6742\uff0c\u53ef\u4ee5\u518d\u62c6\u5206\u6210\u66f4\u5c0f\u7684\u5b50\u6b65\u9aa4\u3002\n5. **\u56fe\u793a\u5efa\u8bae\uff08\u53ef\u9009\u4f46\u9f13\u52b1\uff09**\uff1a\u5728\u5173\u952e\u6b65\u9aa4\u540e\uff0c\u7528\u62ec\u53f7\u6ce8\u660e\u3010\u5efa\u8bae\u914d\u56fe\uff1a\u6b64\u5904\u5e94\u6709\u4e00\u5f20XXX\u7684\u622a\u56fe\u3011\u3002\u8fd9\u80fd\u6781\u5927\u63d0\u5347\u6559\u7a0b\u6613\u7528\u6027\u3002\n6. **\u603b\u7ed3**\uff1a\u56de\u987e\u6574\u4e2a\u6d41\u7a0b\uff0c\u5f3a\u8c03\u5173\u952e\u70b9\u548c\u5e38\u89c1\u76ee\u6807\u8fbe\u6210\u6807\u5fd7\u3002\n7. **\u5e38\u89c1\u95ee\u9898\u89e3\u7b54\uff08FAQ\uff09**\uff1a\u9884\u89c1\u7528\u6237\u53ef\u80fd\u9047\u5230\u76842-3\u4e2a\u95ee\u9898\u5e76\u63d0\u4f9b\u89e3\u51b3\u65b9\u6848\uff08\u4f8b\u5982\uff1a\u201c\u5982\u679c\u627e\u4e0d\u5230XX\u6309\u94ae\u600e\u4e48\u529e\uff1f\u201d\u201c\u64cd\u4f5c\u5931\u8bef\u5982\u4f55\u64a4\u9500\uff1f\u201d\uff09\u3002\n8. **\u6ce8\u610f\u4e8b\u9879/\u8b66\u544a**\uff1a\u7a81\u51fa\u64cd\u4f5c\u4e2d\u53ef\u80fd\u51fa\u9519\u3001\u635f\u574f\u8bbe\u5907\u6216\u6570\u636e\u7684\u5173\u952e\u70b9\uff0c\u7528\u663e\u7740\u65b9\u5f0f\uff08\u5982`**\u8b66\u544a\uff1a**`\uff09\u6807\u51fa\u3002\n\n**\u7b2c\u4e09\u6b65\uff1a\u8bed\u8a00\u4e0e\u98ce\u683c\uff08\u6700\u540e\u4f18\u5316\uff09**\n* **\u8bed\u8a00**\uff1a\u4f7f\u7528\u4e2d\u6587\uff0c\u53e3\u8bed\u5316\uff0c\u4eb2\u5207\u81ea\u7136\uff0c\u5c31\u50cf\u4e00\u4f4d\u670b\u53cb\u5728\u9762\u5bf9\u9762\u6559\u4f60\u3002\n* **\u98ce\u683c**\uff1a\u4fdd\u6301\u79ef\u6781\u548c\u9f13\u52b1\u7684\u8bed\u6c14\uff08\u4f8b\u5982\uff1a\u201c\u5f88\u7b80\u5355\u5bf9\u5427\uff1f\u201d\u201c\u63a5\u4e0b\u6765\u662f\u5173\u952e\u4e00\u6b65\uff0c\u96c6\u4e2d\u6ce8\u610f\u529b\uff01\u201d\uff09\u3002\n* **\u4e13\u4e1a\u6027**\uff1a\u5728\u5fc5\u987b\u4f7f\u7528\u4e13\u4e1a\u672f\u8bed\u65f6\uff0c\u968f\u540e\u7528\u7b80\u5355\u7684\u8bed\u8a00\u52a0\u4ee5\u89e3\u91ca\u3002\n\n**\u3010\u91cd\u8981\uff1a\u6700\u7ec8\u8f93\u51fa\u3011**\n\u8bf7\u76f4\u63a5\u8f93\u51fa\u6574\u7406\u597d\u7684\u5b8c\u6574\u6559\u7a0b\uff0c**\u4e0d\u9700\u8981\u56de\u590d\u201c\u597d\u7684\u201d\u3001\u201c\u6839\u636e\u60a8\u7684\u8981\u6c42\u201d\u7b49\u524d\u7f00**\u3002\u76f4\u63a5\u4ee5Markdown\u683c\u5f0f\u5f00\u59cb\u3002"
}
},
"type": "@n8n/n8n-nodes-langchain.agent",
"typeVersion": 1.9,
"position": [
512,
80
],
"id": "977cf28b-64ed-4d76-a2bb-fc70789683e0",
"name": "AI\u751f\u6210\u6559\u7a0b",
"retryOnFail": true,
"maxTries": 5,
"waitBetweenTries": 5000
}
],
"settings": {
"executionOrder": "v1",
"timezone": "Asia/Shanghai",
"callerPolicy": "workflowsFromSameOwner",
"timeSavedPerExecution": 1
},
"shared": [
{
"createdAt": "2025-08-23T02:42:42.260Z",
"updatedAt": "2025-08-23T02:42:42.260Z",
"role": "workflow:owner",
"workflowId": "IXGtpeKfKrHNLorV",
"projectId": "ZpLUuPAPWUwvLsjb"
}
],
"staticData": {
"node:Schedule Trigger": {
"recurrenceRules": []
},
"node:\u5b9a\u65f6\u89e6\u53d1": {
"recurrenceRules": []
}
},
"tags": [],
"triggerCount": 1,
"updatedAt": "2025-09-10T05:53:25.000Z",
"versionId": "bee67fbf-cff9-4cef-9e47-c4b4f28611eb"
}
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.
firecrawlApigooglePalmApihttpHeaderAuthredis
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
教程抓取. Uses lmChatGoogleGemini, httpRequest, memoryRedisChat, chatTrigger. Chat trigger; 6 nodes.
Source: https://github.com/xujw3/n8n_backup/blob/c7cf2b43afac8d3b431f0efc14e9fc4b46ada686/workflows/IXGtpeKfKrHNLorV.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.
教程抓取. Uses lmChatGoogleGemini, httpRequest, memoryRedisChat, chatTrigger. Chat trigger; 6 nodes.
AGENTE. Uses chatTrigger, agent, lmChatOpenRouter, memoryRedisChat. Chat trigger; 7 nodes.
The purpose of this workflow, "Sell: Stock Vision," is to create an AI-powered technical analysis agent capable of analyzing financial charts for equity stocks and cryptocurrencies. This workflow prov
This workflow contains community nodes that are only compatible with the self-hosted version of n8n.
Proxmox Ai Agent With N8N And Generative Ai Integration. Uses httpRequest, toolHttpRequest, outputParserAutofixing, lmChatGoogleGemini. Chat trigger; 35 nodes.