> ## Documentation Index
> Fetch the complete documentation index at: https://hc.saas-manager.biz.nuro.jp/llms.txt
> Use this file to discover all available pages before exploring further.

# 3-4. Setting Up a Schedule ID Update Workflow

> This page explains how to set up a Schedule ID Update workflow.

This page explains how to create a workflow that automatically updates user information (identity). The workflow runs on a specific schedule.

## Template overview and how to choose

We provide two prebuilt Schedule ID Update templates for different purposes.

| Template                      | What it does                                                                                                                                                               | Example use cases                                                                                                                   |
| ----------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| **Schedule Directory Update** | Transforms and updates directory data on a recurring schedule, then runs a condition filter to provision the matching SaaS accounts for the targeted users.                | Syncing HRIS data every morning at 9 AM with automatic provisioning<br />Bulk directory updates and new service grants every Monday |
| **Bulk ID Sync**              | Runs data mapping on a recurring schedule to bulk update the directory and notify the team. Unlike Schedule Directory Update, this template does not include provisioning. | Regular bulk updates of large volumes of ID data (without provisioning)<br />Scheduled data sync similar to manual CSV imports      |

<img src="https://mintcdn.com/admina-sbn/EDepliO7LolMf-Gf/images/it-management/workflows/a3dha0rbfa-schedule-id/scheduleid-1.png?fit=max&auto=format&n=EDepliO7LolMf-Gf&q=85&s=56375d0fb5104ae0f9fa4a33b3cb9753" alt="Two template cards: Schedule Directory Update and Bulk ID Sync" width="1544" height="474" data-path="images/it-management/workflows/a3dha0rbfa-schedule-id/scheduleid-1.png" />

## Setup steps

1. Go to **Automation** > click **\[Create Automation]** in the upper right corner of the **Automation Center** screen.

   <img src="https://mintcdn.com/admina-sbn/EDepliO7LolMf-Gf/images/it-management/workflows/a3dha0rbfa-schedule-id/001.png?fit=max&auto=format&n=EDepliO7LolMf-Gf&q=85&s=5972982caf9b09f977510b6caa5a5e25" alt="Create Automation button" width="180" height="58" data-path="images/it-management/workflows/a3dha0rbfa-schedule-id/001.png" />

2. Select a Schedule ID Update template from the dialog.
   1. Schedule Directory Update: click **\[Create from template]**.
   2. Bulk ID Sync: click **\[Use Bulk ID Sync]**.

3. Set the employee conditions in **"1. Scheduled Job"** on the **Builder** screen.

   | Field                                                     | Description                                                                                                                                                                                                                                                             |
   | --------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
   | **Contract Start Date** (optional)                        | Select the date on which the workflow runs. Select **\[Any Date/Custom Date]** and specify a date from the calendar. If you select a custom date, the specified date is not included. Choose from the dropdown: "Within / Before / After". "Within" specifies a period. |
   | **Employee Type** (optional)                              | Select the attribute to target, such as "Full-time Employee".                                                                                                                                                                                                           |
   | **Number of Services** / **Number of Devices** (required) | Set a threshold for either the number of services or the number of devices. Use the spin button (up/down arrow) on the right to set the threshold.                                                                                                                      |
   | **\[+ Add Other Conditions]**                             | You can add conditions such as "Contract End Date / Department / Job Title / Work Location / Manager ID / Company Name / Another Email / Display Name / First Name / Last Name / Email Address / Employee Number / Remarks / Custom Item".                              |
   | **Execution Schedule**                                    | Set the execution frequency (daily/weekly/monthly).                                                                                                                                                                                                                     |
   | **Time**                                                  | Specify the execution time (e.g., 09:00). Click the clock icon to set the time.                                                                                                                                                                                         |

   <img src="https://mintcdn.com/admina-sbn/LLQ8yW8IwmV6hfAn/images/it-management/workflows/a3dha0rbfa-schedule-id/003.png?fit=max&auto=format&n=LLQ8yW8IwmV6hfAn&q=85&s=27cae9306c17b2d6c20917f69b824287" alt="Scheduled Job settings screen" width="1782" height="1298" data-path="images/it-management/workflows/a3dha0rbfa-schedule-id/003.png" />

