---
title: "端到端上线首日入职流程"
description: "构建一个以入职日期为触发的流程，包含入职前邮件、首日欢迎和给经理的提醒，在自己身上测试，审核最初的注册，然后切换到 Automated。"
sidebar:
  order: 1
area: getting-started
feature: onboarding
appPath: /flows/home
lastVerified: 2026-11-05
version: "2026-11-03"
audience: admin
screenshots:
  - id: flows-automations-editor
    caption: 自动化流程编辑器，触发器在顶部，步骤按时间顺序排列。
video: getting-started-onboarding-tour
related:
  - flows/automations
  - activity/enrollments
  - directory/employees
  - getting-started/tutorial-set-up-your-workspace
intercom:
  - 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
    note: replaces
  - id: "6024064"
    title: How to customize the onboarding packet (Pyn 1)
    url: https://intercom.help/pyn/en/articles/6024064-how-to-customize-the-onboarding-packet-pyn-1
    note: "Pyn 1 article, kept for reference"
translation:
  source: getting-started/tutorial-launch-first-day-onboarding.mdx
  sourceSha: d047a42a0c77c5a948379030a55ecea3631241b6
---

**目标**：一个无需任何人记得去发送、就能触达每位新员工的入职流程。
**时间**：20 到 30 分钟。
**最终成果**：一个由入职日期触发、带三个电子邮件步骤的自动化流程，已发布、在自己身上测试过、在 Verification 模式下审核过，然后以 Automated 模式运行。

