特斯拉新闻与情绪分析工具 n8n
中级
这是一个Finance, AI领域的自动化工作流,包含 15 个节点。主要使用 Agent, RssFeedReadTool, ExecuteWorkflowTrigger, LmChatDeepSeek, MemoryBufferWindow 等节点,结合人工智能技术实现智能自动化。 特斯拉新闻与情绪分析工具(基于DeepSeek Chat)
前置要求
- •AI 服务 API Key(如 OpenAI、Anthropic 等)
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "BTnE5RUvVamK64A3",
"meta": {
"instanceId": "a5283507e1917a33cc3ae615b2e7d5ad2c1e50955e6f831272ddd5ab816f3fb6",
"templateCredsSetupCompleted": true
},
"name": "特斯拉新闻与情绪分析工具 n8n",
"tags": [],
"nodes": [
{
"id": "4003f0ec-f9c2-49f0-8aab-72c7f0a8b9ff",
"name": "当由其他工作流执行时",
"type": "n8n-nodes-base.executeWorkflowTrigger",
"position": [
-120,
300
],
"parameters": {
"workflowInputs": {
"values": [
{
"name": "message"
},
{
"name": "sessionId"
}
]
}
},
"typeVersion": 1.1
},
{
"id": "d9113a0b-296a-43fb-b2de-9fa7ac9f4b60",
"name": "特斯拉新闻与情绪分析师",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
320,
300
],
"parameters": {
"text": "={{ $json.message }}",
"options": {
"systemMessage": "You are a Tesla News and Sentiment Analyst AI powered by DeepSeek.\n\nYour role is to analyze Tesla-related headlines across trusted news feeds and produce structured sentiment insight for investors and swing traders.\n\nYou are always connected to the following live news sources via RSS:\n\n- Google News (filtered by Tesla/TSLA stock)\n- Yahoo Finance (TSLA-specific)\n- Electrek (Tesla news)\n- CleanTechnica (Tesla archive)\n- TeslaNorth\n\n🧠 You must always call all 5 tools during analysis to ensure full market coverage.\n\nFor each execution, follow these steps:\n\n1. Collect and read articles from all sources.\n2. Extract top 3–5 headlines that are most relevant to Tesla's financial, technical, or macro outlook.\n3. Classify sentiment as:\n - **Bullish** (positive impact on TSLA)\n - **Bearish** (negative impact on TSLA)\n - **Neutral** (mixed or inconclusive)\n4. Write a clear, 2–3 sentence **news sentiment summary** highlighting the major drivers of sentiment (e.g. earnings, product updates, factory news, market reactions).\n5. Output in strict JSON format.\n\n🚫 Never output anything other than the structured JSON response.\n\n✅ Format:\n\n```json\n{\n \"sentiment\": \"bullish\",\n \"summary\": \"Tesla's stock is climbing after it beat Q1 delivery estimates and announced progress on the Cybertruck ramp-up. Analysts are reacting positively to recent margin recovery hints.\",\n \"topHeadlines\": [\n \"Tesla beats Q1 delivery forecast – Yahoo Finance\",\n \"Cybertruck production scaling in Austin – Electrek\",\n \"Tesla Model Y becomes top-selling EV in Europe – CleanTechnica\"\n ]\n}\n"
},
"promptType": "define"
},
"typeVersion": 1.8
},
{
"id": "b43759f2-87d2-410c-a33a-84af4c93862e",
"name": "RSS - TeslaNorth",
"type": "n8n-nodes-base.rssFeedReadTool",
"position": [
1320,
640
],
"parameters": {
"url": "https://teslanorth.com/feed/",
"options": {},
"toolDescription": "This node retrieves Tesla-focused news from TeslaNorth’s RSS feed. TeslaNorth provides daily updates on software releases, feature rollouts, vehicle pricing changes, charging infrastructure, and app enhancements.\n\nIt’s a fast, dedicated source ideal for capturing technical and consumer sentiment trends—especially useful for tracking real-time updates that may not yet reach major financial media."
},
"typeVersion": 1.1
},
{
"id": "dc9766af-f3cf-4c56-9675-f308952a7d5d",
"name": "RSS - Google News 特斯拉专题",
"type": "n8n-nodes-base.rssFeedReadTool",
"position": [
360,
640
],
"parameters": {
"url": "https://news.google.com/rss/search?q=Tesla+OR+TSLA+stock&hl=en-US&gl=US&ceid=US:en",
"options": {},
"toolDescription": "This node pulls the latest Tesla-related headlines using the Google News RSS feed filtered by the search query Tesla OR TSLA stock. It aggregates news articles from multiple top-tier sources like CNBC, Reuters, Bloomberg, and more. The feed is regionally scoped to the U.S. and provided in English.\n\nThis node is typically used as the first step in Tesla sentiment analysis, providing real-time news updates for downstream summarization and sentiment classification."
},
"typeVersion": 1.1
},
{
"id": "acfe1510-c3cd-4aea-9a22-ea5a4a9969fa",
"name": "RSS - Electrek 特斯拉",
"type": "n8n-nodes-base.rssFeedReadTool",
"position": [
600,
640
],
"parameters": {
"url": "https://electrek.co/guides/tesla/feed/",
"options": {},
"toolDescription": "This node fetches Tesla-focused news from Electrek, a trusted source for electric vehicle and clean energy industry reporting. The feed includes updates on Tesla vehicles, software, charging infrastructure, factory production, and executive announcements.\n\nElectrek is considered one of the most in-depth sources for Tesla technology and operations, making it ideal for high-quality sentiment analysis beyond just stock price speculation.\n"
},
"typeVersion": 1.1
},
{
"id": "0410c7e4-49f0-4dcb-83c6-47d69a805f4e",
"name": "RSS - Yahoo Finance TSLA",
"type": "n8n-nodes-base.rssFeedReadTool",
"position": [
840,
640
],
"parameters": {
"url": "https://feeds.finance.yahoo.com/rss/2.0/headline?s=TSLA®ion=US&lang=en-US",
"options": {},
"toolDescription": "This node pulls TSLA-specific financial news from Yahoo Finance, offering timely updates on stock movements, earnings reports, analyst upgrades/downgrades, and broader market trends that impact Tesla. The feed is curated to provide high-signal information for traders and investors focused on Tesla’s financial outlook.\n\nIt’s ideal for generating sentiment insights directly tied to stock price catalysts and market positioning."
},
"typeVersion": 1.1
},
{
"id": "13b3c9e9-6f27-47ca-81b3-0b1dcd6e83f6",
"name": "RSS - CleanTechnica 特斯拉档案",
"type": "n8n-nodes-base.rssFeedReadTool",
"position": [
1080,
640
],
"parameters": {
"url": "https://cleantechnica.com/tag/tesla/feed/",
"options": {},
"toolDescription": "This node pulls Tesla-related content from CleanTechnica's Tesla archive RSS feed. It includes coverage of Tesla’s clean energy initiatives, vehicle technology, charging networks, battery advancements, and policy impacts.\n\nCleanTechnica offers insightful, environmentally focused reporting that adds depth to Tesla sentiment analysis, especially around sustainability and innovation narratives."
},
"typeVersion": 1.1
},
{
"id": "2b6f6765-5c71-4324-9d6b-784fb5b3edc9",
"name": "简单记忆",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
20,
640
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "c3880bbb-3238-43bb-b4a0-11cdd0da8154",
"name": "DeepSeek聊天模型",
"type": "@n8n/n8n-nodes-langchain.lmChatDeepSeek",
"position": [
-300,
640
],
"parameters": {
"options": {}
},
"credentials": {
"deepSeekApi": {
"id": "IFGrgxPb0zqN41tB",
"name": "DeepSeek account"
}
},
"typeVersion": 1
},
{
"id": "554f078b-2c38-4bb0-97f7-f8bbc577d0da",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-200,
100
],
"parameters": {
"color": 4,
"width": 280,
"height": 380,
"content": "## 来自父工作流的触发器"
},
"typeVersion": 1
},
{
"id": "06136f71-ea9a-42a0-b12b-cb1df01fe980",
"name": "便签 2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-60,
600
],
"parameters": {
"color": 3,
"height": 480,
"content": ""
},
"typeVersion": 1
},
{
"id": "df12641e-8bf0-4c5f-a934-71a3c6b3363d",
"name": "便签 5",
"type": "n8n-nodes-base.stickyNote",
"position": [
-380,
600
],
"parameters": {
"color": 2,
"height": 480,
"content": "## 短期记忆模块"
},
"typeVersion": 1
},
{
"id": "a53b7ad4-270a-4989-ab10-f1b1bc18451f",
"name": "便签 1",
"type": "n8n-nodes-base.stickyNote",
"position": [
240,
600
],
"parameters": {
"color": 6,
"width": 1240,
"height": 480,
"content": "## 🧠 DeepSeek(新闻解析)"
},
"typeVersion": 1
},
{
"id": "18e103b1-3e6f-4954-88e2-d51a05070e7f",
"name": "便签 3",
"type": "n8n-nodes-base.stickyNote",
"position": [
220,
40
],
"parameters": {
"color": 5,
"width": 480,
"height": 440,
"content": "## 📰 新闻源(工具)"
},
"typeVersion": 1
},
{
"id": "37533426-bb9a-404e-ae2b-11e4a3a34bb3",
"name": "便签 4",
"type": "n8n-nodes-base.stickyNote",
"position": [
1560,
-1340
],
"parameters": {
"width": 1260,
"height": 2420,
"content": "## 📊 新闻情绪分析师代理"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "32533aa3-e569-40cc-ae52-62f0d93db532",
"connections": {
"Simple Memory": {
"ai_memory": [
[
{
"node": "Tesla News and Sentiment Analyst",
"type": "ai_memory",
"index": 0
}
]
]
},
"RSS - TeslaNorth": {
"ai_tool": [
[
{
"node": "Tesla News and Sentiment Analyst",
"type": "ai_tool",
"index": 0
}
]
]
},
"DeepSeek Chat Model": {
"ai_languageModel": [
[
{
"node": "Tesla News and Sentiment Analyst",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"RSS - Electrek Tesla": {
"ai_tool": [
[
{
"node": "Tesla News and Sentiment Analyst",
"type": "ai_tool",
"index": 0
}
]
]
},
"RSS - Yahoo Finance TSLA": {
"ai_tool": [
[
{
"node": "Tesla News and Sentiment Analyst",
"type": "ai_tool",
"index": 0
}
]
]
},
"RSS - Google News Tesla-specific": {
"ai_tool": [
[
{
"node": "Tesla News and Sentiment Analyst",
"type": "ai_tool",
"index": 0
}
]
]
},
"When Executed by Another Workflow": {
"main": [
[
{
"node": "Tesla News and Sentiment Analyst",
"type": "main",
"index": 0
}
]
]
},
"RSS - CleanTechnica Tesla Archives": {
"ai_tool": [
[
{
"node": "Tesla News and Sentiment Analyst",
"type": "ai_tool",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 财务, 人工智能
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
CoinMarketCap_DEX扫描_代理_工具
使用CoinMarketCap AI代理分析DEX流动性、交易和现货对
Agent
Lm Chat Open Ai
Execute Workflow Trigger
+3
15 节点Don Jayamaha Jr
财务
Binance SM 15分钟指标工具
Binance SM 15分钟指标工具
Agent
Http Request Tool
Lm Chat Open Ai
+3
11 节点Don Jayamaha Jr
财务
Binance SM 1日指标工具
Binance SM 1日指标工具
Agent
Http Request Tool
Lm Chat Open Ai
+3
11 节点Don Jayamaha Jr
财务
币安现货市场1小时指标工具
Binance SM 1小时指标工具
Agent
Http Request Tool
Lm Chat Open Ai
+3
11 节点Don Jayamaha Jr
财务
Binance SM 4小时指标工具
Binance SM 4小时指标工具
Agent
Http Request Tool
Lm Chat Open Ai
+3
11 节点Don Jayamaha Jr
财务
币安价格-24小时统计-订单簿-K线工具
币安价格-24小时统计-订单簿-K线工具
Agent
Lm Chat Open Ai
Execute Workflow Trigger
+3
17 节点Don Jayamaha Jr
财务
工作流信息
难度等级
中级
节点数量15
分类2
节点类型6
作者
Don Jayamaha Jr
@don-the-gem-dealerWith 12 years of experience as a Blockchain Strategist and Web3 Architect, I specialize in bridging the gap between traditional industries and decentralized technologies. My expertise spans tokenized assets, crypto payment integrations, and blockchain-driven market solutions.
外部链接
在 n8n.io 查看 →
分享此工作流