AI Retro Console 上传
中级
这是一个Personal Productivity、AI Chatbot领域的自动化工作流,包含 14 个节点。主要使用 Webhook、GmailTool、TwitterTool、DateTimeTool、TelegramTool 等节点。 多服务终端:通过Gemini AI访问Gmail、X、Telegram和新闻
前置要求
- •HTTP Webhook 端点(n8n 会自动生成)
- •Google 账号和 Gmail API 凭证
- •Twitter API 凭证
- •Telegram Bot Token
- •Google Gemini API Key
使用的节点 (14 个)
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "ofy3xqsKedoTQCso",
"meta": {
"instanceId": "03ac2f7799e30866805c56204bdd3ce84b0038686b0a5c9283f8aa066a4e9f6e",
"templateCredsSetupCompleted": true
},
"name": "AI Retro Console 上传",
"tags": [],
"nodes": [
{
"id": "e4dce217-5771-4240-b774-c119307ac591",
"name": "AI 代理",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
200,
-200
],
"parameters": {
"text": "={{ $json.query.prompt }}",
"options": {
"systemMessage": "=You are an AI assistant. Answer short, cynical and dry using the following tools:\n\n1. Search the news\n2. Search the stock market\n3. Search X\n4. Obtain date and time\n5. Send a Telegram message \n6. Search Gmail inbox\n7. Search events in Google Calendar\n8. Search RSS newspaper headlines\n\nYou can also use your default knowledge base.\n\nIf you are asked to send a Telegram, use as the Telegram body, the information sent by the user or the output from other tool.\n\nIf you are asked for news about a subject, retrieve up to 5 news and summarize\n\nIf you are asked to Search X, use as the search input the term provided by the user. **IMPORTANT:** The X tool has strict rate limits. Do not make rapid, consecutive calls to this tool. If you need to make multiple Twitter requests, space them out. If you encounter an error related to 'Too Many Requests', you must wait a reasonable amount of time (e.g., 60 seconds) before trying again or inform the user about the rate limit.\n\nIf you are asked to search the calendar use the Google Calendar tool.\n\nIf you are asked to search the inbox use the Gmail tool\n\nIf you are asked about a Linux command, answer starting with $ and the Linux command requested only. Example, user says Whats the linux command to list files, you answer:$ ls"
},
"promptType": "define"
},
"typeVersion": 2
},
{
"id": "09ad554a-fa2e-4913-a8e9-fc8ba9e8c936",
"name": "简单记忆",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
100,
100
],
"parameters": {
"sessionKey": "={{$json.query.sessionId}}",
"sessionIdType": "customKey",
"contextWindowLength": 10
},
"typeVersion": 1.3
},
{
"id": "07d1f039-8a01-4aea-a93f-3c8cb6daf647",
"name": "日期与时间",
"type": "n8n-nodes-base.dateTimeTool",
"position": [
380,
100
],
"parameters": {
"options": {}
},
"typeVersion": 2
},
{
"id": "0c925661-dff4-46c2-818d-1cb9d5df462c",
"name": "LLM Gemini 2.5 Flash",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"position": [
-100,
100
],
"parameters": {
"options": {
"maxOutputTokens": 2048
},
"modelName": "models/gemini-2.5-flash"
},
"credentials": {
"googlePalmApi": {
"id": "YOUR_CREDENTIAL_ID",
"name": "SET YOUR GOOGLE GEMINI API ACCOUNT HERE"
}
},
"typeVersion": 1
},
{
"id": "5e09f0a8-6e37-4e9b-9d51-60664ea58c38",
"name": "搜索推文",
"type": "n8n-nodes-base.twitterTool",
"position": [
860,
100
],
"parameters": {
"limit": 10,
"operation": "search",
"searchText": "={{ $fromAI('Search_Term', `Use the search term provided`, 'string') }}",
"descriptionType": "manual",
"toolDescription": "Search X according to user's search terms",
"additionalFields": {
"tweetFieldsObject": [
"text",
"author_id"
]
}
},
"credentials": {
"twitterOAuth2Api": {
"id": "YOUR_CREDENTIAL_ID",
"name": "SET YOUR TWITTER/X ACCOUNT HERE"
}
},
"typeVersion": 2
},
{
"id": "220c24e7-1e3c-4344-acfd-f036a3d0b298",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-360,
-220
],
"parameters": {
"content": "## 输入"
},
"typeVersion": 1
},
{
"id": "d5fa0f6c-9f25-4267-9a97-6bc868d36525",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
800,
-220
],
"parameters": {
"content": "## 输出"
},
"typeVersion": 1
},
{
"id": "343b9723-f1e5-478f-9bbc-5b73ae74c43a",
"name": "控制台输入",
"type": "n8n-nodes-base.webhook",
"position": [
-20,
-200
],
"webhookId": "8d6b9886-7cc4-470f-84fa-02954655b297",
"parameters": {
"path": "8d6b9886-7cc4-470f-84fa-02954655b297",
"options": {},
"responseMode": "responseNode"
},
"typeVersion": 2
},
{
"id": "ef85b5cc-2b88-4bf4-a6b2-0bd1055518c0",
"name": "控制台输出",
"type": "n8n-nodes-base.respondToWebhook",
"position": [
560,
-200
],
"parameters": {
"options": {}
},
"typeVersion": 1.4
},
{
"id": "42f3318e-536a-43b4-b20b-3b0fd1ebea79",
"name": "股票信息",
"type": "n8n-nodes-base.marketstackTool",
"position": [
540,
100
],
"parameters": {
"symbol": "={{ $fromAI('Ticker', ``, 'string') }}",
"resource": "ticker",
"descriptionType": "manual",
"toolDescription": "Get stock market news about a ticker"
},
"credentials": {
"marketstackApi": {
"id": "YOUR_CREDENTIAL_ID",
"name": "SET YOUR MARKETSTACK ACCOUNT HERE"
}
},
"typeVersion": 1
},
{
"id": "c8786788-41f4-4f5b-8460-0803a825f1f1",
"name": "RSS 新闻",
"type": "n8n-nodes-base.rssFeedReadTool",
"position": [
700,
100
],
"parameters": {
"url": "https://www.clarin.com/rss/lo-ultimo/",
"options": {
"ignoreSSL": false
},
"toolDescription": "Headlines from Clarin newspaper"
},
"typeVersion": 1.2
},
{
"id": "b89de3fb-91e9-42a0-be86-460280b9a07a",
"name": "发送 Telegram",
"type": "n8n-nodes-base.telegramTool",
"position": [
1380,
100
],
"webhookId": "015ed9fd-441d-4978-8573-0fdb1a2db1cc",
"parameters": {
"text": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Text', ``, 'string') }}",
"chatId": "=YOUR_CHAT_ID",
"descriptionType": "manual",
"toolDescription": "Send a text message with Telegram with text defined by the user. Text could be a message by the user or the output from other tool.",
"additionalFields": {
"appendAttribution": false
}
},
"credentials": {
"telegramApi": {
"id": "YOUR_CREDENTIAL_ID",
"name": "SET YOUR TELEGRAM API ACCOUNT HERE"
}
},
"typeVersion": 1.2
},
{
"id": "f9699166-a521-4d89-b90e-506172cbd5c6",
"name": "读取 Gmail",
"type": "n8n-nodes-base.gmailTool",
"position": [
1020,
100
],
"webhookId": "8649c7fd-c60b-4f27-bdd3-a9d4d65b098e",
"parameters": {
"limit": 10,
"filters": {},
"operation": "getAll",
"descriptionType": "manual",
"toolDescription": "Search Gmail inbox"
},
"credentials": {
"gmailOAuth2": {
"id": "YOUR_CREDENTIAL_ID",
"name": "SET YOUR GMAIL ACCOUNT HERE"
}
},
"typeVersion": 2.1
},
{
"id": "cf6e1e98-323b-4be7-95d8-ffa49e545c89",
"name": "检查 Google Calendar",
"type": "n8n-nodes-base.googleCalendarTool",
"position": [
1200,
100
],
"parameters": {
"limit": 10,
"options": {},
"calendar": {
"__rl": true,
"mode": "list",
"value": "YOUR_EMAIL",
"cachedResultName": "YOUR_EMAIL"
},
"operation": "getAll",
"descriptionType": "manual",
"toolDescription": "Search for events in the calendar"
},
"credentials": {
"googleCalendarOAuth2Api": {
"id": "YOUR_CREDENTIAL_ID",
"name": "SET YOUR GOOGLE CALENDAR ACCOUNT HERE"
}
},
"typeVersion": 1.3
}
],
"active": false,
"pinData": {
"Console In": [
{
"json": {}
}
]
},
"settings": {
"timezone": "America/Argentina/Buenos_Aires",
"callerPolicy": "workflowsFromSameOwner",
"executionOrder": "v1"
},
"versionId": "9952f58e-967d-4cf0-a1a2-2c8838a6af47",
"connections": {
"AI Agent": {
"main": [
[
{
"node": "Console out",
"type": "main",
"index": 0
}
]
]
},
"RSS news": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Console In": {
"main": [
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
]
]
},
"Read Gmail": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Stock info": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Date & Time": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Search Tweets": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Send Telegram": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Simple Memory": {
"ai_memory": [
[
{
"node": "AI Agent",
"type": "ai_memory",
"index": 0
}
]
]
},
"LLM Gemini 2.5 Flash": {
"ai_languageModel": [
[
{
"node": "AI Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Check Google Calendar": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
这是一个中级难度的工作流,适用于Personal Productivity、AI Chatbot等场景。适合有一定经验的用户,包含 6-15 个节点的中等复杂度工作流
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
聊天机器人Webhook
基于AI的Gmail和日历助手,集成Gemini聊天界面
Set
Webhook
Gmail Tool
+7
19 节点Praneel S
Miscellaneous
基于Google Gemini、Notion和Telegram的统一业务编排器(CEO专用)
基于Google Gemini、Notion和Telegram的统一业务编排器(CEO专用)
Set
Notion
Switch
+18
93 节点YungCEO
AI Chatbot
AI驱动的多平台助手 - Google套件、LinkedIn和Twitter
基于Google套件、LinkedIn和Twitter的AI驱动多平台助手
Code
Discord
Webhook
+15
65 节点Jay Emp0
Personal Productivity
高级多代理AI个人助手(250+任务能力,WhatsApp + GPT)
高级多代理AI个人助手(250+任务能力,WhatsApp + GPT)
Set
Switch
Whats App
+26
213 节点Electrabot
Personal Productivity
使用Gemini AI、天气和网页抓取创建多功能聊天机器人(入门套件)
使用Gemini AI、天气和网页抓取创建多功能聊天机器人(入门套件)
Gmail Tool
Agent
Http Request Tool
+7
23 节点Lucas Peyrin
Personal Productivity
构建具有聊天界面和多种工具的交互式AI助手
构建具有聊天界面和多种工具的交互式AI助手
Crypto Tool
Date Time Tool
Agent
+9
17 节点Lucas Peyrin
Personal Productivity
工作流信息
难度等级
中级
节点数量14
分类2
节点类型13
作者
Roni Bandini
@bandiniExploring the intersection of technology, subversion, and creative resistance. My work focuses on TinyML prototypes and LLM projects, pushing the boundaries of AI and embedded systems.
外部链接
在 n8n.io 上查看 →
分享此工作流