选择性 Forex Factory 日历导入和清理到 Google Calendar
中级
这是一个Crypto Trading, Miscellaneous, Multimodal AI领域的自动化工作流,包含 11 个节点。主要使用 If, Switch, SplitOut, HttpRequest, GoogleCalendar 等节点。 选择性 Forex Factory 日历导入和清理到 Google Calendar
前置要求
- •可能需要目标 API 的认证凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"meta": {
"instanceId": "84b390fbc5fa25072285b148d9fdc04a69134c7197b10b734c5b01fb008ddd54",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "eaf2563f-41a2-457a-8ad7-760b48b95489",
"name": "HTTP 请求",
"type": "n8n-nodes-base.httpRequest",
"position": [
-848,
288
],
"parameters": {
"url": "https://nfs.faireconomy.media/ff_calendar_thisweek.ics",
"options": {}
},
"typeVersion": 4.2
},
{
"id": "16c889a9-2cb8-45d8-a136-eedbe0e9e8d0",
"name": "从文件提取",
"type": "n8n-nodes-base.extractFromFile",
"position": [
-624,
288
],
"parameters": {
"options": {},
"operation": "fromIcs"
},
"typeVersion": 1
},
{
"id": "2719cacf-8641-42b0-b1c8-50ae37fa41c4",
"name": "分离",
"type": "n8n-nodes-base.splitOut",
"position": [
-400,
288
],
"parameters": {
"include": "allOtherFields",
"options": {},
"fieldToSplitOut": "data.events"
},
"typeVersion": 1
},
{
"id": "cfcb06d7-23a3-40eb-bcd8-e810255aece4",
"name": "高影响",
"type": "n8n-nodes-base.googleCalendar",
"position": [
48,
96
],
"parameters": {
"end": "={{ $json['data.events'].end.date }}",
"start": "={{ $json['data.events'].start.date }}",
"calendar": {
"__rl": true,
"mode": "list",
"value": " ",
"cachedResultName": " "
},
"remindersUi": {
"remindersValues": [
{
"method": "popup",
"minutes": 30
}
]
},
"additionalFields": {
"summary": "={{ $json['data.events'].summary }}",
"description": "={{ $json['data.events'].description }}"
},
"useDefaultReminders": false
},
"credentials": {
"googleCalendarOAuth2Api": {
"id": " ",
"name": " "
}
},
"typeVersion": 1.3
},
{
"id": "0f501aa6-6d40-49b3-903f-c5acf7b6423e",
"name": "切换",
"type": "n8n-nodes-base.switch",
"position": [
-176,
272
],
"parameters": {
"rules": {
"values": [
{
"outputKey": "HIgh",
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "79ddf6a3-4f9c-4978-b34f-5113e98b47b8",
"operator": {
"type": "string",
"operation": "contains"
},
"leftValue": "={{ $json['data.events'].description }}",
"rightValue": "High"
}
]
},
"renameOutput": true
},
{
"outputKey": "Medium",
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "bba3fcc5-e494-496d-a840-3a6d5b693640",
"operator": {
"type": "string",
"operation": "contains"
},
"leftValue": "={{ $json['data.events'].description }}",
"rightValue": "Medium"
}
]
},
"renameOutput": true
},
{
"outputKey": "Low",
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "fca7f801-ab1e-4ef5-946c-92835adce08f",
"operator": {
"type": "string",
"operation": "contains"
},
"leftValue": "={{ $json['data.events'].description }}",
"rightValue": "Low"
}
]
},
"renameOutput": true
}
]
},
"options": {}
},
"typeVersion": 3.2
},
{
"id": "f4009c16-66f3-4179-a39e-0fb1f45a4249",
"name": "中影响",
"type": "n8n-nodes-base.googleCalendar",
"position": [
48,
288
],
"parameters": {
"end": "={{ $json['data.events'].end.date }}",
"start": "={{ $json['data.events'].start.date }}",
"calendar": {
"__rl": true,
"mode": "list",
"value": " ",
"cachedResultName": " "
},
"additionalFields": {
"summary": "={{ $json['data.events'].summary }}",
"description": "={{ $json['data.events'].description }}"
},
"useDefaultReminders": false
},
"credentials": {
"googleCalendarOAuth2Api": {
"id": " ",
"name": " "
}
},
"typeVersion": 1.3
},
{
"id": "559811d1-a009-4f7e-86a5-4d0041487c56",
"name": "周日 下午 6 点",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
-1072,
480
],
"parameters": {
"rule": {
"interval": [
{
"field": "weeks",
"triggerAtHour": 18
}
]
}
},
"typeVersion": 1.2
},
{
"id": "b698f665-d6d0-4db9-879e-af35de2b4e1a",
"name": "如果 ForexFactory.com 事件",
"type": "n8n-nodes-base.if",
"position": [
-176,
624
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "e29bef4d-6889-4593-80a2-b063ee157730",
"operator": {
"type": "string",
"operation": "contains"
},
"leftValue": "={{ $json.description }}",
"rightValue": "forexfactory.com"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "6fe66cd3-059e-4df3-bbd0-1c7d8b9da58a",
"name": "无操作,不执行任何动作",
"type": "n8n-nodes-base.noOp",
"position": [
48,
480
],
"parameters": {},
"typeVersion": 1
},
{
"id": "c9ae89bd-8b6a-43a7-9a7c-5ba44e9365a5",
"name": "删除事件",
"type": "n8n-nodes-base.googleCalendar",
"position": [
48,
672
],
"parameters": {
"eventId": "={{ $json.id }}",
"options": {},
"calendar": {
"__rl": true,
"mode": "list",
"value": " ",
"cachedResultName": " "
},
"operation": "delete"
},
"credentials": {
"googleCalendarOAuth2Api": {
"id": " ",
"name": " "
}
},
"typeVersion": 1.3
},
{
"id": "7168fabc-32de-4b25-a2b2-ae0c07881d12",
"name": "获取所有事件(10 天前)",
"type": "n8n-nodes-base.googleCalendar",
"position": [
-400,
624
],
"parameters": {
"options": {},
"timeMax": "={{ $now }}",
"timeMin": "={{ $now.minus(10, 'days') }}",
"calendar": {
"__rl": true,
"mode": "list",
"value": " ",
"cachedResultName": " "
},
"operation": "getAll",
"returnAll": true
},
"credentials": {
"googleCalendarOAuth2Api": {
"id": " ",
"name": " "
}
},
"typeVersion": 1.3
}
],
"pinData": {},
"connections": {
"Switch": {
"main": [
[
{
"node": "High Impact",
"type": "main",
"index": 0
}
],
[
{
"node": "Medium Impact",
"type": "main",
"index": 0
}
],
[
{
"node": "No Operation, do nothing",
"type": "main",
"index": 0
}
]
]
},
"Split Out": {
"main": [
[
{
"node": "Switch",
"type": "main",
"index": 0
}
]
]
},
"Sunday 6 PM": {
"main": [
[
{
"node": "HTTP Request",
"type": "main",
"index": 0
},
{
"node": "Get All Event 10 Days Before",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request": {
"main": [
[
{
"node": "Extract from File",
"type": "main",
"index": 0
}
]
]
},
"Extract from File": {
"main": [
[
{
"node": "Split Out",
"type": "main",
"index": 0
}
]
]
},
"If ForexFactory.com event": {
"main": [
[
{
"node": "Delete an event",
"type": "main",
"index": 0
}
],
[
{
"node": "No Operation, do nothing",
"type": "main",
"index": 0
}
]
]
},
"Get All Event 10 Days Before": {
"main": [
[
{
"node": "If ForexFactory.com event",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 加密货币交易, 杂项, 多模态 AI
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
追踪并分析外汇新闻交易结果
使用 MyFxBook 和 Google Sheets 追踪并分析外汇新闻交易结果
If
Set
Markdown
+5
17 节点Harry Gunadi Permana
杂项
PDF 转订单
使用AI将PDF采购订单自动化转换为Adobe Commerce销售订单
If
Set
Code
+19
96 节点JKingma
文档提取
自动化外汇新闻提醒系统
使用Forex Factory和Telegram的自动化外汇新闻提醒系统
If
Set
Wait
+4
16 节点Harry Gunadi Permana
加密货币交易
每日 WhatsApp 群组智能分析:GPT-4.1 分析与语音消息转录
每日 WhatsApp 群组智能分析:GPT-4.1 分析与语音消息转录
If
Set
Code
+20
52 节点Daniel Lianes
杂项
使用Mistral AI OCR和JigsawStack分类和提取平面图数据
使用Mistral AI OCR和JigsawStack分类和提取平面图数据
If
Code
Switch
+6
24 节点Stephan Koning
杂项
使用Gemini AI视觉分析与Telegram警报监控X平台品牌提及
使用Gemini AI视觉分析与Telegram警报监控X平台品牌提及
If
Set
Code
+13
24 节点Atta
杂项