---
title: 日付トリガーを設定する
description: 日付トリガーが従業員の日付を基準にいつ発火するか、どのくらいの頻度で繰り返すかを設定し、基準日が何になるかを理解します。
sidebar:
  order: 2
area: flows
feature: automations
appPath: /flows/home
lastVerified: 2026-11-15
version: "2026-11-06"
audience: admin
related:
  - flows/automations/trigger-catalogue
  - flows/automations/scheduling-internals
  - flows/automations/tutorial-birthdays-and-anniversaries
  - flows/automations/prevent-repeat-enrollments
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
  - 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"
translation:
  source: flows/automations/configure-a-date-trigger.mdx
  sourceSha: f756732a3eee13e6d52414a3b2b1bce8e81ebfb8
---

日付トリガーは従業員レコード上の日付を基に動きます。ライフサイクルと記念日のトリガーは**Start Date**、Off-boardingは**Termination Date**、誕生日テンプレートは**Birthday**、そして**Employee Properties**の下で選んだその他の日付プロパティです。**Configure**タブで設定するのは2つです。その日付を基準にフローをいつ始めるか、そしてどのくらいの頻度で繰り返すかです。

## 始める前に

- オートメーションに日付トリガーがあること。トリガーカードにはトリガーの絵文字と、**the day of** just onceのような1行が表示されます。
- フローを早めに始めたいかどうかを決めます。日付の1週間前に始めても基準日は動きません。ステップはあくまで日付そのものを中心にスケジュールされます。

![Configure sets when a date trigger starts and how often it repeats.](https://support.pyn.ai/media/flows/automations/flows-automations-trigger-configure.png)

## 手順

1. Pynで、左ナビゲーションの**Flows**を開き、**Automations**を選んで、オートメーションを選びます。サイドパネルがまだ**Configure**で開いていなければ、キャンバス上部のトリガーカードを選びます。

2. 最初の行を読みます。「This flow runs based on the employee's **Start Date**」（または選んだ項目。Off-boardingでは**Off-boarding**、プロパティではそのプロパティ名が表示されます）。別のトリガーにしたいときは、行末の**Change trigger**リンクから**Select Trigger**を開きます。Birthdayでは「This is the birthday on the Employee Record.」が加わります。

3. **This flow starts**の下でメニューを開き、オフセットを選びます。**2 weeks before**、**1 week before**、**the day before**、**on the day of**、**the day after**、**1 week after**、**2 weeks after**、**1 month after**、**2 months after**、**3 months after**、**6 months after**です。メニューでは、日、週、月、年の任意の数を入力することもできます。

4. **the Employee's Start Date**（ラベルには項目名が入ります）の下で繰り返しを選びます。**just once**、**every year**、**every year after the first**、**every other year**、**every 2 years**、**every 5 years**、**every 10 years**です。Birthdayトリガーでは**every year**のみ選べます。

5. **Publish**を選びます。誰かの日付が今日に一致していれば、公開から数時間以内に最初のエンロールメントが現れます。

> **Note:** 繰り返しの選択肢は、日付そのものの年から数えます。**every year**は1周年とそれ以降の毎年に発火し、開始日そのものは0年目で、決して発火しません。**every year after the first**は1年目を飛ばすので、1周年のフローと毎年のフローが同じ日に重なることはありません。**every other year**は1、3、5年目、**every 2 years**は2、4、6年目です。

## 基準日は何になるか

基準日は従業員の日付そのもの（繰り返しのトリガーでは該当する年に当てはめたもの）であり、トリガーが発火した日ではありません。記念日の**1 week before**に始まるよう設定したフローの基準日はその記念日なので、**on the day of**にスケジュールしたステップは記念日に、**7 days before**のステップはフローが始まった日に届きます。ルールの全体は[基準日とタイミング](https://support.pyn.ai/ja/flows/automations/scheduling-internals/)にあります。

## 確認できること

トリガーカードに選択内容がまとめて表示されます。たとえば**1 week before** every year after the firstです。公開後、日付が一致した従業員は、一致した日付を**Reference Date**として[エンロールメント](https://support.pyn.ai/ja/activity/enrollments/)に現れます。

## 関連ページ

- [トリガーカタログ](https://support.pyn.ai/ja/flows/automations/trigger-catalogue/)：各日付トリガーの既定のオフセットと繰り返しです。
- [基準日とタイミング](https://support.pyn.ai/ja/flows/automations/scheduling-internals/)：繰り返しの年と、再エンロール間の最短1日についてです。
- [誕生日と勤続記念日](https://support.pyn.ai/ja/flows/automations/tutorial-birthdays-and-anniversaries/)：完全な実例です。
- [繰り返しのエンロールメントを防ぐ](https://support.pyn.ai/ja/flows/automations/prevent-repeat-enrollments/)：日付が修正されたときの動作です。
