Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Set up webhooks for your Workday HR spoke

Retrieve details the required employees in the Workday HR application to your ServiceNow instance by setting up the webhooks.

Before you begin

Role required: admin

Configure ServiceNow Webhook API Client for OAuth 2.0 in Workday

Configure API client in Workday to authenticate webhook requests.

Before you begin

Role required: Workday admin role or the role with granted permission to setup OAuth 2.0 client in Workday.

About this task

You only need to configure this step if you want to use the ServiceNow platform as a listener endpoint, and receive event notifications from Workday. If you don't need to receive any event notifications from Workday, then you can skip the configurations mentioned in this section.

Note: These configurations must be performed in Workday.

Procedure

  1. In Workday, access the Edit Tenant Setup - Security task.

  2. Select the OAuth 2.0 Clients Enabled option from the OAuth 2.0 Settings section.

  3. Access the Register API Client task.

  4. Enter the Client Name.

  5. Select the Client Grant Type as Authorization Code Grant.

  6. Select Access Token Type as Bearer.

  7. Enter a valid Redirection URI.

    Note: Make sure that the OAuth 2.0 Redirection URI is a valid HTTPS URL.

  8. Select the Refresh Token Timeout in days.

  9. Select the Non-Expiring Refresh Tokens option to prevent the refresh token from timing out.

  10. Select the Grant Administrative Consent option to grant OAuth permission to a REST API Client tenant-wide.

    When you select this option, you don't have to grant client access explicitly to Workday functional areas.

  11. From the Functional Areas prompt, select the functional areas to which your OAuth 2.0 client requires access.

  12. If the OAuth 2.0 client requires access to core Workday domains that aren’t in any functional areas, select the Include Workday Owned Scope option.

Set up CreateUser Webhook for the Workday HR spoke

Use the CreateUser Webhook to get the details of the newly onboarded employee from Workday to your ServiceNow instance.

Generate user name and password in your ServiceNow instance for Create User webhook

Generate user name and password in your ServiceNow instance to authenticate requests for Create User webhook and retrieve the required data from the Workday application.

Before you begin

Role required: ServiceNow admin

Note: These configurations must be performed in your ServiceNow instance.

Procedure

  1. Log in to your ServiceNow instance as an admin.

  2. Navigate to All > System Definition > Table.

  3. Filter and search for the Workday HR spoke webhook registry table.

    For example, Workday Webhook Registry.

  4. Click the Show List related list.

  5. Click New.

  6. On the form, fill these values.

    FieldDescription
    DescriptionDescription of the webhook registry record. Enter Workday event and authentication for Create User.
    UserNameWorkday user who has integration rights using Workday Web Services.
    PasswordPassword of the Workday user.
    Workday EventEvent for which the webhook is set up. Enter CreateUser.
    Workday InstanceWorkday host URL and tenant name. Enter the URL in this format:https://<workday_host_url>/<workday_tenant_name>
  7. Right-click the form header and click Save.

  8. Click Generate UserName And Password.

    Copy and record the values of username and password. These values must be specified in the Workday instance to authenticate the webhook requests.

    Note: If you have more than one HIRE BP in your environment, you must configure all the HIRE BPs to enable the Create User webhook for all HIRE employee transactions.

Retrieve the resource path from your ServiceNow instance for Create User webhook

Retrieve the resource path from your ServiceNow instance for later use to authenticate Create User webhook requests and retrieve the required data from the Workday application

Before you begin

Role required: ServiceNow admin.

Note: These configurations must be performed in your ServiceNow instance.

Procedure

  1. Log in to your ServiceNow instance as an admin.

  2. Navigate to All > System Web Services > Scripted Web Services > Scripted REST APIs.

  3. Open the record for the Workday HR spoke.

  4. In the Resources tab, click the Callback record.

  5. Record and save the value of Resource path for later use.

Import CLAR file to your Workday instance for Create User webhook

Import CLAR file available at ServiceNow Store to set up Create User webhook and authenticate requests from ServiceNow instance.

Before you begin

  • Workday Studio should be installed.
  • Access to custom report creation policy.

    Create custom report in workday based on the New_Hire_record report structure and share the report with ISU user.

  • Access to edit business process definition.

  • Access to create and edit integration system.
  • Role required: admin

