8
n8n 中文网amn8n.com

HR 日期管理

高级

这是一个HR领域的自动化工作流,包含 18 个节点。主要使用 Set, Code, Gmail, Slack, GoogleSheets 等节点。 使用 JavaScript 实现 HR 员工日期跟踪和提醒自动化

前置要求
  • Google 账号和 Gmail API 凭证
  • Slack Bot Token 或 Webhook URL
  • Google Sheets API 凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "wh2ICMYuCn3U7mrZ",
  "meta": {
    "instanceId": "2000c64071c20843606b95c63795bb0797c41036047055a6586498e855b96efc",
    "templateCredsSetupCompleted": true
  },
  "name": "HR 日期管理",
  "tags": [],
  "nodes": [
    {
      "id": "43d8fac0-9a90-412f-9fa9-77f595c415eb",
      "name": "便签 - 品牌标识",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1580,
        380
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "675198c4-c91b-4212-8874-60f80fb4617f",
      "name": "便签 - 触发器",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1200,
        -60
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "af41c396-3933-44c3-8e2f-c4d9ddf4c6dc",
      "name": "当点击\"测试工作流\"时",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -1000,
        480
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "81bafe6c-d9b8-44a5-9785-4d3cf9d80902",
      "name": "便签 - 数据生成",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -860,
        -40
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "2628aaed-7e9a-467b-a4dd-6d4e00aef0c1",
      "name": "样本数据生成器",
      "type": "n8n-nodes-base.code",
      "position": [
        -620,
        280
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "4f461c74-32fb-4693-9de0-326e058532d7",
      "name": "便签 - 日期分析",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -580,
        680
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "a91f0d1d-3ff4-4509-8fef-056686e0aaed",
      "name": "日期分析与分类",
      "type": "n8n-nodes-base.code",
      "position": [
        -340,
        480
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "207ae8f1-ff57-4aa1-9dcf-f543149d9502",
      "name": "便签 - 提醒系统",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -340,
        -180
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "8ad28509-a7cf-496c-b8dd-2a5943f846c8",
      "name": "提醒调度器",
      "type": "n8n-nodes-base.code",
      "position": [
        -120,
        280
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "a458f5e6-dd02-4c30-9e28-9e163143574a",
      "name": "便签 - 智能过滤器",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        320,
        500
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "a59152e1-4f32-4a7b-9cd7-fafd53b5508c",
      "name": "高级日期过滤器",
      "type": "n8n-nodes-base.code",
      "position": [
        -120,
        680
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "bc1dc612-cf95-4c25-9b7c-7d034dfdc7ba",
      "name": "便签 - 导出系统",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        320,
        -40
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "f229c5d2-a72e-49dd-8f57-f54c2b9560c6",
      "name": "日期格式化与导出",
      "type": "n8n-nodes-base.code",
      "position": [
        100,
        580
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "e2b8cc13-352b-42bb-a04e-97c20608233b",
      "name": "Gmail",
      "type": "n8n-nodes-base.gmail",
      "position": [
        100,
        180
      ],
      "webhookId": "65a821a6-afd3-4fd7-8715-adda187feb09",
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "b983ee1b-98a8-4392-84e2-94ae80e594f8",
      "name": "Slack",
      "type": "n8n-nodes-base.slack",
      "position": [
        100,
        780
      ],
      "webhookId": "00d1e075-d92e-42b1-93e9-62c25871258d",
      "parameters": {},
      "typeVersion": 2.3
    },
    {
      "id": "d16289fc-1567-4888-b302-90959bcf1223",
      "name": "Google Calendar",
      "type": "n8n-nodes-base.googleCalendar",
      "position": [
        100,
        380
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "22fb7074-6994-4cda-8af0-cd48fa388971",
      "name": "编辑字段",
      "type": "n8n-nodes-base.set",
      "position": [
        -560,
        480
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "a8a6bab7-f7c1-4ddc-924b-4cdca8a72293",
      "name": "HR 数据",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -780,
        480
      ],
      "parameters": {},
      "typeVersion": 4.6
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "7cf5c8e1-e901-469f-8e4e-8f31a53e111f",
  "connections": {
    "HR DATA": {
      "main": [
        [
          {
            "node": "Edit Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields": {
      "main": [
        [
          {
            "node": "Date Analysis & Categorization",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Reminder Scheduler": {
      "main": [
        [
          {
            "node": "Gmail",
            "type": "main",
            "index": 0
          },
          {
            "node": "Google Calendar",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Advanced Date Filters": {
      "main": [
        [
          {
            "node": "Date Formatting & Export",
            "type": "main",
            "index": 0
          },
          {
            "node": "Slack",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Sample Data Generator": {
      "main": [
        []
      ]
    },
    "When clicking 'Test workflow'": {
      "main": [
        [
          {
            "node": "HR DATA",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Date Analysis & Categorization": {
      "main": [
        [
          {
            "node": "Reminder Scheduler",
            "type": "main",
            "index": 0
          },
          {
            "node": "Advanced Date Filters",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

高级 - 人力资源

需要付费吗?

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

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

适合高级用户,包含 16+ 个节点的复杂工作流

作者
David Olusola

David Olusola

@dae221

I help ambitious businesses eliminate operational bottlenecks and scale faster with AI automation. My clients typically see 40-60% efficiency gains within 90 days. Currently accepting 3 new projects this quarter - david@daexai.com

外部链接
在 n8n.io 查看

分享此工作流