---
title: "自动化流程"
description: "自动化流程在触发器触发时注册员工，用受众筛选他们，并相对于参考日期运行一组已发布的步骤序列。"
sidebar:
  label: 概览
  order: 0
area: flows
feature: automations
appPath: /flows/home
lastVerified: 2026-11-15
version: "2026-11-10"
audience: admin
related:
  - flows
  - flows/steps
  - activity/enrollments
  - journey
intercom:
  - id: "11612966"
    title: How to create an Automation Flow (Pyn 2)
    url: https://intercom.help/pyn/en/articles/11612966-how-to-create-an-automation-flow-pyn-2
  - id: "6024016"
    title: Configure Automations (Pyn 1)
    url: https://intercom.help/pyn/en/articles/6024016-configure-automations-pyn-1
    note: "Pyn 1 article, kept for reference"
  - id: "11987518"
    title: Select the Right Trigger for your Flow (Pyn 2)
    url: https://intercom.help/pyn/en/articles/11987518-select-the-right-trigger-for-your-flow-pyn-2
  - id: "12651319"
    title: Using Triggers in Pyn (Pyn 2)
    url: https://intercom.help/pyn/en/articles/12651319-using-triggers-in-pyn-pyn-2
  - id: "6024165"
    title: Enable the Birthday Moment Automation
    url: https://intercom.help/pyn/en/articles/6024165-enable-the-birthday-moment-automation
    note: "Pyn 1 article, kept for reference"
  - id: "16304943"
    title: Set up a buddy automation (Pyn 2)
    url: https://intercom.help/pyn/en/articles/16304943-set-up-a-buddy-automation-pyn-2
  - id: "11987525"
    title: Choose the Audience for your Flow (Pyn 2)
    url: https://intercom.help/pyn/en/articles/11987525-choose-the-audience-for-your-flow-pyn-2
  - id: "7856462"
    title: Add Filters to Your Automation
    url: https://intercom.help/pyn/en/articles/7856462-add-filters-to-your-automation
    note: "Pyn 1 article, kept for reference"
  - id: "6005739"
    title: Create and save recipient filters
    url: https://intercom.help/pyn/en/articles/6005739-create-and-save-recipient-filters
    note: "Pyn 1 article, kept for reference"
  - id: "6023999"
    title: How to schedule Automations
    url: https://intercom.help/pyn/en/articles/6023999-how-to-schedule-automations
    note: "Pyn 1 article, kept for reference"
  - id: "6024094"
    title: "If I turn on or add a Pyn in an enabled Automation, will employees already enrolled in the Automation receive that Pyn?"
    url: https://intercom.help/pyn/en/articles/6024094-if-i-turn-on-or-add-a-pyn-in-an-enabled-automation-will-employees-already-enrolled-in-the-automation-receive-that-pyn
    note: "Pyn 1 article, kept for reference"
  - id: "11506664"
    title: Manually Enroll Employees in a Flow (Pyn 2)
    url: https://intercom.help/pyn/en/articles/11506664-manually-enroll-employees-in-a-flow-pyn-2
  - id: "6023214"
    title: How to manually enroll an employee in an Automation (Pyn 1)
    url: https://intercom.help/pyn/en/articles/6023214-how-to-manually-enroll-an-employee-in-an-automation-pyn-1
    note: "Pyn 1 article, kept for reference"
  - id: "16996083"
    title: Setting Per-Employee Reference Dates in a Mail Merge Spreadsheet (Pyn 2)
    url: https://intercom.help/pyn/en/articles/16996083-setting-per-employee-reference-dates-in-a-mail-merge-spreadsheet-pyn-2
  - id: "16729160"
    title: Handling late enrollments (Pyn 2)
    url: https://intercom.help/pyn/en/articles/16729160-handling-late-enrollments-pyn-2
  - id: "6024091"
    title: "Does an employee still receive an automated Pyn if they're added to the HRIS after the messages were scheduled to go out?"
    url: https://intercom.help/pyn/en/articles/6024091-does-an-employee-still-receive-an-automated-pyn-if-they-re-added-to-the-hris-after-the-messages-were-scheduled-to-go-out
    note: "Pyn 1 article, kept for reference"
  - id: "16729197"
    title: When a start date changes after someone is enrolled (Pyn 2)
    url: https://intercom.help/pyn/en/articles/16729197-when-a-start-date-changes-after-someone-is-enrolled-pyn-2
  - id: "12691830"
    title: How to Set up the First Day (Onboarding) Flow (Pyn 2)
    url: https://intercom.help/pyn/en/articles/12691830-how-to-set-up-the-first-day-onboarding-flow-pyn-2
  - id: "8563275"
    title: Send to Personal Email Address
    url: https://intercom.help/pyn/en/articles/8563275-send-to-personal-email-address
    note: "Pyn 1 article, kept for reference"
  - id: "12159628"
    title: Gather Quick Feedback with a Poll (Pyn 2)
    url: https://intercom.help/pyn/en/articles/12159628-gather-quick-feedback-with-a-poll-pyn-2
  - id: "6023188"
    title: Automating Buddy Pyns (Pyn 1)
    url: https://intercom.help/pyn/en/articles/6023188-automating-buddy-pyns-pyn-1
    note: "Pyn 1 article, kept for reference"
  - id: "6023205"
    title: Getting Started with Buddy
    url: https://intercom.help/pyn/en/articles/6023205-getting-started-with-buddy
    note: "Pyn 1 article, kept for reference"
  - id: "6023197"
    title: Personalize your Buddy Pyns with Tokens
    url: https://intercom.help/pyn/en/articles/6023197-personalize-your-buddy-pyns-with-tokens
    note: "Pyn 1 article, kept for reference"
  - id: "6024074"
    title: How to customize the new manager packet
    url: https://intercom.help/pyn/en/articles/6024074-how-to-customize-the-new-manager-packet
    note: "Pyn 1 article, kept for reference"
  - id: "8279902"
    title: "Editing Enrollment Rule: Timing"
    url: https://intercom.help/pyn/en/articles/8279902-editing-enrollment-rule-timing
    note: "Pyn 1 article, kept for reference"
