UKG Pro (Webhook)

UKG Pro (Webhook)

UKG Pro Webhook Configuration

This guide explains how to configure a UKG Webhooks subscription and connect it to OnLink so employee events in UKG Pro can create or update tickets in the configured Jira project.

UKG Webhooks sends a lightweight event notification that identifies the employee. OnLink then uses its UKG Pro API connection to pull the employee's demographic, job and supervisor data, so any field supported by the UKG Pro API can be mapped.

At a glance

Setting

Value

Setting

Value

UKG application

UKG Webhooks (https://webhooks.ukg.net)

Format / method

JSON / POST

Authentication

Custom header token (x-onlink-token)

OnLink auth scheme

header_token_ukgpro

Data enrichment

REQUIRES UKG PRO CONNECTION

Before you begin

  • Confirm you can sign in to UKG Webhooks with the Admin or Editor role, and that your company access code is available.

  • Create the OnLink connection to UKG Pro — see UKG Pro API. OnLink needs it to fetch employee data for mapping.

  • Make sure your UKG Pro service account has the View role for the Personnel Integration web service.

  • Confirm that the target OnLink webhook mapping and Jira project are available.

  • Review the OnLink Webhooks documentation before you start.

1. Review the UKG Webhooks requirements

Review UKG's webhook documentation, including how to add a subscription and the list of available events:

2. Configure authentication in OnLink

Open the OnLink webhook mapping and add the following configuration parameters. Replace the placeholder with a newly generated, random 12-character token.

config:auth_scheme=header_token_ukgpro config:auth_token=<12-character-random-token>

Security: Treat the token as a secret. Do not commit it to source control or include it in screenshots, tickets, or chat. UKG encodes the header value once the subscription is saved and it cannot be retrieved, so store it securely and rotate it if it is exposed.

3. Create the subscription in UKG Webhooks

  1. Sign in to UKG Webhooks and select Add Subscription.

  2. Enter a subscription name, e.g. OnLink – Employee Events.

  3. Enter the OnLink webhook URL as the endpoint URL.

  4. Under Add Free Form Headers, add the OnLink token:

    • Custom header key – x-onlink-token

    • Custom header value – the 12-character token from step 2

  5. From Available Events, select the events OnLink should receive and move them to Selected Events.

  6. Select Save.

Tip: If you're running a mass update in UKG Pro and don't want tickets created for it, mark the subscription inactive for the duration of the update.

4. Verify the UKG Pro webhook payload

Here is the payload format UKG Webhooks sends to OnLink, following UKG's documented example. Every event uses the same envelope; EventType and Operation change with the event.

{ "EventId": 459469162, "EventTime": "2024-04-16T15:51:52.64", "EventType": "EmployeeAddressChangeEvent", "Operation": "Update", "Payload": { "CoId": "UWLN6", "EeId": "4W7QK90000K0", "IntegrationRecordId": null }, "Tenant": "G0311" }

The payload only identifies the company (CoId) and employee (EeId). OnLink uses these to call the UKG Pro demographic details and employment details APIs and makes the combined result available for mapping. For other event types, see the UKG Webhooks Events Catalog.

5. Configure the OnLink field mapping

Map values from the enriched employee record to the Jira fields OnLink populates when it creates the ticket. The sample below uses the employee ID as the key and maps name, company, address, job and supervisor details to custom fields.

key:employeeId=customfield_10062 map:firstName=customfield_10063 map:lastName=customfield_10064 map:demographicData.companyId=customfield_10065 map:demographicData.addressLine1=customfield_10066 map:jobData.jobTitle=customfield_10067 map:jobData.supervisorId=customfield_10068 map:jobData.originalHireDate=customfield_10069 map:supervisorData.supervisorEmployeeID=customfield_10070 map:supervisorData.supervisorFirstName=customfield_10071 map:supervisorData.supervisorLastName=customfield_10072

Syntax

Purpose

Syntax

Purpose

key:employeeId

Unique identifier for the employee. OnLink uses it to identify the record the event belongs to. Use one key per mapping.

map:<field>

Top-level employee fields such as firstName and lastName.

map:demographicData.<field>

Any field from the UKG Pro employee demographic details API.

map:jobData.<field>

Any field from the UKG Pro employment details API.

map:supervisorData.<field>

The employee's supervisor details.

Replace the customfield_XXXXX IDs with the field IDs from your Jira project. Each Jira field should be mapped from only one source field.

image-20240531-205752.png

6. Test and confirm ticket creation

  1. In UKG Webhooks, open the subscription's ellipsis menu and select Test Endpoint to confirm OnLink is reachable.

  2. Trigger a real employee event in UKG Pro (for example, update a test employee's address).

  3. Select the subscription in UKG Webhooks and confirm the event shows as delivered in the Events grid.

  4. Review the OnLink Job logs for authentication, enrichment or parsing errors.

  5. Verify that a ticket was created in the configured Jira project and that the mapped fields contain the expected values — especially the employee ID, name, job title and supervisor.

Troubleshooting

  • 401 or authentication failure: Confirm that config:auth_scheme is header_token_ukgpro, the header key is exactly x-onlink-token, and the token matches in OnLink and UKG Webhooks. If unsure, generate a new token and update both.

  • Ticket created but employee fields are empty: Check the OnLink connection to UKG Pro and confirm the service account has the View role for the Personnel Integration web service.

  • No ticket is created: Confirm the subscription is active, the intended events are under Selected Events, and the OnLink mapping points to the correct project.

  • Fields are empty for one mapping: Check the field name against the UKG Pro API reference and the prefix (demographicData., jobData., supervisorData.).

  • Missed events: UKG notes that events aren't sent while Pro triggers are disabled (for example during a database restore). UKG retains events for 14 days.

  • For any other errors, check the OnLink Job logs.

Completion criteria: The subscription is saved in UKG Webhooks, authentication succeeds, the selected events are delivered to OnLink, and OnLink creates a correctly populated ticket in the configured project.