Note:

  • Except integration name, report field XPath (if required), and Workday instance header, users are cautioned against modifying the values of fields or properties in the CLAR file.
  • These configurations must be performed in Workday Studio.

Procedure

  1. From the Workday HR spoke page on ServiceNow Store, download the Workday-HR-Webhook-Studio-Sample file from Supporting Links and Docs.

  2. Unzip the sample file to obtain the CLAR file.

  3. Import the CLAR file to Workday Studio.

  4. In the Properties tab of the StartHere component, navigate to Services and select the RAAS report created for this webhook.

Image omitted: configure-clar-file.png
Configure the StartHere component
  1. Choose the environment where your report exists such as, implementation or sandbox and configure the report as per your requirement.

  2. Provide a report name and select the required report.

Image omitted: report-name-wd-hr.png
Report name
  1. Provide the alias name of the report.
Image omitted: alias-wd-hr.png
Alias name
  1. After the report alias is added, add the selected path of report in Extra Path that is used to run the report based on prompt.
Image omitted: extra-path-wd-hr.png
Extra Path
  1. In the Set Headers component, provide your Workday instance for the WorkdayInstance header.
Image omitted: conf-set-headers-wd.png
Configure the Set Headers component
  1. In the properties of HttpOut, fill in these values.
FieldValue
EndpointREST endpointNote: See Retrieve the resource path from your ServiceNow instance for more information.
Http MethodPOST
Image omitted: httpout-properties-wd.png
Configure the HttpOut properties
  1. Save the changes.

  2. In the project explorer, select the integration and deploy it in your Workday system.

  3. Log in to your Workday instance and navigate to Integration > Integration System > Configure Integration Attributes.

Image omitted: conf-int-attributes-wd.png
Configure Integration Attributes
  1. Provide user name and password in Configure Integration Attributes that you have generated in Generate user name and password in your ServiceNow instance.
Image omitted: username-pwd-wd-hr.png
Configure integration attributes
  1. Modify a business process and add this integration in your business process.

    1. Edit definition of the business process.
Image omitted: edit-def-wd-hr.png
Edit definition
2.  Select the effective date and click **Ok**.

3.  Click the + sign and add a new business process step in BP.

4.  Select an order, which is after the completion step of business process.

5.  Add the business process and select **Type** as **Integration**.
Image omitted: integration-type.png
Select Integration type
6.  Provide ISU username in **Run as User** and click **Ok**.

7.  Click **Configure Integration** on the newly added business process step in Hire BP.
Image omitted: conf-int-button.png
Configure integration
8.  In integration criteria, select value type as **Determine value at runtime** and select value as **Employee ID**.
Image omitted: determine-value-runtime.png
Determine value at runtime
    Selected **Employee ID** field in value is displayed.
Image omitted: emp-id-field.png
Employee ID field
9.  Click **Ok**.

10. Create a report for the webhook with these details:

    Report definition:
Image omitted: report-def-wd-hr.png
Report definition
    Column labels:
Image omitted: col-labels-wd-hr.png
Column labels
    Calculated field details:
Image omitted: calc-fields-wd-hr.png
Calculated field details
    Filter and prompt details:
Image omitted: filter-prompt-wd-hr.png
Filter and prompt details

Set up Offboarding Webhook for the Workday HR spoke

Use the Offboarding Webhook to get the details of the offboarded employee from Workday to your ServiceNow instance.

Generate user name and password in your ServiceNow instance for Offboarding webhook

Generate user name and password in your ServiceNow instance to authenticate requests for Offboarding webhook and retrieve the required data from the Workday application.

Before you begin

Role required: admin

Note: These configurations must be performed in your ServiceNow instance.