4. The screens after "1. Scheduled Job" differ depending on the template you selected. See the linked steps for details.
   1. Schedule Directory Update: [Identity](#identity)
   2. Bulk ID Sync: [Data Mapping](#data-mapping)

5. Click **\[Publish]** in the upper right corner of the screen.

   <img src="https://mintcdn.com/admina-sbn/LLQ8yW8IwmV6hfAn/images/it-management/workflows/a3dha0rbfa-schedule-id/005.png?fit=max&auto=format&n=LLQ8yW8IwmV6hfAn&q=85&s=7237fbdfa4c92f70ff5ea675bf102673" alt="Publish button screen" width="1782" height="710" data-path="images/it-management/workflows/a3dha0rbfa-schedule-id/005.png" />

6. The **"Confirm Workflow Automation Settings"** screen appears. Set an automation name and click **\[Publish]**.

   **Automation Name**: Enter an easily identifiable name (e.g., `scheduled_update_identity`).

   <img src="https://mintcdn.com/admina-sbn/LLQ8yW8IwmV6hfAn/images/it-management/workflows/a3dha0rbfa-schedule-id/006.png?fit=max&auto=format&n=LLQ8yW8IwmV6hfAn&q=85&s=e3333669a4ad0364314195180f7557dc" alt="Confirm Workflow Automation Settings screen" width="1084" height="1030" data-path="images/it-management/workflows/a3dha0rbfa-schedule-id/006.png" />

7. A message appears saying "Workflow has been published". Click **\[OK]**.

   On the workflow list in the **Automation** tab, find the workflow you created. Confirm that the toggle switch in the **"Status"** column is ON (enabled).

   <img src="https://mintcdn.com/admina-sbn/LLQ8yW8IwmV6hfAn/images/it-management/workflows/a3dha0rbfa-schedule-id/007.png?fit=max&auto=format&n=LLQ8yW8IwmV6hfAn&q=85&s=def2583c123fda75db5ee6a2450b3664" alt="Workflow list screen on the Automation tab" width="554" height="522" data-path="images/it-management/workflows/a3dha0rbfa-schedule-id/007.png" />

<h2 id="identity">
  Identity
</h2>

On the **Builder** screen, select **Identity** to configure what action to perform on the target users.

**Action**: Select "Get Identity / Create Identity / Update Identity / Delete Identity".

* If you select "Get Identity / Delete Identity", the **Identity ID** field appears.
* If you select "Create Identity / Update Identity", the **"Create Identity Parameters"** screen appears. Review the "Identity Variable Mapping" explanation. Check that variables such as `{{identity.displayName}}` (display name) are linked correctly. Also check `{{identity.primaryEmail}}` (primary email address) is linked correctly. You can also map fields such as job title, department, employee ID, and contract end date as needed.

<img src="https://mintcdn.com/admina-sbn/LLQ8yW8IwmV6hfAn/images/it-management/workflows/a3dha0rbfa-schedule-id/004.png?fit=max&auto=format&n=LLQ8yW8IwmV6hfAn&q=85&s=0099a455c16d8027d8a382bb6d51e247" alt="Identity variable mapping settings screen" width="1780" height="1276" data-path="images/it-management/workflows/a3dha0rbfa-schedule-id/004.png" />

<h2 id="data-mapping">
  Data mapping
</h2>

On the **Builder** screen, select **Data Mapping**. This shows a list of the standard identity fields and your company's custom identity fields.

Click **\[Autofill from Sample Payload]** to automatically infer each field based on the keys received in a test payload. Fields are matched in order of priority: exact match, then partial prefix/suffix match.

<Info>
  Always review the results before saving. Fields with no match are left blank and are skipped at run time.

  To override a field, click it and select a variable from **\[Insert Variable]**. You can also enter a direct path (e.g., `{{trigger.user_displayName}}`) to override or specify the value. Each field can hold only one `{{trigger.X}}` variable — entering more than one makes the field invalid.
</Info>

| Field             | Description                                                                                                                                                      |
| ----------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Target**        | Currently, only "identity" can be selected.                                                                                                                      |
| **Field Mapping** | Defines the conversion rules from data source to target field. You can also configure [custom fields](/en/it-management/workflows/rdeflerejh-automation-custom). |

<img src="https://mintcdn.com/admina-sbn/EDepliO7LolMf-Gf/images/it-management/workflows/a3dha0rbfa-schedule-id/scheduleid-datamapping.png?fit=max&auto=format&n=EDepliO7LolMf-Gf&q=85&s=b2f100814ee178ca152cf6c4b668a90f" alt="Data mapping settings screen" width="1748" height="1350" data-path="images/it-management/workflows/a3dha0rbfa-schedule-id/scheduleid-datamapping.png" />

## How to automatically delete accounts with no service integrations (0 services)

You can automatically extract and delete accounts that are not linked to any SaaS (0 services). Use this to clean up unnecessary data.

Set the conditions to extract users with "0 services" as the target. For how to check "0 services" in the directory, see [Other filters](/en/it-management/directory/m6uehl3rzi-admina-directory-rdy).

1. Go to **Automation** > click **\[Create Automation]** in the upper right corner of the **Automation Center** screen.
2. Once the template selection screen appears, click **\[Create from template]** under "Schedule ID Update".
3. Use the spin button (up/down arrow) to the right of the number of services to set the threshold to **"0"**. This targets accounts with no connected SaaS applications.
4. On the **Builder** screen, under "2. Identity", select **\[Delete Identity]**.
5. Click **\[Publish]** in the upper right corner of the screen.
6. The **"Confirm Workflow Automation Settings"** screen appears. Set an automation name and click **\[Publish]**.
7. A message appears saying "Workflow has been published". Click **\[OK]**.

## Check the automation execution history

Go to **Automation** > **Automation** tab > check the **"Last Run"** column in the workflow list to view the execution status.

<img src="https://mintcdn.com/admina-sbn/LLQ8yW8IwmV6hfAn/images/it-management/workflows/a3dha0rbfa-schedule-id/008.png?fit=max&auto=format&n=LLQ8yW8IwmV6hfAn&q=85&s=f01a040d7f2d8280d3d76beb36f29a88" alt="Workflow list with Last Run column in the Automation tab" width="902" height="140" data-path="images/it-management/workflows/a3dha0rbfa-schedule-id/008.png" />

### Check the execution log

Go to **Automation** > select the workflow > **Run** to view the execution details.

<img src="https://mintcdn.com/admina-sbn/LLQ8yW8IwmV6hfAn/images/it-management/workflows/a3dha0rbfa-schedule-id/009.png?fit=max&auto=format&n=LLQ8yW8IwmV6hfAn&q=85&s=27a82550a1fe740c5399f593ea242856" alt="Workflow execution details screen" width="1418" height="1336" data-path="images/it-management/workflows/a3dha0rbfa-schedule-id/009.png" />

### Check the execution history in the logs

Go to **Automation** > **Automation** tab > select the workflow > **"Logs"** to view the execution history.

<img src="https://mintcdn.com/admina-sbn/LLQ8yW8IwmV6hfAn/images/it-management/workflows/a3dha0rbfa-schedule-id/010.png?fit=max&auto=format&n=LLQ8yW8IwmV6hfAn&q=85&s=f0db465518dbab0df15fc9f3f2bccabd" alt="Workflow logs screen" width="2748" height="1312" data-path="images/it-management/workflows/a3dha0rbfa-schedule-id/010.png" />
