美股财报日历更新到Telegram (Finnhub + Gemini)
中级
这是一个AI领域的自动化工作流,包含 15 个节点。主要使用 Set, Code, Telegram, HttpRequest, Agent 等节点,结合人工智能技术实现智能自动化。 美股财报日历更新到Telegram (Finnhub + Gemini)
前置要求
- •Telegram Bot Token
- •可能需要目标 API 的认证凭证
- •Google Gemini API Key
使用的节点 (15)
分类
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"meta": {
"instanceId": "d04643ba872bb0fb252ed2c8197858d58cc47dd3c15ff6d08b19addd679e927b",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "8347d92e-7507-4f3f-bcea-4741bf697402",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1060,
-480
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "0ef0eb9f-d95d-4b4c-81c0-7f6dc1632c87",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-340,
-440
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "b3bff7e3-3c10-4925-9922-9e73e8c015de",
"name": "便签2",
"type": "n8n-nodes-base.stickyNote",
"position": [
180,
-500
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "04130ead-786e-4776-a2fa-88899308bcbe",
"name": "便签3",
"type": "n8n-nodes-base.stickyNote",
"position": [
1400,
-520
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "2f60f7eb-757e-44d1-a126-f22c1307237c",
"name": "便签4",
"type": "n8n-nodes-base.stickyNote",
"position": [
1840,
-520
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "f8f58c60-a553-4824-8244-d5cfaf6c4bd0",
"name": "为 Finhubb 和日期设置 API 密钥",
"type": "n8n-nodes-base.set",
"position": [
-200,
-200
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "862a3e63-ebd7-4ecd-a17b-5989c1497890",
"name": "动态设置日期",
"type": "n8n-nodes-base.code",
"position": [
-560,
-200
],
"parameters": {},
"typeVersion": 2
},
{
"id": "c27c6bb0-f33d-4db1-bfc4-39b93ee1ef86",
"name": "AI Agent",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
1020,
-180
],
"parameters": {},
"typeVersion": 1.9
},
{
"id": "6b9ad8e2-0fbf-47f1-a7d5-2d609150ed50",
"name": "结构化输出解析器",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
1300,
180
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "e49a76e9-bcff-4273-8d0d-7104b11d7dbc",
"name": "通过 Telegram 发送即将到来的收益更新",
"type": "n8n-nodes-base.telegram",
"position": [
1560,
-180
],
"webhookId": "0aec5567-7da9-4d73-bdb9-95783afb9bf5",
"parameters": {},
"typeVersion": 1.2
},
{
"id": "01bb4be7-1d34-4e83-85e6-1f446937aa01",
"name": "每 3 天调度一次",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
-940,
-200
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "a9b76167-29bb-4c87-a678-ef9a96a49fc7",
"name": "组织输入",
"type": "n8n-nodes-base.code",
"position": [
720,
-180
],
"parameters": {},
"typeVersion": 2
},
{
"id": "288aebee-82e4-4653-afee-e2b9868422ee",
"name": "便利贴5",
"type": "n8n-nodes-base.stickyNote",
"position": [
860,
80
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "f3449ad7-d4ff-4176-a27f-aa2f0f508891",
"name": "获取即将到来的收益",
"type": "n8n-nodes-base.httpRequest",
"position": [
340,
-180
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "0d72b101-65e1-47fa-b14d-a24ff121e9dc",
"name": "Google Gemini 聊天模型(格式化输出)",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"position": [
980,
180
],
"parameters": {},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"AI Agent": {
"main": [
[
{
"node": "Send Upcoming Earning Updates via Telegram",
"type": "main",
"index": 0
}
]
]
},
"Organizes Input": {
"main": [
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
]
]
},
"Schedule Every 3 Days": {
"main": [
[
{
"node": "Dynamically Sets the Date",
"type": "main",
"index": 0
}
]
]
},
"Gets Upcoming Earnings": {
"main": [
[
{
"node": "Organizes Input",
"type": "main",
"index": 0
}
]
]
},
"Structured Output Parser": {
"ai_outputParser": [
[
{
"node": "AI Agent",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"Dynamically Sets the Date": {
"main": [
[
{
"node": "Set API Key for Finhubb & Dates",
"type": "main",
"index": 0
}
]
]
},
"Set API Key for Finhubb & Dates": {
"main": [
[
{
"node": "Gets Upcoming Earnings",
"type": "main",
"index": 0
}
]
]
},
"Google Gemini Chat Model (Formats Output)": {
"ai_languageModel": [
[
{
"node": "AI Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Send Upcoming Earning Updates via Telegram": {
"main": [
[]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 人工智能
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
通过 Telegram 使用 Finnhub API 和 Gemini AI 获取 IPO 日历提醒
通过 Telegram 使用 Finnhub API 和 Gemini AI 获取 IPO 日历提醒
Set
Code
Telegram
+6
15 节点Malik Hashir
加密货币交易
使用Gemini-2.0-Flash发送AI增强经济日历提醒到Telegram
使用Gemini-2.0-Flash发送AI增强经济日历提醒到Telegram
Set
Code
Telegram
+6
17 节点Malik Hashir
加密货币交易
理想客户画像(ICP)生成:AI、Firecrawl、Gemini、Telegram
理想客户画像(ICP)生成:AI、Firecrawl、Gemini、Telegram
If
Set
Wait
+9
24 节点Malik Hashir
人工智能
使用Gemini 2.5 Pro和TwelveData通过Telegram机器人生成股票交易信号
使用Gemini 2.5 Pro和TwelveData通过Telegram机器人生成股票交易信号
Set
Code
Wait
+9
36 节点Malik Hashir
内容创作
从 Finnhub 发送定时金融市场新闻更新到 Telegram
从 Finnhub 发送定时金融市场新闻更新到 Telegram
Set
Code
Telegram
+3
12 节点Malik Hashir
人工智能
外汇新闻与情绪Telegram提醒
外汇新闻与情绪Telegram提醒
Code
Merge
Filter
+6
22 节点Malik Hashir
财务