Procedure

  1. Log in to your ServiceNow instance as an admin.

  2. Navigate to All > System Definition > Table.

  3. Filter and search for the Workday HR spoke webhook registry table.

    For example, Workday Webhook Registry.

  4. Click the Show List related list.

  5. Click New.

  6. On the form, fill these values.

    FieldDescription
    DescriptionDescription of the webhook registry record. Enter Workday event and authentication for Offboarding.
    UserNameWorkday user who has integration rights using Workday Web Services.
    PasswordPassword of the Workday user.
    Workday EventEvent for which the webhook is set up.
    Workday InstanceWorkday host URL and tenant name. Enter the URL in this format:https://<workday_host_url>/<workday_tenant_name>
  7. Right-click the form header and click Save.

  8. Click Generate UserName And Password.

    Copy and record the values of username and password. These values must be specified in the Workday instance to authenticate the webhook requests.

    Note: If you have more than one HIRE BP in your environment, you must configure all the HIRE BPs to enable the Create User webhook for all HIRE employee transactions.

Retrieve the resource path from your ServiceNow instance for Offboarding webhook

Retrieve the resource path from your ServiceNow instance for later use to authenticate Offboard webhook requests and retrieve the required data from the Workday application

Before you begin

Role required: admin.

Note: These configurations must be performed in your ServiceNow instance.

Procedure

  1. Log in to your ServiceNow instance as an admin.

  2. Navigate to All > System Web Services > Scripted Web Services > Scripted REST APIs.

  3. Open the record for the Workday HR spoke.

  4. In the Resources tab, click the Callback record.

  5. Record and save the value of Resource path for later use.

Import CLAR file to your Workday instance for Offboarding webhook

Import CLAR file available at ServiceNow Store to set up Offboarding webhook and authenticate requests from ServiceNow instance.

Before you begin

  • Workday Studio should be installed.
  • Access to custom report creation policy.

    Create custom report in workday based on the New_terminated_record report structure and share the report with ISU user.

  • Access to edit business process definition.

  • Access to create and edit integration system.
  • Role required: admin

Note:

  • Except integration name, report field XPath (if required), and Workday instance header, users are cautioned against modifying the values of fields or properties in the CLAR file.
  • These configurations must be performed in Workday Studio.

Procedure

  1. From the Workday HR spoke page on ServiceNow Store, download the Workday-HR-Offboarding-Webhook-Studio-Sample file from Supporting Links and Docs.

  2. Unzip the sample file to obtain the CLAR file.

  3. Import the CLAR file to Workday Studio.

  4. In the Properties tab of the StartHere component, navigate to Services and select the RAAS report created for this webhook.

Image omitted: raas-report-offboarding.jpg
RAAS report for offboarding spoke
  1. Choose the environment where your report exists such as, implementation or sandbox and configure the report as per your requirement.

  2. Provide a report name and select the required report.

Image omitted: custom-raas-report-offboarding.jpg
Custom RaaS report for Offboarding webhook
  1. Provide the alias name of the report.
Image omitted: alias-report-offboarding-webhook.jpg
Alias report for offboarding webhook
  1. After the report alias is added, add the selected path of report in Extra Path that is used to run the report based on prompt.
Image omitted: extra-path-offboarding-webhk.jpg
extra path for offboarding webhook
  1. Select the report alias.

  2. In the Set Headers component, provide your Workday instance for the WorkdayInstance header.

Image omitted: workday-instance-set-headers-offboarding.jpg
Set headers component offboarding webhook
  1. In the properties of HttpOut, fill in these values.
FieldValue
EndpointREST endpointNote: See Retrieve the resource path from your ServiceNow instance for more information.
Http MethodPOST
Image omitted: httpout-properties-offboarding.jpg
httpout properities for offboarding
  1. Save the changes.

  2. In the project explorer, select the integration and deploy it in your Workday system.

  3. Log in to your Workday instance and navigate to Integration > Integration System > Configure Integration Attributes.

Image omitted: config-intgrt-attributes-offboarding.jpg
configure integration attributes offboarding
  1. Provide user name and password in Configure Integration Attributes that you have generated in Generate user name and password in your ServiceNow instance for Offboarding webhook.
Image omitted: usernm-pwd-attri-offboarding.jpg
integration attributes configuration offboarding webhook
  1. Modify a business process and add this integration in your business process.

    1. Edit the definition of the business process.
Image omitted: related-action-integration-offboarding.jpg
2. Select the ISU user in Workday Account box.
3.  Select the effective date and click **Ok**.