translation:
  source: flows/automations/index.mdx
  sourceSha: 917ff291d2b7a8dcdb1d65a35d838962f6e40203
---

一个自动化流程由一个触发器、一个受众和一个有序的步骤列表组成。当触发器为受众中的某位员工触发时，Pyn 为这位员工创建一条注册，并相对于注册的参考日期为每个步骤排期。注册所关于的那位员工是主体；每个步骤可以发给主体、他们的经理、他们的隔级经理、他们的伙伴、他们的 HRBP、某位指定员工、某个群组、某个频道、某个指定地址，或者按受众从以上对象中挑选的条件收件人。

![Flows > Automations lists every automation in the workspace.](https://support.pyn.ai/media/flows/automations/flows-automations-table.png)

## 各部分如何配合

1. **触发器**。决定自动化流程*何时*运行、*为谁*运行，以及参考日期是什么。入职日期触发器在每位员工的入职日期当天（或前后）触发；Buddy Assigned 触发器在伙伴关系出现的那一刻触发；定期触发器按时间表触发。[触发器目录](https://support.pyn.ai/zh-cn/flows/automations/trigger-catalogue/)列出每一个选项。
2. **受众**。把触发器收窄到若干生命周期阶段，加上包含的群组、减去排除的群组。受众之外的员工永远不会被注册。见[设置自动化流程的受众](https://support.pyn.ai/zh-cn/flows/automations/set-the-audience/)。退出条件则相反：员工必须持续匹配的受众，否则注册提前结束。见[为自动化流程设置退出条件](https://support.pyn.ai/zh-cn/flows/automations/set-exit-conditions/)。
3. **步骤**。消息、日历邀请、频道邀请和工单，每个都有自己的收件人、发件人和相对于参考日期的排期。步骤在[步骤和消息](https://support.pyn.ai/zh-cn/flows/steps/)下有文档。
4. **版本**。发布会给触发器、受众和步骤拍一张快照。注册在它们被创建时的版本上运行，直到你更新它们。见[发布自动化流程](https://support.pyn.ai/zh-cn/flows/automations/publish-an-automation/)。
5. **注册**。一位员工在一个版本上的一次运行。打开[注册](https://support.pyn.ai/zh-cn/activity/enrollments/)，或编辑器右侧栏上的 **Activity**，查看每个人的步骤、它们的状态和参考日期。

![Open an automation to edit its trigger and steps.](https://support.pyn.ai/media/flows/automations/flows-automations-editor.png)

## 模式

**Publish** 旁边的按钮显示自动化流程的模式：**Automated**、**Verification** 或 **Manual**。Inactive 的自动化流程改为显示 **Use This**，在你选择模式之前没有 **Publish** 按钮。新的自动化流程从 **Manual** 开始；按钮旁边的“Draft autosaved”表示有未发布的编辑。模式按钮菜单上的 **Change Mode** 在下面的模式之间切换；同一个菜单还有 **Manual Enroll**，以及发布之后的 **Update Active Enrollments**。

| 模式 | Pyn 做什么 |
| --- | --- |
| **Automated** | 在触发器触发时注册每一位符合条件的员工，并在排期时间发送每个步骤。 |
| **Verification** | 注册符合条件的员工，但以暂停状态创建每条注册。在有人到 **Activity** > **Needs Review** 中审核并选择 **Unpause** 之前，不发送任何内容。 |
| **Manual** | 从不自行注册任何人。人员只能通过 **Manual Enroll** 加入。 |
| **Inactive** | 不注册任何人。已存在的注册运行到完成。 |

**Archive** 在同一个菜单上。已归档的自动化流程同样处于未激活状态，并从 Automations 列表中消失。参考页面[自动化流程与注册状态](https://support.pyn.ai/zh-cn/flows/automations/automation-and-enrollment-states/)包含每一种状态和转换。

## 在应用中的位置

在 Pyn 中打开 `/flows/home` 并选择 **Automations**。表格列出每个自动化流程及其旅程时刻、注册数量、有未发布更改时 **Publish** 列中的 **Required**，以及 **Status** 列中的模式（Verification 在那里显示为 **Verify**）。**Create New** 打开触发器选择器；它旁边的箭头提供 **Add from Template**。选择一行会在 `/flows/automation/` 加其 id 处打开编辑器，顶部是触发器卡片，下方是按排期顺序排列的步骤，右侧是对应你所选内容的侧面板。右边缘的栏会打开一个关于自动化流程本身的侧面板：**Activity** 列出它的注册，最新的在前，每页 25 条，每一行显示员工、注册的标题及其状态，选择一行会在 [Activity](https://support.pyn.ai/zh-cn/activity/enrollments/open-an-enrollment/) 中打开那条注册；**Details** 打开同一个侧面板，位于它的 **Advanced** 标签页上，其中有自动化流程的旅程 **Moment**，底部是 **Archive**。当触发器或步骤在它的面板中打开时，这个栏位于面板的左边缘，在那里按 **Activity** 或 **Details** 会关闭面板并打开侧面板。

## 指南

- [创建自动化流程](https://support.pyn.ai/zh-cn/flows/automations/create-an-automation/): 从触发器或模板目录开始。
- [选择触发器](https://support.pyn.ai/zh-cn/flows/automations/choose-a-trigger/): 挑选与时刻相匹配的类别。
- [设置受众](https://support.pyn.ai/zh-cn/flows/automations/set-the-audience/): 生命周期阶段、包含和排除的群组。
- [设置退出条件](https://support.pyn.ai/zh-cn/flows/automations/set-exit-conditions/): 当某人离开受众时提前结束注册。
- [更改模式](https://support.pyn.ai/zh-cn/flows/automations/change-the-mode/): Verification、Automated、Manual 或 Inactive。
- [发布自动化流程](https://support.pyn.ai/zh-cn/flows/automations/publish-an-automation/): 版本和更新现有注册。
- [手动注册员工](https://support.pyn.ai/zh-cn/flows/automations/manually-enroll-employees/): 搜索、粘贴或上传带参考日期的名单。
- [从电子表格注册](https://support.pyn.ai/zh-cn/flows/automations/enroll-from-a-spreadsheet/): 逐行参考日期和自定义令牌。
- [处理延迟注册](https://support.pyn.ai/zh-cn/flows/automations/handle-late-enrollments/): 步骤已经逾期时会发生什么。
- [将注册移到新的入职日期](https://support.pyn.ai/zh-cn/flows/automations/move-an-enrollment-to-a-new-start-date/): 停止、重新注册，并跳过已发送的内容。

## 教程

- [发到个人邮箱的入职前沟通](https://support.pyn.ai/zh-cn/flows/automations/tutorial-pre-boarding-to-a-personal-email/): 在新员工拥有工作邮箱之前触达他们。
- [生日与周年纪念](https://support.pyn.ai/zh-cn/flows/automations/tutorial-birthdays-and-anniversaries/): 每年的庆祝，外加提前一周给经理的提醒。
- [伙伴计划](https://support.pyn.ai/zh-cn/flows/automations/tutorial-buddy-programme/): 一份表单提名伙伴；Pyn 给他们发消息。
- [新任经理流程](https://support.pyn.ai/zh-cn/flows/automations/tutorial-new-manager-flow/): 从第一位直接下属起的四周支持。
- [离职流程](https://support.pyn.ai/zh-cn/flows/automations/tutorial-offboarding-flow/): 为离职员工、他们的经理和团队准备的体面告别。

## 参考

- [触发器目录](https://support.pyn.ai/zh-cn/flows/automations/trigger-catalogue/)：每个触发器、它的描述、偏移、重复设置和窗口。
- [自动化流程与注册状态](https://support.pyn.ai/zh-cn/flows/automations/automation-and-enrollment-states/)：模式、版本、注册和步骤状态。
- [参考日期和时间安排](https://support.pyn.ai/zh-cn/flows/automations/scheduling-internals/)：每个触发器何时注册、重复年份、重复注册和发送时间。

## 相关

- [流程](https://support.pyn.ai/zh-cn/flows/)，了解 Flows 中的其他内容。
- [步骤和消息](https://support.pyn.ai/zh-cn/flows/steps/)，了解步骤上的收件人、发件人、排期、提醒和上报。
- [注册](https://support.pyn.ai/zh-cn/activity/enrollments/)，审核、取消暂停或停止自动化流程产生的内容。
- [旅程](https://support.pyn.ai/zh-cn/journey/)，把自动化流程挂到你地图上的时刻。
