通过 Telegram 使用 Finnhub API 和 Gemini AI 获取 IPO 日历提醒
中级
这是一个Crypto Trading, AI Summarization领域的自动化工作流,包含 15 个节点。主要使用 Set, Code, Telegram, HttpRequest, Agent 等节点。 通过 Telegram 使用 Finnhub API 和 Gemini AI 获取 IPO 日历提醒
前置要求
- •Telegram Bot Token
- •可能需要目标 API 的认证凭证
- •Google Gemini API Key
使用的节点 (15)
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"meta": {
"instanceId": "d04643ba872bb0fb252ed2c8197858d58cc47dd3c15ff6d08b19addd679e927b",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "e494e461-9cea-4e9d-a7ee-46d2cfe6da40",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1060,
-480
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "cc48535d-9e80-477a-9ac9-d5b397f63f23",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-340,
-440
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "8c194792-6899-44ee-834c-c8420ef93ee5",
"name": "便签 2",
"type": "n8n-nodes-base.stickyNote",
"position": [
180,
-500
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "25b6f380-e329-47e2-9bae-e97ad38196e0",
"name": "便签 3",
"type": "n8n-nodes-base.stickyNote",
"position": [
1400,
-520
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "58d73bcc-d9a1-4f48-b20f-1004951b0077",
"name": "便签 4",
"type": "n8n-nodes-base.stickyNote",
"position": [
1840,
-520
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "373e7bf3-35cf-447e-b936-30de5e7077ed",
"name": "设置 Finhubb API 密钥和日期",
"type": "n8n-nodes-base.set",
"position": [
-200,
-200
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "174c446e-f69c-4950-96e4-f5a9403e3e95",
"name": "动态设置日期",
"type": "n8n-nodes-base.code",
"position": [
-560,
-200
],
"parameters": {},
"typeVersion": 2
},
{
"id": "ab34f816-3dd1-4401-8f77-2c315b8a2157",
"name": "AI 代理",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
1020,
-180
],
"parameters": {},
"typeVersion": 1.9
},
{
"id": "dbaf3740-ea86-4c95-b041-a59551549af4",
"name": "结构化输出解析器",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
1300,
180
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "c7f32849-5ba1-4ade-b742-e90f3909d86c",
"name": "组织输入",
"type": "n8n-nodes-base.code",
"position": [
720,
-180
],
"parameters": {},
"typeVersion": 2
},
{
"id": "4b8749b0-3472-4d9d-b9dc-da3626f0dd1b",
"name": "便签 5",
"type": "n8n-nodes-base.stickyNote",
"position": [
860,
80
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "177c9d31-3857-47f6-aee2-a845cdd3790b",
"name": "获取即将发布的财报",
"type": "n8n-nodes-base.httpRequest",
"position": [
340,
-180
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "105c86b5-109b-403c-ba42-e3b02f6624a3",
"name": "Google Gemini 聊天模型(格式化输出)",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"position": [
980,
180
],
"parameters": {},
"typeVersion": 1
},
{
"id": "db29a1b0-f9e0-4640-8e88-75475a725f47",
"name": "每 7 天定时执行",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
-940,
-200
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "f0b24a1a-a9ef-48d1-a740-46edecf630a2",
"name": "通过 Telegram 发送即将发布的 IPO 日历更新",
"type": "n8n-nodes-base.telegram",
"position": [
1560,
-180
],
"webhookId": "5553904c-99eb-461d-9c74-ec7093c93bd9",
"parameters": {},
"typeVersion": 1.2
}
],
"pinData": {},
"connections": {
"AI Agent": {
"main": [
[
{
"node": "Send Upcoming IPO Calendar Updates via Telegram",
"type": "main",
"index": 0
}
]
]
},
"Organizes Input": {
"main": [
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
]
]
},
"Gets Upcoming Earnings": {
"main": [
[
{
"node": "Organizes Input",
"type": "main",
"index": 0
}
]
]
},
"Schedule Every 7 Days": {
"main": [
[
{
"node": "Dynamically Sets the Date",
"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 IPO Calendar Updates via Telegram": {
"main": [
[]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 加密货币交易, AI 摘要总结
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
使用Gemini-2.0-Flash发送AI增强经济日历提醒到Telegram
使用Gemini-2.0-Flash发送AI增强经济日历提醒到Telegram
Set
Code
Telegram
+6
17 节点Malik Hashir
加密货币交易
美股财报日历更新到Telegram (Finnhub + Gemini)
美股财报日历更新到Telegram (Finnhub + Gemini)
Set
Code
Telegram
+6
15 节点Malik Hashir
人工智能
自动化24/7加密货币新闻推送至X、Telegram和Discord(Gemini驱动)
自动化24/7加密货币新闻推送至X、Telegram和Discord(Gemini驱动)
Set
Filter
Discord
+6
28 节点Malik Hashir
加密货币交易
使用Gemini 2.5 Pro和TwelveData通过Telegram机器人生成股票交易信号
使用Gemini 2.5 Pro和TwelveData通过Telegram机器人生成股票交易信号
Set
Code
Wait
+9
36 节点Malik Hashir
内容创作
使用Gemini AI视觉分析与Telegram警报监控X平台品牌提及
使用Gemini AI视觉分析与Telegram警报监控X平台品牌提及
If
Set
Code
+13
24 节点Atta
杂项
SOL/USDT多时间框架AI市场分析器与交易系统(含Telegram审批)
使用Gemini AI、多时间框架分析和AFK Crypto自动化Solana交易
If
Code
Wait
+7
56 节点Jeff
加密货币交易