n8n备份管家v3
高级
这是一个DevOps领域的自动化工作流,包含 21 个节点。主要使用 If, Code, Gmail, Telegram, HttpRequest 等节点。 工作流自动备份至GitHub,支持邮件/Telegram通知
前置要求
- •Google 账号和 Gmail API 凭证
- •Telegram Bot Token
- •可能需要目标 API 的认证凭证
分类
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "CoZQfRWF6W1aefv3",
"meta": {
"instanceId": "2d4b97f52377b00080bd41b0ce66bd68553d32852974b6b1df9d5b8b439728d9",
"templateCredsSetupCompleted": true
},
"name": "n8n BackupButler v3",
"tags": [
{
"id": "GviYgVwcOV5jZvGf",
"name": "tool agents",
"createdAt": "2025-05-19T16:06:57.753Z",
"updatedAt": "2025-05-19T16:06:57.753Z"
},
{
"id": "8fLouiGmzDJLJsrG",
"name": "n8n management",
"createdAt": "2025-06-13T08:55:51.766Z",
"updatedAt": "2025-06-13T08:55:51.766Z"
}
],
"nodes": [
{
"id": "89c33815-0a95-40e5-ae6c-3a53fca73ad1",
"name": "当点击\"测试工作流\"时",
"type": "n8n-nodes-base.manualTrigger",
"position": [
1220,
360
],
"parameters": {},
"typeVersion": 1
},
{
"id": "7b770371-ea6e-4388-a91c-6ab290473219",
"name": "创建_备份_包",
"type": "n8n-nodes-base.code",
"position": [
1320,
-580
],
"parameters": {},
"typeVersion": 2
},
{
"id": "1f27b64d-bdec-4701-b2a4-38b1d9cc0e5f",
"name": "获取_工作流",
"type": "n8n-nodes-base.httpRequest",
"position": [
880,
-580
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "6e44ca90-eb57-40b2-973f-553db43e9316",
"name": "检查_仓库_是否存在",
"type": "n8n-nodes-base.httpRequest",
"onError": "continueRegularOutput",
"position": [
1540,
-580
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "5fc2401f-20ab-4bd1-a340-2d6bca4fffe2",
"name": "如果_仓库_不存在",
"type": "n8n-nodes-base.if",
"position": [
1760,
-580
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "aa48b4df-8a1e-404a-8ff5-66c6af85f6b4",
"name": "清理_工作流",
"type": "n8n-nodes-base.code",
"position": [
1100,
-580
],
"parameters": {},
"typeVersion": 2
},
{
"id": "0b59f796-e563-47f5-9c0b-e8b4741ff1f3",
"name": "创建_仓库",
"type": "n8n-nodes-base.httpRequest",
"position": [
2060,
-520
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "076fad7a-28c3-4090-93cb-3ce167a2bb49",
"name": "分割_工作流_文件",
"type": "n8n-nodes-base.code",
"position": [
1240,
-300
],
"parameters": {},
"typeVersion": 2
},
{
"id": "225c9fbb-23a6-4c1b-ba53-3b304a1c6688",
"name": "备份_完成_摘要",
"type": "n8n-nodes-base.code",
"position": [
1680,
40
],
"parameters": {},
"typeVersion": 2
},
{
"id": "1994f553-a8a0-4137-8130-e33d85782afc",
"name": "上传_工作流_文件",
"type": "n8n-nodes-base.httpRequest",
"position": [
1660,
-240
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "26625ff2-662b-47bb-99f2-9ac9e2394150",
"name": "上传_README",
"type": "n8n-nodes-base.httpRequest",
"position": [
1080,
-300
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "f10321d3-ce4b-4a54-b661-3d2cc396822c",
"name": "上传_清单",
"type": "n8n-nodes-base.httpRequest",
"position": [
920,
-300
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "99d76a2d-1756-4912-bf67-75c71d1a3900",
"name": "循环_工作流_上传",
"type": "n8n-nodes-base.splitInBatches",
"position": [
1460,
-300
],
"parameters": {},
"typeVersion": 3
},
{
"id": "57cd3b4a-0f1a-4f8d-928c-fb2d39a9932c",
"name": "发送_备份_通知",
"type": "n8n-nodes-base.telegram",
"position": [
2080,
360
],
"webhookId": "11b90b62-96a3-4810-9e6f-91a04bc882dd",
"parameters": {},
"typeVersion": 1.2
},
{
"id": "a2392c3a-e96d-49c4-a397-97154fd6ff37",
"name": "备份_配置",
"type": "n8n-nodes-base.code",
"position": [
200,
-40
],
"parameters": {},
"typeVersion": 2
},
{
"id": "1ede5cc3-6b2e-4eb9-80ba-ff5ea269d7b8",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-540,
-620
],
"parameters": {
"content": "Emelia 触发器"
},
"typeVersion": 1
},
{
"id": "637a98e0-1c84-4e58-a0e9-cdc6c6a1e3b2",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
780,
260
],
"parameters": {
"content": "Emelia 触发器"
},
"typeVersion": 1
},
{
"id": "31c3c069-ab0a-45a1-94e6-a9aaa664dfa0",
"name": "每日",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
1220,
580
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "fd4e9a4c-37bc-4cc4-b159-947f7697aea2",
"name": "便签2",
"type": "n8n-nodes-base.stickyNote",
"position": [
1580,
260
],
"parameters": {
"content": "Emelia 触发器"
},
"typeVersion": 1
},
{
"id": "b65879f5-b95c-4035-a7d3-7dea9892fca8",
"name": "Gmail - 通知",
"type": "n8n-nodes-base.gmail",
"position": [
2080,
580
],
"webhookId": "943165b9-6d5e-44d2-8602-25c27519c282",
"parameters": {},
"typeVersion": 2.1
},
{
"id": "431ebde2-1a24-419a-8e1a-008d6053f43c",
"name": "便签3",
"type": "n8n-nodes-base.stickyNote",
"position": [
560,
-620
],
"parameters": {
"content": "Emelia 触发器"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "5a871447-511e-4710-aea7-a40656ca7947",
"connections": {
"Backup_Config": {
"main": [
[
{
"node": "Get_Workflows",
"type": "main",
"index": 0
}
]
]
},
"Get_Workflows": {
"main": [
[
{
"node": "Clean_Workflows",
"type": "main",
"index": 0
}
]
]
},
"Upload_README": {
"main": [
[
{
"node": "Split_Workflow_Files",
"type": "main",
"index": 0
}
]
]
},
"Clean_Workflows": {
"main": [
[
{
"node": "Create_Backup_Package",
"type": "main",
"index": 0
}
]
]
},
"Upload_Manifest": {
"main": [
[
{
"node": "Upload_README",
"type": "main",
"index": 0
}
]
]
},
"Create_Repository": {
"main": [
[
{
"node": "Upload_Manifest",
"type": "main",
"index": 0
}
]
]
},
"If_Repo_Not_Exists": {
"main": [
[
{
"node": "Create_Repository",
"type": "main",
"index": 0
}
],
[
{
"node": "Upload_Manifest",
"type": "main",
"index": 0
}
]
]
},
"Split_Workflow_Files": {
"main": [
[
{
"node": "Loop_Workflow_Uploads",
"type": "main",
"index": 0
}
]
]
},
"Create_Backup_Package": {
"main": [
[
{
"node": "Check_Repository_Exists",
"type": "main",
"index": 0
}
]
]
},
"Loop_Workflow_Uploads": {
"main": [
[
{
"node": "Backup_Complete_Summary",
"type": "main",
"index": 0
}
],
[
{
"node": "Upload_Workflow_Files",
"type": "main",
"index": 0
}
]
]
},
"Upload_Workflow_Files": {
"main": [
[
{
"node": "Loop_Workflow_Uploads",
"type": "main",
"index": 0
}
]
]
},
"Backup_Complete_Summary": {
"main": [
[
{
"node": "Gmail - Notification",
"type": "main",
"index": 0
}
]
]
},
"Check_Repository_Exists": {
"main": [
[
{
"node": "If_Repo_Not_Exists",
"type": "main",
"index": 0
}
]
]
},
"When clicking ‘Test workflow’": {
"main": [
[
{
"node": "Backup_Config",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
高级 - 开发运维
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
n8n网站停机监控
多网站监控系统,支持电话通知
If
Code
Gmail
+7
20 节点InfyOm Technologies
开发运维
自动化n8n工作流备份至GitHub并追踪删除
自动化n8n工作流备份至GitHub并追踪删除
If
N8n
Set
+13
31 节点Marcial Ambriz
开发运维
Typebot 流程与 GitHub 双向同步,使用 Typebot API
Typebot 流程与 GitHub 双向同步,使用 Typebot API
If
Set
Code
+12
31 节点Marcial Ambriz
开发运维
潜在客户开发与邮件工作流
使用Google Maps、SendGrid和AI自动化B2B潜在客户开发与邮件营销
If
Set
Code
+21
141 节点Ezema Kingsley Chibuzo
潜在客户开发
Apollo 数据抓取与触达流程 1 ✅
使用 Apollo、AI 解析和定时邮件跟进自动生成潜在客户
If
Code
Wait
+13
39 节点Deniz
内容创作
使用GPT-4o、WordPress和LinkedIn发布自动化RSS内容到博客文章
使用GPT-4o、WordPress和LinkedIn发布自动化RSS内容到博客文章
If
Set
Code
+21
40 节点Immanuel
人工智能