8
n8n 中文网amn8n.com

品牌资产文件夹自动化与客户通知

中级

这是一个File Management领域的自动化工作流,包含 8 个节点。主要使用 Set, Gmail, Slack, GoogleDrive, GoogleSheetsTrigger 等节点。 使用Google Drive、Gmail和Slack通知自动化客户项目入职

前置要求
  • Google 账号和 Gmail API 凭证
  • Slack Bot Token 或 Webhook URL
  • Google Drive API 凭证
  • Google Sheets API 凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "jmS6Qy4SvpqfkhrP",
  "meta": {
    "instanceId": "a287613f1596da776459594685fbf4e2b4a12124f80ab8c8772f5e37bff103ae",
    "templateCredsSetupCompleted": true
  },
  "name": "品牌资产文件夹自动化与客户通知",
  "tags": [],
  "nodes": [
    {
      "id": "172ce921-4c79-4a36-a2ec-01b64dd21bad",
      "name": "创建项目文件夹",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        200,
        -220
      ],
      "parameters": {
        "name": "={{ $json.client_name }}",
        "options": {},
        "resource": "drive",
        "authentication": "oAuth2"
      },
      "credentials": {
        "googleDriveOAuth2Api": {
          "id": "x21v1WYanfJMbdKO",
          "name": "Google Drive account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "9767a498-c0dd-48f4-a185-5b1da3c19b67",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -320,
        -280
      ],
      "parameters": {
        "width": 1160,
        "height": 240,
        "content": "## 流程"
      },
      "typeVersion": 1
    },
    {
      "id": "407f1185-9cca-43ef-a0b7-2cc0a9ecd76b",
      "name": "通知团队 Slack",
      "type": "n8n-nodes-base.slack",
      "position": [
        640,
        -220
      ],
      "parameters": {
        "text": "=🎉 New onboarding started: {{ $('Edit Fields').item.json.client_name }} - {{ $('Edit Fields').item.json.project_type }} (Due {{ $('Edit Fields').item.json.deadline }})",
        "channel": "#ops",
        "attachments": [],
        "otherOptions": {}
      },
      "typeVersion": 1
    },
    {
      "id": "6e55e74a-aeed-48ba-9256-02237d327379",
      "name": "Gmail",
      "type": "n8n-nodes-base.gmail",
      "position": [
        420,
        -220
      ],
      "webhookId": "1c7da0c9-84d0-4043-b465-fe1675c68f29",
      "parameters": {
        "sendTo": "={{ $json.contact_email }}",
        "message": "=Hi {{ $json.client_name }},\n\nThanks for choosing us for your project: {{ $json.project_type }}\n\nWe’ve created a dedicated Drive folder for your files and assets: {{ $json.brand_drive_folder }}\n\nThe expected deadline is {{ $json.deadline }}, and we’ll be supporting you every step of the way.\n\nIf you have questions, just reply to this email.\n\nCheers,  \nThe Neura Forge Team\n",
        "options": {},
        "subject": "=Welcome to Your Project: {{ $json.project_type }}",
        "emailType": "text"
      },
      "credentials": {
        "gmailOAuth2": {
          "id": "QFfaHpKmgq4YPiRN",
          "name": "Temp"
        }
      },
      "typeVersion": 2.1
    },
    {
      "id": "379b7a46-591a-417f-8bbb-d6512e680cb9",
      "name": "获取简报",
      "type": "n8n-nodes-base.set",
      "position": [
        -20,
        -220
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "ffa83172-5dc5-4c96-b12f-97341b8e5353",
              "name": "client_name",
              "type": "string",
              "value": ""
            },
            {
              "id": "cc2e6229-be93-4105-a567-4fa1fd0f70dd",
              "name": "contact_email",
              "type": "string",
              "value": ""
            },
            {
              "id": "c79c2ceb-ad1c-4682-9644-10b8aaa412fc",
              "name": "project_type",
              "type": "string",
              "value": ""
            },
            {
              "id": "83fe9c2d-3f46-4832-9509-b7aef48a609b",
              "name": "deadline",
              "type": "string",
              "value": ""
            },
            {
              "id": "31e20af4-e807-409f-802c-04cfc79daa0c",
              "name": "brand_drive_folder",
              "type": "string",
              "value": ""
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "68e27ad8-5985-406e-9e49-4abcc7ad623c",
      "name": "Google Sheets 触发器",
      "type": "n8n-nodes-base.googleSheetsTrigger",
      "position": [
        -240,
        -220
      ],
      "parameters": {
        "event": "rowUpdate",
        "options": {},
        "pollTimes": {
          "item": [
            {
              "mode": "everyMinute"
            }
          ]
        },
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": ""
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": ""
        }
      },
      "credentials": {
        "googleSheetsTriggerOAuth2Api": {
          "id": "nvSvynB2kgypuGYX",
          "name": "Google Sheets Trigger account 2"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "50e3c83d-6c47-41f7-a70a-52effef4ef54",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -320,
        0
      ],
      "parameters": {
        "color": 3,
        "width": 840,
        "height": 860,
        "content": "# 品牌资产文件夹自动化与客户通知"
      },
      "typeVersion": 1
    },
    {
      "id": "e445df5a-f051-43ab-ae8b-a473fe9eb50d",
      "name": "便签 2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        540,
        0
      ],
      "parameters": {
        "color": 4,
        "width": 300,
        "height": 300,
        "content": "# Google 表格格式"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "8ad9dd11-89b7-444d-b360-5366f8c8ca1c",
  "connections": {
    "Gmail": {
      "main": [
        [
          {
            "node": "Notify Team Slack",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields": {
      "main": [
        [
          {
            "node": "Create Project Folder",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Project Folder": {
      "main": [
        [
          {
            "node": "Gmail",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Sheets Trigger": {
      "main": [
        [
          {
            "node": "Edit Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。

这个工作流适合什么场景?

中级 - 文件管理

需要付费吗?

本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。

工作流信息
难度等级
中级
节点数量8
分类1
节点类型6
难度说明

适合有一定经验的用户,包含 6-15 个节点的中等复杂度工作流

外部链接
在 n8n.io 查看

分享此工作流