MAIA - 健康检查
中级
这是一个DevOps领域的自动化工作流,包含 7 个节点。主要使用 Telegram, HttpRequest, GoogleSheets, ScheduleTrigger 等节点。 使用Google表格和Telegram警报进行网站健康检查
前置要求
- •Telegram Bot Token
- •可能需要目标 API 的认证凭证
- •Google Sheets API 凭证
分类
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "wng5xcxlYA6jFS6n",
"meta": {
"instanceId": "d2672089b9e343ad3bc90ba1f1f190228becae384176d65238d27962069ff47d",
"templateCredsSetupCompleted": true
},
"name": "MAIA - 健康检查",
"tags": [],
"nodes": [
{
"id": "10335465-853d-47ea-aad7-34460c741b74",
"name": "无操作,不执行任何动作",
"type": "n8n-nodes-base.noOp",
"position": [
860,
-20
],
"parameters": {},
"typeVersion": 1
},
{
"id": "ea7771ba-3d35-423a-9813-2a65448a15fc",
"name": "Telegram",
"type": "n8n-nodes-base.telegram",
"position": [
860,
160
],
"webhookId": "6c02772a-8f40-4d9b-8fe5-220aac63c34e",
"parameters": {
"text": "=Health Check : {{ $json.URLS }}\n\n{{ $json.error.code }}",
"chatId": "1548053076",
"additionalFields": {
"appendAttribution": false
}
},
"credentials": {
"telegramApi": {
"id": "QYefc34gGshZQURo",
"name": "Telegram account"
}
},
"typeVersion": 1.2
},
{
"id": "bae03dc7-e35b-4760-8de8-151d2d97391b",
"name": "计划触发器",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
0,
0
],
"parameters": {
"rule": {
"interval": [
{
"field": "minutes"
}
]
}
},
"typeVersion": 1.2
},
{
"id": "a53fba9c-0f7e-4757-8bcd-e3622845e804",
"name": "获取URL",
"type": "n8n-nodes-base.googleSheets",
"position": [
220,
0
],
"parameters": {
"options": {},
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/17-tY9_wn-D2FV627Sx3-Z3abqFYvz794edej7es5J6w/edit#gid=0",
"cachedResultName": "Sheet1"
},
"documentId": {
"__rl": true,
"mode": "id",
"value": "17-tY9_wn-D2FV627Sx3-Z3abqFYvz794edej7es5J6w"
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "rh63B66L9pJsButh",
"name": "Google Sheets account"
}
},
"typeVersion": 4.5
},
{
"id": "c96a2070-953b-4a03-a308-dae92d841851",
"name": "检查URL",
"type": "n8n-nodes-base.httpRequest",
"onError": "continueErrorOutput",
"position": [
520,
0
],
"parameters": {
"url": "={{ $json.URLS }}",
"options": {}
},
"typeVersion": 4.2,
"alwaysOutputData": false
},
{
"id": "4fe54bbe-32ef-41d2-94f8-2a7d4ec175b6",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
160,
-220
],
"parameters": {
"content": "## 步骤 1"
},
"typeVersion": 1
},
{
"id": "96f8b3bb-d3e1-415a-a849-84b1d524acb5",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
800,
320
],
"parameters": {
"content": "## 步骤 2"
},
"typeVersion": 1
}
],
"active": true,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "704c7308-7759-4f31-ab94-c2c53e3c5ed7",
"connections": {
"Check URL": {
"main": [
[
{
"node": "No Operation, do nothing",
"type": "main",
"index": 0
}
],
[
{
"node": "Telegram",
"type": "main",
"index": 0
}
]
]
},
"Fetch Urls": {
"main": [
[
{
"node": "Check URL",
"type": "main",
"index": 0
}
]
]
},
"Schedule Trigger": {
"main": [
[
{
"node": "Fetch Urls",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 开发运维
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
AWS EC2 健康检查与自愈工作流
监控 AWS EC2 实例健康状态并实现多通道告警自愈
If
Code
Email Send
+6
14 节点Oneclick AI Squad
开发运维
Lighthouse报告
使用Lighthouse、Gemini AI、Telegram警报和Google Sheets监控核心网页指标
If
Code
Telegram
+6
13 节点Rully Saputra
开发运维
模板 - SSL到期警报系统
使用Google表格和多渠道警报监控SSL证书到期
Ntfy
Gmail
Switch
+5
21 节点Jesse Davids
开发运维
使用PageSpeed Insights监控网站性能并保存到Google Sheets并发送警报
使用PageSpeed Insights监控网站性能,发送警报到Google Sheets
If
Set
Code
+8
20 节点Dahiana
开发运维
n8n网站停机监控
多网站监控系统,支持电话通知
If
Code
Gmail
+7
20 节点InfyOm Technologies
开发运维
YouTube评论情感和关键词提取器
使用Gemini AI分析YouTube评论情感和关键词并通过Telegram报告
Set
Code
Telegram
+10
20 节点Budi SJ
市场调研