8
n8n 中文网amn8n.com

考勤Telegram应用

高级

这是一个HR, Miscellaneous, Multimodal AI领域的自动化工作流,包含 31 个节点。主要使用 If, Telegram, Aggregate, FunctionItem, GoogleSheets 等节点。 员工考勤追踪系统,使用Telegram机器人和Google表格

前置要求
  • Telegram Bot Token
  • Google Sheets API 凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "MoDcla5XtsTZBDyz",
  "meta": {
    "instanceId": "27c9fed5302a1d78c5018e75c12e656b21fc8d2e98b85757994bc8d3e3bbcddb",
    "templateCredsSetupCompleted": true
  },
  "name": "考勤 Telegram 应用",
  "tags": [],
  "nodes": [
    {
      "id": "c4893eb0-6cfc-436a-9ebe-9871b0eceeae",
      "name": "Telegram 触发器",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -128,
        128
      ],
      "webhookId": "2d3acc14-84e2-46e3-b0df-6b10cecc87c5",
      "parameters": {
        "updates": [
          "message",
          "callback_query"
        ],
        "additionalFields": {}
      },
      "credentials": {
        "telegramApi": {
          "id": "5dDVtWv5tGqTARRX",
          "name": "Telegram account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "7ec13d8c-2d87-43a2-b38a-9e0a899bb3d0",
      "name": "如果 /start|/menu",
      "type": "n8n-nodes-base.if",
      "position": [
        144,
        -384
      ],
      "parameters": {
        "conditions": {
          "string": [
            {
              "value1": "={{ String($json.message?.text || $json.channel_post?.text || '') }}",
              "value2": "^/(start|menu)$",
              "operation": "regex"
            }
          ]
        }
      },
      "typeVersion": 1
    },
    {
      "id": "85592562-59b7-4149-a61a-8a1d00ad78a6",
      "name": "发送主菜单",
      "type": "n8n-nodes-base.telegram",
      "position": [
        352,
        -400
      ],
      "webhookId": "d380573c-d403-4ef8-a2ff-fe84aa0468c1",
      "parameters": {
        "text": "Please select an option:",
        "chatId": "={{ $json.message?.chat?.id }}",
        "replyMarkup": "inlineKeyboard",
        "inlineKeyboard": {
          "rows": [
            {
              "row": {
                "buttons": [
                  {
                    "text": "🕘 Check In/Out",
                    "additionalFields": {
                      "callback_data": "menu_attendance"
                    }
                  }
                ]
              }
            },
            {
              "row": {
                "buttons": [
                  {
                    "text": "📊 Today’s Attendance Status",
                    "additionalFields": {
                      "callback_data": "menu_attendance_status"
                    }
                  }
                ]
              }
            }
          ]
        },
        "additionalFields": {}
      },
      "credentials": {
        "telegramApi": {
          "id": "5dDVtWv5tGqTARRX",
          "name": "Telegram account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "e8fe7ee3-59fd-4e6d-aa6a-19c90a43142c",
      "name": "如果 callback_query",
      "type": "n8n-nodes-base.if",
      "position": [
        80,
        848
      ],
      "parameters": {
        "conditions": {
          "string": [
            {
              "value1": "={{ $json.callback_query?.data || '' }}",
              "value2": "checkin"
            },
            {
              "value1": "={{ $json.callback_query?.data || '' }}",
              "value2": "checkout"
            }
          ]
        },
        "combineOperation": "any"
      },
      "typeVersion": 1
    },
    {
      "id": "a85632f1-2460-45fd-9c0f-332b5097b156",
      "name": "聚合",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        1088,
        208
      ],
      "parameters": {
        "options": {},
        "aggregate": "aggregateAllItemData"
      },
      "typeVersion": 1
    },
    {
      "id": "a6d12c8c-a3b9-488b-bc92-0e925c8a8ed5",
      "name": "如果 menu_attendance",
      "type": "n8n-nodes-base.if",
      "position": [
        128,
        -112
      ],
      "parameters": {
        "conditions": {
          "string": [
            {
              "value1": "={{ $json.callback_query?.data || '' }}",
              "value2": "menu_attendance"
            }
          ]
        }
      },
      "typeVersion": 1
    },
    {
      "id": "adc378a0-64a8-4d86-ba95-b18c99db8144",
      "name": "发送签到/签退菜单",
      "type": "n8n-nodes-base.telegram",
      "position": [
        352,
        -128
      ],
      "webhookId": "2106e328-2c7a-40e0-9447-67e35aa80dbd",
      "parameters": {
        "text": "Pilih absen:",
        "chatId": "={{ $json.callback_query.message.chat.id }}",
        "replyMarkup": "inlineKeyboard",
        "inlineKeyboard": {
          "rows": [
            {
              "row": {
                "buttons": [
                  {
                    "text": "✅ Check In",
                    "additionalFields": {
                      "callback_data": "checkin"
                    }
                  }
                ]
              }
            },
            {
              "row": {
                "buttons": [
                  {
                    "text": "🚪 Check Out",
                    "additionalFields": {
                      "callback_data": "checkout"
                    }
                  }
                ]
              }
            }
          ]
        },
        "additionalFields": {}
      },
      "credentials": {
        "telegramApi": {
          "id": "5dDVtWv5tGqTARRX",
          "name": "Telegram account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "b775ffdd-9744-46f3-8d10-c99937521f06",
      "name": "Sheets 读取(员工)",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        320,
        288
      ],
      "parameters": {
        "options": {},
        "filtersUI": {
          "values": [
            {
              "lookupValue": "={{ $json.callback_query.from.username }}",
              "lookupColumn": "username_telegram"
            }
          ]
        },
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": 1137759692,
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1mzZiOjV587UqHGQddDIQVF_BF_awzc-akqqp2fyR6YI/edit#gid=1137759692",
          "cachedResultName": "Employee"
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": "1mzZiOjV587UqHGQddDIQVF_BF_awzc-akqqp2fyR6YI",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1mzZiOjV587UqHGQddDIQVF_BF_awzc-akqqp2fyR6YI/edit?usp=drivesdk",
          "cachedResultName": "Attendance Telegram App"
        },
        "combineFilters": "AND"
      },
      "credentials": {
        "googleSheetsOAuth2Api": {
          "id": "oGS9XC6AWIlEuFeP",
          "name": "Google Sheets account"
        }
      },
      "typeVersion": 4,
      "alwaysOutputData": true
    },
    {
      "id": "d6172ee4-97c9-4ae7-8ae3-1883c333e6d9",
      "name": "Sheets 读取(考勤状态)",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        784,
        208
      ],
      "parameters": {
        "options": {
          "returnAllMatches": "returnAllMatches"
        },
        "filtersUI": {
          "values": [
            {
              "lookupValue": "={{ $json.username_telegram }}",
              "lookupColumn": "username_telegram"
            },
            {
              "lookupValue": "={{ $today.format('dd-MM-yyyy') }}",
              "lookupColumn": "date"
            }
          ]
        },
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": "gid=0",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1mzZiOjV587UqHGQddDIQVF_BF_awzc-akqqp2fyR6YI/edit#gid=0",
          "cachedResultName": "Attendance"
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": "1mzZiOjV587UqHGQddDIQVF_BF_awzc-akqqp2fyR6YI",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1mzZiOjV587UqHGQddDIQVF_BF_awzc-akqqp2fyR6YI/edit?usp=drivesdk",
          "cachedResultName": "Attendance Telegram App"
        }
      },
      "credentials": {
        "googleSheetsOAuth2Api": {
          "id": "oGS9XC6AWIlEuFeP",
          "name": "Google Sheets account"
        }
      },
      "typeVersion": 4,
      "alwaysOutputData": true
    },
    {
      "id": "af846aa9-25e6-4dc1-86d9-c00686aae0f5",
      "name": "如果 员工",
      "type": "n8n-nodes-base.if",
      "position": [
        608,
        288
      ],
      "parameters": {
        "conditions": {
          "boolean": [
            {
              "value1": "={{ $json.isNotEmpty() }}",
              "value2": true
            }
          ]
        }
      },
      "typeVersion": 1
    },
    {
      "id": "722b1cc7-847c-4fb2-b4ec-a4efa82f0fd6",
      "name": "回复考勤状态",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1520,
        208
      ],
      "webhookId": "c8162bca-3985-4dda-9814-18af903e9a9e",
      "parameters": {
        "text": "={{ $json.text }}",
        "chatId": "={{ $('IF menu_attendance_status').item.json.callback_query.message.chat.id }}",
        "additionalFields": {}
      },
      "credentials": {
        "telegramApi": {
          "id": "5dDVtWv5tGqTARRX",
          "name": "Telegram account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "a69a67a0-95bd-4005-b290-4c88c022774d",
      "name": "格式化考勤状态",
      "type": "n8n-nodes-base.functionItem",
      "position": [
        1312,
        208
      ],
      "parameters": {
        "functionCode": "const rows =  Array.isArray($json.data) ? $json.data : [];\nlet checkin = rows.some(r => (r.attendance_type||'')==='checkin');\nlet checkout = rows.some(r => (r.attendance_type||'')==='checkout');\nlet msg = 'Today’s Attendance Status:\\n';\nmsg += `Check In: ${checkin ? '✅' : '❌'}\\n`;\nmsg += `Check Out: ${checkout ? '✅' : '❌'}`;\nreturn { text: msg};\n"
      },
      "typeVersion": 1,
      "alwaysOutputData": false
    },
    {
      "id": "0cfd3a1f-8f72-4b37-a5ae-df98a4b4a540",
      "name": "回复非员工",
      "type": "n8n-nodes-base.telegram",
      "position": [
        784,
        400
      ],
      "webhookId": "c8162bca-3985-4dda-9814-18af903e9a9e",
      "parameters": {
        "text": "You are not listed as an employee. Contact the administrator.",
        "chatId": "={{ $('IF menu_attendance_status').item.json.callback_query.message.chat.id }}",
        "additionalFields": {}
      },
      "credentials": {
        "telegramApi": {
          "id": "5dDVtWv5tGqTARRX",
          "name": "Telegram account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "a390650a-8251-4080-a4a8-5cc5c0ea2b3f",
      "name": "回复非员工1",
      "type": "n8n-nodes-base.telegram",
      "position": [
        784,
        928
      ],
      "webhookId": "c8162bca-3985-4dda-9814-18af903e9a9e",
      "parameters": {
        "text": "You are not listed as an employee. Contact the administrator.",
        "chatId": "={{ $('IF callback_query').item.json.callback_query.message.chat.id }}",
        "additionalFields": {}
      },
      "credentials": {
        "telegramApi": {
          "id": "5dDVtWv5tGqTARRX",
          "name": "Telegram account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "6fe62d75-f959-43ef-a399-1c47311fbe3c",
      "name": "Sheets 读取(重复考勤)",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        784,
        752
      ],
      "parameters": {
        "options": {},
        "filtersUI": {
          "values": [
            {
              "lookupValue": "={{ $json.username_telegram }}",
              "lookupColumn": "username_telegram"
            },
            {
              "lookupValue": "={{ $today.format('dd-MM-yyyy') }}",
              "lookupColumn": "username_telegram"
            },
            {
              "lookupValue": "={{ $('IF callback_query').item.json.callback_query.data }}",
              "lookupColumn": "attendance_type"
            }
          ]
        },
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": "gid=0",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1mzZiOjV587UqHGQddDIQVF_BF_awzc-akqqp2fyR6YI/edit#gid=0",
          "cachedResultName": "Attendance"
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": "1mzZiOjV587UqHGQddDIQVF_BF_awzc-akqqp2fyR6YI",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1mzZiOjV587UqHGQddDIQVF_BF_awzc-akqqp2fyR6YI/edit?usp=drivesdk",
          "cachedResultName": "Attendance Telegram App"
        },
        "combineFilters": "AND"
      },
      "credentials": {
        "googleSheetsOAuth2Api": {
          "id": "oGS9XC6AWIlEuFeP",
          "name": "Google Sheets account"
        }
      },
      "typeVersion": 4,
      "alwaysOutputData": true
    },
    {
      "id": "df79d542-38c1-46a5-b059-13082dabd1d7",
      "name": "如果 重复考勤",
      "type": "n8n-nodes-base.if",
      "position": [
        1120,
        752
      ],
      "parameters": {
        "conditions": {
          "boolean": [
            {
              "value1": "={{ !$json.isEmpty() }}",
              "value2": true
            }
          ]
        }
      },
      "typeVersion": 1
    },
    {
      "id": "e56e30a9-6a67-4b5a-898f-240b228fc5ac",
      "name": "回复重复考勤",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1360,
        672
      ],
      "webhookId": "45adc3d0-e3e6-4d70-9241-d5742ddba9d6",
      "parameters": {
        "text": "=Your {{ $('IF callback_query').item.json.callback_query.data}} has already been recorded ⚠️",
        "chatId": "={{ $('IF callback_query').item.json.callback_query.message.chat.id }}",
        "additionalFields": {}
      },
      "credentials": {
        "telegramApi": {
          "id": "5dDVtWv5tGqTARRX",
          "name": "Telegram account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "2b497016-397c-48e3-a4a6-d2d1d5a05c9d",
      "name": "回复考勤正常",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1568,
        848
      ],
      "webhookId": "4fbb4c73-d479-4b45-bde4-1b6f6fd93bd6",
      "parameters": {
        "text": "={{ $('IF callback_query').item.json.callback_query.data === 'checkin' ? 'Check-in recorded. ⏰' : 'Check-out recorded. 🏁' }}",
        "chatId": "={{ $('IF callback_query').item.json.callback_query.message.chat.id }}",
        "additionalFields": {}
      },
      "credentials": {
        "telegramApi": {
          "id": "5dDVtWv5tGqTARRX",
          "name": "Telegram account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "4f89f750-4c38-4da6-b228-c737eabf1bb7",
      "name": "Sheets 读取(员工)1",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        320,
        832
      ],
      "parameters": {
        "options": {},
        "filtersUI": {
          "values": [
            {
              "lookupValue": "={{ $json.callback_query.from.username }}",
              "lookupColumn": "username_telegram"
            }
          ]
        },
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": 1137759692,
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1mzZiOjV587UqHGQddDIQVF_BF_awzc-akqqp2fyR6YI/edit#gid=1137759692",
          "cachedResultName": "Employee"
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": "1mzZiOjV587UqHGQddDIQVF_BF_awzc-akqqp2fyR6YI",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1mzZiOjV587UqHGQddDIQVF_BF_awzc-akqqp2fyR6YI/edit?usp=drivesdk",
          "cachedResultName": "Attendance Telegram App"
        },
        "combineFilters": "AND"
      },
      "credentials": {
        "googleSheetsOAuth2Api": {
          "id": "oGS9XC6AWIlEuFeP",
          "name": "Google Sheets account"
        }
      },
      "typeVersion": 4,
      "alwaysOutputData": true
    },
    {
      "id": "0d3cd98d-fb7e-4fe5-9d78-1136fd6aca9b",
      "name": "如果 menu_attendance_status",
      "type": "n8n-nodes-base.if",
      "position": [
        96,
        304
      ],
      "parameters": {
        "conditions": {
          "string": [
            {
              "value1": "={{ $json.callback_query?.data || '' }}",
              "value2": "menu_attendance_status"
            }
          ]
        }
      },
      "typeVersion": 1
    },
    {
      "id": "814855bc-59d0-4313-b3fe-a5e43c44ab8d",
      "name": "如果 员工",
      "type": "n8n-nodes-base.if",
      "position": [
        560,
        832
      ],
      "parameters": {
        "conditions": {
          "boolean": [
            {
              "value1": "={{ $json.isNotEmpty() }}",
              "value2": true
            }
          ]
        }
      },
      "typeVersion": 1
    },
    {
      "id": "6f762fa7-4aaf-4a98-83c8-e125bea57716",
      "name": "Sheets 追加(考勤)",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1344,
        848
      ],
      "parameters": {
        "columns": {
          "value": {
            "date": "={{ $today.format('dd-MM-yyyy') }}",
            "time": "={{ $now.format('HH:mm:ss') }}",
            "timestamp_iso": "={{ $now }}",
            "attendance_type": "={{ $('IF callback_query').item.json.callback_query.data }}"
          },
          "schema": [
            {
              "id": "timestamp_iso",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "timestamp_iso",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "date",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "date",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "time",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "time",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "id_employee",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "id_employee",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "username_telegram",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "username_telegram",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "full_name",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "full_name",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "attendance_type",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "attendance_type",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            }
          ],
          "mappingMode": "defineBelow",
          "matchingColumns": [],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {},
        "operation": "append",
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": "gid=0",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1mzZiOjV587UqHGQddDIQVF_BF_awzc-akqqp2fyR6YI/edit#gid=0",
          "cachedResultName": "Attendance"
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": "1mzZiOjV587UqHGQddDIQVF_BF_awzc-akqqp2fyR6YI",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1mzZiOjV587UqHGQddDIQVF_BF_awzc-akqqp2fyR6YI/edit?usp=drivesdk",
          "cachedResultName": "Attendance Telegram App"
        }
      },
      "credentials": {
        "googleSheetsOAuth2Api": {
          "id": "oGS9XC6AWIlEuFeP",
          "name": "Google Sheets account"
        }
      },
      "typeVersion": 4
    },
    {
      "id": "fceace8c-057d-4e49-b48b-83924e8beed0",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -960,
        -320
      ],
      "parameters": {
        "width": 672,
        "height": 1856,
        "content": "# 基于 Google Sheets 的考勤 Telegram 应用"
      },
      "typeVersion": 1
    },
    {
      "id": "4f6c09c6-25de-4095-9c2f-20d11395c34a",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        96,
        -480
      ],
      "parameters": {
        "color": 5,
        "width": 432,
        "height": 240,
        "content": "## 发送菜单按钮"
      },
      "typeVersion": 1
    },
    {
      "id": "8917f9a0-180c-4ca5-aa44-1e665388aa06",
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        96,
        -192
      ],
      "parameters": {
        "color": 5,
        "width": 432,
        "height": 224,
        "content": "## 发送签到/签退按钮"
      },
      "typeVersion": 1
    },
    {
      "id": "f294e910-e5fd-4771-8ea5-8101db950346",
      "name": "便签3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        80,
        224
      ],
      "parameters": {
        "color": 3,
        "width": 416,
        "height": 272,
        "content": "## 检查今日考勤状态"
      },
      "typeVersion": 1
    },
    {
      "id": "c88b7d72-cf69-4ade-ae5c-575ea1ce0525",
      "name": "便签4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        48,
        736
      ],
      "parameters": {
        "color": 3,
        "width": 432,
        "height": 320,
        "content": "## 签到/签退"
      },
      "typeVersion": 1
    },
    {
      "id": "c074958e-4acd-4d08-a5b6-8a1d939a9e95",
      "name": "便签5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        528,
        656
      ],
      "parameters": {
        "color": 2,
        "width": 496,
        "height": 480,
        "content": "## 验证员工"
      },
      "typeVersion": 1
    },
    {
      "id": "eab6e6aa-3392-40d5-aafe-05ac4b751844",
      "name": "便签6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        528,
        128
      ],
      "parameters": {
        "color": 2,
        "width": 496,
        "height": 480,
        "content": "## 验证员工"
      },
      "typeVersion": 1
    },
    {
      "id": "adac4563-c652-4e0b-9ab8-148d3c302b67",
      "name": "便签7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1072,
        528
      ],
      "parameters": {
        "width": 656,
        "height": 528,
        "content": "## 检查重复考勤"
      },
      "typeVersion": 1
    },
    {
      "id": "e0330191-b7ac-44d0-9ad3-ee5655873324",
      "name": "便签8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1072,
        64
      ],
      "parameters": {
        "width": 672,
        "height": 432,
        "content": "## 格式化并发送今日考勤状态"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "e9cbf4b2-6992-483f-a5ae-f574f763feae",
  "connections": {
    "a85632f1-2460-45fd-9c0f-332b5097b156": {
      "main": [
        [
          {
            "node": "a69a67a0-95bd-4005-b290-4c88c022774d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "814855bc-59d0-4313-b3fe-a5e43c44ab8d": {
      "main": [
        [
          {
            "node": "6fe62d75-f959-43ef-a399-1c47311fbe3c",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "a390650a-8251-4080-a4a8-5cc5c0ea2b3f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "af846aa9-25e6-4dc1-86d9-c00686aae0f5": {
      "main": [
        [
          {
            "node": "d6172ee4-97c9-4ae7-8ae3-1883c333e6d9",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "0cfd3a1f-8f72-4b37-a5ae-df98a4b4a540",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "7ec13d8c-2d87-43a2-b38a-9e0a899bb3d0": {
      "main": [
        [
          {
            "node": "85592562-59b7-4149-a61a-8a1d00ad78a6",
            "type": "main",
            "index": 0
          }
        ],
        []
      ]
    },
    "c4893eb0-6cfc-436a-9ebe-9871b0eceeae": {
      "main": [
        [
          {
            "node": "7ec13d8c-2d87-43a2-b38a-9e0a899bb3d0",
            "type": "main",
            "index": 0
          },
          {
            "node": "a6d12c8c-a3b9-488b-bc92-0e925c8a8ed5",
            "type": "main",
            "index": 0
          },
          {
            "node": "0d3cd98d-fb7e-4fe5-9d78-1136fd6aca9b",
            "type": "main",
            "index": 0
          },
          {
            "node": "e8fe7ee3-59fd-4e6d-aa6a-19c90a43142c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "e8fe7ee3-59fd-4e6d-aa6a-19c90a43142c": {
      "main": [
        [
          {
            "node": "4f89f750-4c38-4da6-b228-c737eabf1bb7",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a6d12c8c-a3b9-488b-bc92-0e925c8a8ed5": {
      "main": [
        [
          {
            "node": "adc378a0-64a8-4d86-ba95-b18c99db8144",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b775ffdd-9744-46f3-8d10-c99937521f06": {
      "main": [
        [
          {
            "node": "af846aa9-25e6-4dc1-86d9-c00686aae0f5",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "df79d542-38c1-46a5-b059-13082dabd1d7": {
      "main": [
        [
          {
            "node": "e56e30a9-6a67-4b5a-898f-240b228fc5ac",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "6f762fa7-4aaf-4a98-83c8-e125bea57716",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "4f89f750-4c38-4da6-b228-c737eabf1bb7": {
      "main": [
        [
          {
            "node": "814855bc-59d0-4313-b3fe-a5e43c44ab8d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a69a67a0-95bd-4005-b290-4c88c022774d": {
      "main": [
        [
          {
            "node": "722b1cc7-847c-4fb2-b4ec-a4efa82f0fd6",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "0d3cd98d-fb7e-4fe5-9d78-1136fd6aca9b": {
      "main": [
        [
          {
            "node": "b775ffdd-9744-46f3-8d10-c99937521f06",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "6f762fa7-4aaf-4a98-83c8-e125bea57716": {
      "main": [
        [
          {
            "node": "2b497016-397c-48e3-a4a6-d2d1d5a05c9d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "d6172ee4-97c9-4ae7-8ae3-1883c333e6d9": {
      "main": [
        [
          {
            "node": "a85632f1-2460-45fd-9c0f-332b5097b156",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "6fe62d75-f959-43ef-a399-1c47311fbe3c": {
      "main": [
        [
          {
            "node": "df79d542-38c1-46a5-b059-13082dabd1d7",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

高级 - 人力资源, 杂项, 多模态 AI

需要付费吗?

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

工作流信息
难度等级
高级
节点数量31
分类3
节点类型7
难度说明

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

作者
Singgi Aditya

Singgi Aditya

@singgiaditya

Hi, I’m Singgi 👋 A developer who loves creating smart automations with n8n. I build workflows for Telegram/WhatsApp bots, Google Sheets, and APIs to make life easier.

外部链接
在 n8n.io 查看

分享此工作流

分类

分类: 34