4.  Click the + sign and add a new business process step in BP.

5.  Select an order, which is after the completion step of business process.

6.  Add the business process and select **Type** as **Integration**.
Image omitted: type-integration-offboarding.jpg
7. Provide ISU username in **Run as User** and click **Ok**.
8.  Click **Configure Integration** on the newly added business process step in Hire BP.
Image omitted: config-integrt-hire-bp-offboarding.jpg
configure integration offboarding webhook
9.  In integration criteria, select value type as **Determine value at runtime** and select value as **Employee ID**.
Image omitted: integrt-criteria-det-value-runtime-offboarding.jpg
integration criteria value at runtime
    The selected **Employee ID** field in value is displayed.
Image omitted: integ-crit-emp-field-offboarding.jpg
integration criteria employee ID for offboarding webhook
10. Click **Ok**.

11. Open **Create Custom Report** task.

12. Enter the report name, for example, enter `New_terminated_record`.

13. Select **Report Type** as Advanced.

14. Uncheck the Optimized for performance option.

15. Select Data Source as All Workers.
Image omitted: data-source-all-workers-offboarding.jpg
View Custom Report for offboarding
16. Create a report as shown below:
Image omitted: sample-report-offboarding.jpg
Sample report for offboarding webhook
    Group Column Headings in reports
Image omitted: group-column-headings-offboarding.jpg
Group column headings in report
    Sort section in reports
Image omitted: sort-section-offboarding.jpg
Filter section in reports\[Omitted image "filter-section-report-offboarding.jpg"\] Alt text: filter section in reports
17. Select **Populate Undefined Prompt defaults** option from the **Prompts** tab.

18. Select **Enable as web service** option from the **Advanced** tab.

Set up LeaveofAbsence Webhook for the Workday HR spoke

Use the LeaveofAbsence Webhook to get leave of absence details of an employee from Workday to your ServiceNow instance.

Generate user name and password in your ServiceNow instance for LeaveofAbsence webhook

Generate user name and password in your ServiceNow instance to authenticate requests for LeaveofAbsence webhook and retrieve the required data from the Workday application.

Before you begin

Role required: admin

Note: These configurations must be performed in your ServiceNow instance.

Procedure

  1. Log in to your ServiceNow instance as an admin.

  2. Navigate to All > System Definition > Table.

  3. Filter and search for the Workday HR spoke webhook registry table, for example, Workday Webhook Registry.

  4. Click the Show List related list.

  5. Click New.

  6. On the form, fill these values.

    FieldDescription
    DescriptionDescription of the webhook registry record. Enter Workday event and authentication for leave of absence.
    UserNameWorkday user who has integration rights using Workday Web Services.
    PasswordPassword of the Workday user.
    Workday EventEvent for which the webhook is set up. Enter LeaveofAbsence.
    Workday InstanceWorkday host URL and tenant name. Enter the URL in this format:https://<workday_host_url>/<workday_tenant_name>
  7. Right-click the form header and click Save.

  8. Click Generate UserName And Password.

    Copy and record the values of username and password. These values must be specified in the Workday instance to authenticate the webhook requests.

    Note: If you have more than one HIRE BP in your environment, you must configure all the HIRE BPs to enable the Create User webhook for all HIRE employee transactions.

Retrieve the resource path from your ServiceNow instance for LeaveofAbsence webhook

Retrieve the resource path from your ServiceNow instance for later use to authenticate Offboard webhook requests and retrieve the required data from the Workday application

Before you begin

Role required: admin.

Note: These configurations must be performed in your ServiceNow instance.

Procedure

  1. Log in to your ServiceNow instance as an admin.

  2. Navigate to All > System Web Services > Scripted Web Services > Scripted REST APIs.

  3. Open the record for the Workday HR spoke.

  4. In the Resources tab, click the Callback record.

  5. Record and save the value of Resource path for later use.

Import CLAR file to your Workday instance for LeaveofAbsence webhook

Import CLAR file available at ServiceNow Store to set up LeaveofAbsence webhook and authenticate requests from ServiceNow instance.