你是 **Owner** 或 **Admin**（创建、发布和更改自动化流程的模式需要 Admin），你的工作区在[目录](https://support.pyn.ai/zh-cn/directory/)中有带入职日期的员工，并且已连接一个发件人（[30 分钟完成工作区设置](https://support.pyn.ai/zh-cn/getting-started/tutorial-set-up-your-workspace/)涵盖这两项）。

[Video: The onboarding flow: open the automation and a step, then follow its enrollments under Activity.](https://support.pyn.ai/media/getting-started/onboarding/getting-started-onboarding-tour.mp4)

## 第 1 章：从触发器开始

1. 在 Pyn 中，打开左侧导航中的 **Flows**，然后选择 **Automations**。

2. 从列表中打开一个入职自动化流程，或选择右上角的 **Create New**，在 **Select Trigger** 对话框的 **Employee Lifecycle** 下选择一个触发器：**Start of Onboarding** 用于从首日开始的步骤，**Pre-onboarding** 用于在入职日期之前开始。

3. 选择编辑器顶部的触发器卡片。在侧面板的 **Configure** 中，把 **This flow starts** 设为 **on the day of**，这样入职日期就是每个步骤计时所依据的参考日期，并把 **the Employee's Start Date** 保留为 **just once**。

4. 选择 **Advanced** 标签页。**Prevent repeat enrollments** 显示同一人再次注册前的间隔；日期触发器至少等待一天。在 Pyn 已启用编辑此项的工作区中，选择 **Never reenroll**，这样修正后的入职日期不会让同一人注册两次。

5. 选择 **Audience** 标签页。在 **Lifecycle** 下保留 **Current** 和 **Joiner**，这样人们在首日之前就会注册；除非只有公司的一部分人应该收到这个流程，否则让 **Included** 和 **Excluded** 保持为空。**Audience Preview** 显示谁匹配。

![自动化流程编辑器，触发器在顶部，步骤按时间顺序排列。](https://support.pyn.ai/media/flows/automations/flows-automations-editor.png)

## 第 2 章：添加三条消息

1. 选择 **Add a step**；在 **Add Step** 中选择 **Communication** 下的 **Send Email to Employee**。

2. 在侧面板中，给步骤起一个标题，例如 `Before you start`。在 **From** 下选择你的发件人。在 **To** 下选择电子邮件步骤提供的 **Employee (Personal)**，因为工作邮箱在入职日期之前可能还不存在。

3. 在 **Schedule** 下选择 **7 days before**，把时间设为 9:00，并选择 **Recipient Time Zone**。在步骤的 **Advanced** 标签页上保持 **Days of Week** 不变，在 **On Non-Delivery Days** 下选择 **Deliver on next delivery day**。

4. 撰写主题和正文。输入 `@` 可插入令牌，例如员工的常用名，让消息读起来像是专门为他们写的。

5. 添加第二个 **Send Email to Employee** 步骤，标题为 `Day one welcome`，安排在参考日期当天（**on the day of**），发到员工的工作地址。

6. 添加第三个步骤 **Send Email to Employee**，标题为 `Manager check-in nudge`。在 **To** 下选择 **Manager**；在 **Schedule** 下选择 3 days after。这一步提醒经理与新下属预约时间。

7. 选择右上角的 **Publish**。步骤现在依据这个已发布版本运行。从模板目录打开的自动化流程初始为 **Inactive**，显示的是 **Use This** 而不是 **Publish**；请先在第 3 章中选择模式，然后再发布。

> **Caution:** 安排在入职日期之前的步骤只能触达记录在那一天之前就到达 Pyn 的人。当受众中缺少 **Joiner** 时，Pyn 会在这类步骤上警告：“Sent before the start date but the joiner isn't in the audience”。如果你的 HRIS 添加新员工较晚，要么把步骤移到更接近首日，要么在步骤的 **Advanced** 标签页上开启 **Skip if overdue at enrollment**，这样记录来得晚的新员工不会收到过时的入职前邮件。

## 第 3 章：在自己身上测试

1. 如果右上角的模式按钮显示 **Use This**，选择它并在 **Select how you would like this flow to operate:** 中选择 **Manual Only**；新建的自动化流程已经处于 **Manual**。流程已开启，但尚未自行注册任何人。

2. 打开右上角的模式菜单，选择 **Manual Enroll**。

3. 在 **Search for an employee to enroll** 下找到你自己。把 **Reference Date** 设为下周的某一天，开启 **Flag as Test**，选择 **Next**，然后选择 **Confirm**。

4. 打开左侧导航中的 **Activity**。在 **Enrollments**、**All Enrollments** 下，你的测试注册会列出每个步骤及其计划日期。打开一个步骤即可看到填入你名字的消息。

## 第 4 章：审核真实注册，然后让它运行

1. 回到自动化流程，打开模式菜单，选择 **Change Mode** 并选择 **Verification**。从现在起，每位新员工都会注册，但每条注册都会暂停。

2. 在 **Activity** 中，在 **Enrollments** 下选择 **Needs Review**。打开每条暂停的注册，检查日期和消息，并取消暂停正确的那些。

3. 经过一两周的顺利审核后，再次选择 **Change Mode** 并选择 **Automated**。Pyn 以 **Congrats!** 确认；注册现在无需审核即可安排和发送。

## 你应该看到什么

在 **Flows** 中，该自动化流程的模式显示为 **Automated**，并带有注册数量。在 **Activity** 中，**All Enrollments** 为每位新员工列出一行，**All Messages** 列出每个电子邮件步骤及其状态：当天之前为 **Scheduled**，发送后为 **Complete**。

## 后续步骤

- 添加 Slack 或 Teams 步骤，让首日欢迎送达人们聊天的地方：见[自动化流程](https://support.pyn.ai/zh-cn/flows/automations/)。
- 在提醒步骤中添加按钮和提醒，请经理确认已与新员工见面。
- 为入职周年重复这一模式，它除了你已有的入职日期之外不需要任何 HRIS 数据。

## 相关

- [自动化流程](https://support.pyn.ai/zh-cn/flows/automations/)，了解每种触发器、步骤类型和时间安排选项。
- [注册](https://support.pyn.ai/zh-cn/activity/enrollments/)，了解审核、取消暂停和停止注册。
- [员工](https://support.pyn.ai/zh-cn/directory/employees/)，了解这个流程所依赖的入职日期和经理。
- [30 分钟完成工作区设置](https://support.pyn.ai/zh-cn/getting-started/tutorial-set-up-your-workspace/)，连接这个流程用来发送的发件人。
