--- title: "检查过期培训" slug: "check-expired-training" updated: 2026-10-22T18:19:01Z published: 2026-10-22T18:19:01Z canonical: "support.tulip.co/check-expired-training" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.tulip.co/llms.txt > Use this file to discover all available pages before exploring further. # 检查过期培训 *了解如何使用自动化功能检查操作员的培训是否过期。该功能还可扩展至设备、机器以及生产车间中需要检查的任何项目。* ### 阅读前须知 在阅读本文前,请务必先阅读以下内容:*[如何创建HTTP连接器*](https://support.tulip.co/docs/how-to-create-and-configure-an-http-connector-function) [如何使用Table API*](/r230/docs/how-to-use-the-table-api) [如何在自动化中使用循环*](/r230/docs/how-to-use-looping-in-automations) [如何设置定时自动化*](/r230/docs/how-to-set-up-scheduled-automations) [自动化编辑器概述](/r230/docs/overview-of-the-automations-editor) ### 场景 您希望触发一个定时自动化流程,该流程每周三和周五上午 9 点运行,并检查表中操作员的培训是否已过期。如果过期,应向该操作员发送一封电子邮件。 这是一个简化的示例,您可以利用查询作为表格 API 调用的一部分,仅返回已过期的操作员。这样就无需使用决策块。您只需利用返回的 ID,通过“获取表格记录”调用获取操作员的姓名/邮箱,并使用“发送电子邮件”块向该操作员发送邮件即可。 ![Screenshot 2024-08-22 at 5.14.24 PM.png](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/Screenshot%202024-08-22%20at%205.14.24%20PM.png) ### 视频 ### 操作指南 第一步是设置计划任务。将频率设为“每周一次”。将执行日期设为美国东部时间每周三和周五上午9点。![Screenshot 2024-05-09 at 7.30.29 PM](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/Screenshot%202024-05-09%20at%207.30.29%20PM.png) 然后,设置一个连接器函数,连接到 Tulip 的表 API,该函数将返回一组 ID。![Screenshot 2024-05-09 at 7.30.43 PM](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/Screenshot%202024-05-09%20at%207.30.43%20PM.png) 该 ID 列表会自动填入循环块中,从而生成循环变量。循环设置完成,准备就绪!![Screenshot 2024-05-09 at 7.30.50 PM](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/Screenshot%202024-05-09%20at%207.30.50%20PM.png) 在循环内(由实线表示,以虚线结束)执行的任何操作,都会针对列表中的每个元素重复执行。 “获取表格记录”模块会检索两项关键信息:1. 已完成培训的日期;2. 用户的电子邮件地址。![Screenshot 2024-05-09 at 7.30.57 PM](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/Screenshot%202024-05-09%20at%207.30.57%20PM.png) “决策”模块会将当前日期与培训日期加上一年的时间进行比较。如果当前日期大于培训日期加上一年的时间(即培训未过期),则不执行任何操作。![Screenshot 2024-05-09 at 8.02.45 PM](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/Screenshot%202024-05-09%20at%208.02.45%20PM.png) 如果当前日期小于培训日期加一年(即培训尚未过期),则向用户发送一封电子邮件。![Screenshot 2024-05-09 at 7.31.11 PM](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/Screenshot%202024-05-09%20at%207.31.11%20PM.png) ## 进一步阅读 - [如何在自动化流程中使用循环](/r230/docs/how-to-use-looping-in-automations) - [如何设置定时自动化](/r230/docs/how-to-set-up-scheduled-automations) - [自动化编辑器概述](/r230/docs/overview-of-the-automations-editor)