---
title: "配置团队变更触发器"
description: "使用 Buddy Assigned、Promoted to Manager、Change of Manager、Change of Location 和 Connected to Slack 触发器，它们在员工记录上的某个关系发生变化的那一刻触发。"
sidebar:
  order: 2
area: flows
feature: automations
appPath: /flows/home
lastVerified: 2026-11-15
version: "2026-10-23"
audience: admin
related:
  - flows/automations/tutorial-buddy-programme
  - flows/automations/tutorial-new-manager-flow
  - flows/automations/trigger-catalogue
  - integrations/slack
intercom:
  - 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
    note: draws on
  - id: "12651319"
    title: Using Triggers in Pyn (Pyn 2)
    url: https://intercom.help/pyn/en/articles/12651319-using-triggers-in-pyn-pyn-2
    note: draws on
translation:
  source: flows/automations/configure-a-team-change-trigger.mdx
  sourceSha: c980864b050032bb91f493ea057733f98a0a14bb
---

**Team and Org Changes** 触发器（Group Change 除外）监测关系：某人的伙伴是谁、向谁汇报、谁向他们汇报、他们在哪个国家群组中，以及他们被匹配到哪个 Slack 账户。关系一发生变化它们就触发，以那天为参考日期，没有偏移或重复设置需要配置。

## 开始之前

- 关系来自你的 HRIS 同步（经理，以及 HRIS 提供时的伙伴或 HRBP）、Employee File，以及带 **Buddy** 或 **Mentor** 字段的表单。无论关系来自哪种途径，触发器都会触发。
- 这些触发器只对首次 HRIS 加载之后的变更触发。在你连接 HRIS 时，现有经理不会被当作新晋升的经理。

## 步骤

1. 在 Pyn 中，打开左侧导航中的 **Flows**，然后打开 **Automations**。选择 **Create New** 并选择 **Team and Org Changes**。

![Team and Org Changes triggers fire the moment a relationship or group membership changes.](https://support.pyn.ai/media/flows/automations/flows-automations-team-trigger.png)

2. 选择与变更相匹配的触发器：

- **Buddy Assigned**：“An employee was assigned a buddy.”主体是新员工；伙伴可以在每个步骤上作为 **Buddy** 收件人触达。
- **Promoted to Manager**：“An employee moves from zero to one or more reports.”只触发一次，即第一位直接下属出现时。主体是新任经理。
- **Change of Manager**：“The reporting line for an employee has changed.”主体是经理发生变更的那位员工。
- **Change of Location**：“A change in the primary work location for the employee.”在员工加入另一个国家群组时触发。
- **Connected to Slack**：“An employee is matched to their Slack account.”

3. 在 **Configure** 上阅读描述。Buddy Assigned、Promoted to Manager、Change of Manager 和 Change of Location 补充了“Only ... after the first time the employee directory loads are included.”；Connected to Slack 补充了“Only connections made after the first time the messaging integration loads are included.”

4. 打开 **Audience** 以限制生命周期阶段或群组。和每个新自动化流程一样，受众从 **Current** 开始。

5. 添加步骤并选择 **Publish**。

> **Note:** Change of Location 监测国家群组。它的 **Configure** 标签页写着“This flow runs when an employee joins a matching group.”

## 你应该看到什么

关系发生变化的那天，受影响的员工出现在[注册](https://support.pyn.ai/zh-cn/activity/enrollments/)下，以该日期作为 **Reference Date**。排在 **on the day of** 的步骤在当天的排期时间发送；时间已过的步骤会立即发送。

## 相关

- [伙伴计划](https://support.pyn.ai/zh-cn/flows/automations/tutorial-buddy-programme/)，从头到尾了解 Buddy Assigned 触发器。
- [新任经理流程](https://support.pyn.ai/zh-cn/flows/automations/tutorial-new-manager-flow/)，了解 Promoted to Manager。
- [触发器目录](https://support.pyn.ai/zh-cn/flows/automations/trigger-catalogue/)，了解默认值和每个触发器监测的关系。
- [Slack](https://support.pyn.ai/zh-cn/integrations/slack/)，了解员工如何被匹配到 Slack 账户。