Before you begin

  • Workday Studio should be installed.
  • Access to custom report creation policy.

    Create custom report in workday based on the Leave_of_absence_request report structure and share the report with ISU user.

  • Access to edit business process definition.

  • Access to create and edit integration system.
  • Role required: admin

Note:

  • Except integration name, report field XPath (if required), and Workday instance header, users are cautioned against modifying the values of fields or properties in the CLAR file.
  • These configurations must be performed in Workday Studio.

Procedure

  1. From the Workday HR spoke page on ServiceNow Store, download the Workday-HR-Leave-of-Absence-Webhook-Studio-Sample file from Supporting Links and Docs.

  2. Unzip the sample file to obtain the CLAR file.

  3. Import the CLAR file to Workday Studio.

  4. In the Properties tab of the StartHere component, navigate to Services and select the RAAS report created for this webhook.

Image omitted: raas-report-leave-absence.jpg
RaaS report for leave of absence webhook
  1. Choose the environment where your report exists such as, implementation or sandbox and configure the report as per your requirement.

  2. Provide a report name and select the required report.

Image omitted: custom-raas-report-leave-absence.jpg
Custom Raas Report for leave of absence webhook
  1. Provide the alias name of the report.
Image omitted: alias-report-leave-absence.jpg
Alias for report name
  1. After the report alias is added, add the selected path of report in Extra Path that is used to run the report based on prompt.
Image omitted: extra-path-leave-absence.jpg
Extra path for report alias
  1. Select the report alias.

  2. In the Set Headers component, provide your Workday instance for the WorkdayInstance header.

Image omitted: set-headers-leave-of-absence.jpg
Set headers for Workday instance
  1. In the properties of HttpOut, fill in these values.
FieldValue
EndpointREST endpointNote: See Retrieve the resource path from your ServiceNow instance for more information.
Http MethodPOST
Image omitted: httpout-leave-absence.jpg
http out properties for leave of absence webhook
  1. Save the changes.

  2. In the project explorer, select the integration and deploy it in your Workday system.

  3. Log in to your Workday instance and navigate to Integration > Integration System > Configure Integration Attributes.

Image omitted: config-integ-attributes-leave-absence.jpg
Configure integration attributes for leave of absence webhook
  1. Provide user name and password in Configure Integration Attributes that you have generated in Generate user name and password in your ServiceNow instance for LeaveofAbsence webhook.
Image omitted: usrname-pwd-attributes-leave-absence.jpg
user name and password for integration attributes configuration
  1. Modify a business process and add this integration in your business process.

    1. Edit definition of the business process.
Image omitted: business-process-def-leave-absence.jpg
Business process definition
2.  Select the ISU user in Workday Account box.

3.  Select the effective date and click **Ok**.

4.  Click the + sign and add a new business process step in BP.

5.  Select an order, which is after the completion step of business process.

6.  Add the business process and select **Type** as **Integration**.
Image omitted: type-integration-leave-absence.jpg
Business process type integration
7.  Provide ISU username in **Run as User** and click **Ok**.

8.  Click **Configure Integration** on the newly added business process step in Hire BP.
Image omitted: config-integrate-hire-bp-leave-absence.jpg
Configure integration for business process
9.  In integration criteria, select value type as **Determine value at runtime** and select value as **Employee ID**.
Image omitted: det-value-runtime-leave-absence.jpg
Integration criteria value at runtime
    Selected **Employee ID** field in value is displayed.
Image omitted: integrt-criteria-emp-id-selected-leave-absence.jpg
Employee ID selected for integration criteria
10. Click **Ok**.

11. Open **Create Custom Report** task.

12. Enter the report name, for example, `Leave_of_absence_request`.

13. Select **Report Type** as Advanced.

14. Uncheck the Optimized for performance option.

15. Select **Data Source** as **All Active and Terminated Workers**.

16. Create a report as shown below:
Image omitted: sample-report-leave-absence.jpg
Sample report
    Group Column Heading section in report
Image omitted: group-col-heading-leave-absence.jpg
Group Column Headings in report
    Filter section in report
Image omitted: filter-section-leave-absence.jpg
Filter section in report
17. Select **Populate Undefined Prompt defaults** option from the **Prompts** tab.

18. Select **Enable as web service** option from the **Advanced** tab.