Google Drive文件夹结构克隆器 - 可视化
中级
这是一个IT Ops领域的自动化工作流,包含 11 个节点。主要使用 If, Code, HttpRequest, ManualTrigger 等节点。 使用自定义命名克隆Google Drive中的嵌套文件夹结构
前置要求
- •可能需要目标 API 的认证凭证
使用的节点 (11)
分类
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"meta": {
"templateCredsSetupCompleted": true
},
"name": "Google Drive 文件夹结构克隆器 - 可视化",
"tags": [
"google-drive",
"folder-management",
"automation"
],
"nodes": [
{
"id": "trigger-node",
"name": "当点击\"测试工作流\"时",
"type": "n8n-nodes-base.manualTrigger",
"position": [
80,
300
],
"parameters": {},
"typeVersion": 1
},
{
"id": "config-node",
"name": "⚙️ 配置 - 编辑上方3个变量",
"type": "n8n-nodes-base.code",
"position": [
280,
300
],
"parameters": {},
"typeVersion": 2
},
{
"id": "get-folders",
"name": "📁 获取所有文件夹",
"type": "n8n-nodes-base.httpRequest",
"position": [
480,
300
],
"parameters": {},
"typeVersion": 4.1
},
{
"id": "iterative-processor",
"name": "🔄 处理文件夹",
"type": "n8n-nodes-base.code",
"position": [
680,
300
],
"parameters": {},
"typeVersion": 2
},
{
"id": "should-create",
"name": "🔀 是否创建?",
"type": "n8n-nodes-base.if",
"position": [
880,
300
],
"parameters": {},
"typeVersion": 2
},
{
"id": "create-folder",
"name": "✨ 创建文件夹",
"type": "n8n-nodes-base.httpRequest",
"position": [
1080,
200
],
"parameters": {},
"typeVersion": 4.1
},
{
"id": "final-report",
"name": "📊 最终报告",
"type": "n8n-nodes-base.code",
"position": [
1280,
200
],
"parameters": {},
"typeVersion": 2
},
{
"id": "readme-note",
"name": "README",
"type": "n8n-nodes-base.stickyNote",
"position": [
80,
80
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "config-section",
"name": "配置帮助",
"type": "n8n-nodes-base.stickyNote",
"position": [
200,
420
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "processing-section",
"name": "处理信息",
"type": "n8n-nodes-base.stickyNote",
"position": [
600,
420
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "troubleshooting-note",
"name": "故障排除",
"type": "n8n-nodes-base.stickyNote",
"position": [
1200,
420
],
"parameters": {
"content": ""
},
"typeVersion": 1
}
],
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"updatedAt": "2025-05-23T12:00:00.000Z",
"versionId": "12",
"staticData": null,
"connections": {
"create-folder": {
"main": [
[
{
"node": "final-report",
"type": "main",
"index": 0
}
]
]
},
"should-create": {
"main": [
[
{
"node": "create-folder",
"type": "main",
"index": 0
}
]
]
},
"get-folders": {
"main": [
[
{
"node": "iterative-processor",
"type": "main",
"index": 0
}
]
]
},
"iterative-processor": {
"main": [
[
{
"node": "should-create",
"type": "main",
"index": 0
}
]
]
},
"trigger-node": {
"main": [
[
{
"node": "config-node",
"type": "main",
"index": 0
}
]
]
},
"config-node": {
"main": [
[
{
"node": "get-folders",
"type": "main",
"index": 0
}
]
]
}
},
"triggerCount": 0
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - IT 运维
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
↔️ Airtable批量处理
Airtable批量更新/插入行(发送更快+节省API调用请求)
If
Set
Code
+
If
Set
Code
35 节点Simon Mayerhofer
IT 运维
Google 日历到 Sheets 模板 v1.0
自动将 Google 日历事件同步到 Google Sheets 跟踪器
If
Set
Code
+
If
Set
Code
20 节点Alex Halfborg
IT 运维
CSV到HubSpot上传器(动态字段映射与Google Sheets集成)
具有动态字段映射和Google Sheets集成的CSV到HubSpot上传器
If
Set
Code
+
If
Set
Code
36 节点PollupAI
人工智能
使用Mistral OCR和Gemini从Google
使用Mistral OCR和Gemini从Google Drive中提取发票数据到Sheets
If
Code
Merge
+
If
Code
Merge
29 节点Ysqander
财务
AI智能助手:与Supabase存储和Google Drive文件对话
AI智能助手:与Supabase存储和Google Drive文件对话
If
Set
Wait
+
If
Set
Wait
62 节点Mark Shcherbakov
工程
与Supabase存储中文件对话的AI智能体
与Supabase存储中文件对话的AI智能体
If
Merge
Switch
+
If
Merge
Switch
33 节点Mark Shcherbakov
工程