UKG Pro HCM

Overview

The UKG Pro HCM connector enables your Leena AI Agents to integrate with your organization's UKG Pro Human Capital Management platform, facilitating automated employee data management, payroll operations, and HR workflows.

UKG Pro HCM is a comprehensive human capital management solution that provides end-to-end HR, payroll, and workforce management capabilities. The UKG Pro HCM connector allows Leena AI to automate HR workflows, retrieve employee information, manage compensation data, and process employee lifecycle events seamlessly.

API Details

Leena AI integrates with UKG Pro HCM via REST APIs.

Documentation link: UKG Pro HCM API Documentation

Setup

The UKG Pro HCM connector uses Basic Authentication with username and password credentials.

Prerequisites

Before setting up the UKG Pro HCM connector, ensure you have:

  • Administrator access to your UKG Pro HCM system
  • Service account credentials with appropriate API permissions
  • US Customer API Key from UKG Pro
  • Access to your Leena AI workspace with connector management permissions

Get credentials

Here is how to obtain credentials for UKG Pro HCM:

  1. Log in to UKG Pro HCM (Ensure you're signed in as an admin)
  2. Navigate to System Configuration
  3. Create or identify a service account with the following permissions:
    1. Personnel API access
    2. Payroll API access
    3. Import Tool access
  4. Obtain your US Customer API Key:
    1. Contact your UKG Pro account administrator
    2. Request the US-CUSTOMER-API-KEY for API integrations
    3. Save this key securely as it will be needed during connector configuration
  5. Note down the service account credentials (username and password)

Add connection

Here is how to add a connection on Leena AI:

  1. Log in to your Leena AI workspace

  2. Navigate to Settings > Integrations

  3. Search for "UKG Pro HCM" and select it from the list to add its new connector

  4. Start configuring the connector

    1. Username: Your UKG Pro HCM service account username
    2. Password: Your UKG Pro HCM service account password
    3. US Customer API Key: Your US-CUSTOMER-API-KEY provided by UKG Pro
    4. Base URL: Your UKG Pro service endpoint (Pre-filled as https://servicet.ultipro.com)
  5. Test the connection

    1. Click Test Connection to verify credentials
    2. Ensure all authentication parameters are correct
  6. Save the connector configuration

Actions

The following actions are supported for the UKG Pro HCM connector:

Get Employee Contacts

Retrieves contact information for a specific employee including emergency contacts, dependents, and beneficiaries. The Agent can leverage this action to fetch comprehensive contact details for any employee in the organization.

Input Parameters

Here are the input parameters required to set up this action:

Mandatory

NameDescription
Employee IDThe unique employee identifier (e.g., EB5KU3000020)

Response

The action returns contact information including:

  • Contact details (name, address, phone numbers)
  • Relationship information (emergency contacts, dependents, beneficiaries)
  • COBRA information and eligibility status
  • Contact identifiers and status information

Get Employee Details

Retrieves comprehensive person details including personal information, demographics, and contact details with pagination support. This action can be leveraged by Leena AI Orchestrator/Agent to get detailed employee information with filtering capabilities. Here are some common use cases:

  • Employee Lookup: Find employee by ID, email, or last name

  • Bulk Employee Data: Retrieve multiple employee records with pagination

  • Profile Information: Access complete employee demographic and contact information

  • Data Auditing: Review employee information for compliance purposes

Input Parameters

Here are the input parameters required to set up this action:

Mandatory

None (all parameters are optional)

Optional

NameDescription
Employee IDFilter by specific employee ID
Per PageRecords per page (1-1000, default: 100)
Page NumberPage number for pagination (default: 1)
Last NameFilter by employee last name
Email AddressFilter by employee email address

Here is a sample JSON input:

{
  "employeeId": "EB5KU3000020",
  "per_Page": 100,
  "page": 1
}

Response

The action returns comprehensive employee details including:

  • Personal information (name, date of birth, gender, SSN)
  • Contact information (email, phone, address)
  • Employment identifiers and company information
  • Health and demographic details
  • I-9 verification and work authorization status
  • COBRA status and military service information

Get Employee Payroll Data

Retrieves employee pay statements for a specified date range including earnings, deductions, and tax information. This action enables comprehensive payroll data access for reporting, analysis, and employee inquiries. Here are some common use cases:

  • Pay Statement Retrieval: Access detailed pay information for specific periods

  • Year-to-Date Analysis: Review cumulative earnings and deductions

  • Tax Information: Retrieve federal and state tax withholding details

  • Deduction Tracking: Monitor benefit deductions and contributions

Input Parameters

Here are the input parameters required to set up this action:

Mandatory

NameDescription
Start DateStart date in YYYY-MM-DD format
End DateEnd date in YYYY-MM-DD format
Employee ID (EEID)Employee identifier

Optional

NameDescription
PagePage number for pagination (default: 1)
Per PageRecords per page (1-10000, default: 10000)

Here is a sample JSON input:

{
  "startDate": "2024-01-01",
  "endDate": "2024-12-31",
  "employeeIdentifier": {
    "eeid": "EB5KU3000020"
  },
  "page": 1,
  "per_page": 10000
}

Response

The action returns detailed payroll information including:

  • Earnings breakdown by pay code (regular, overtime, holiday)
  • Deductions (insurance, retirement, garnishments)
  • Tax withholdings (federal, state, local)
  • Net pay and payment method details
  • Year-to-date totals for all categories
  • Pay period and organizational information

Get Compensation Details

Retrieves compensation information for an employee including salary, pay rate, and compensation history. This action provides access to current compensation structures and payment details.

Input Parameters

Here are the input parameters required to set up this action:

Mandatory

NameDescription
Employee IDThe employee ID (e.g., EIDKU3000020)

Response

Upon successful retrieval, the action returns compensation details including:

  • Annual salary and hourly pay rate
  • Weekly and pay period pay rates
  • Job and salary grade information
  • Pay group and schedule details
  • Job change reason and dates
  • Performance review information

Get Employment Details

Retrieves employment details for an employee including job information, status, hire date, and organizational structure. This action provides comprehensive employment relationship data.

Input Parameters

Here are the input parameters required to set up this action:

Mandatory

NameDescription
Employee IDThe employee ID (e.g., EID5KU3000020)

Response

The action returns employment information including:

  • Job codes and organizational hierarchy
  • Employment dates (hire, termination, dates in position)
  • Employment status and type (full-time/part-time)
  • Supervisor and work location information
  • Benefit seniority and scheduled hours
  • Pay group and retirement dates

Get Employee Changes

Retrieves a log of changes made to employee records with pagination support. Useful for auditing and tracking employee data modifications. Here are some common use cases:

  • Audit Trail: Track all modifications to employee records

  • Compliance Reporting: Document changes for regulatory requirements

  • Data Verification: Review recent updates to employee information

  • Change History: Analyze patterns in employee data updates

Input Parameters

Here are the input parameters required to set up this action:

Mandatory

None (all parameters are optional)

Optional

NameDescription
Employee IDFilter by specific employee ID
PagePage number (default: 1)
Per PageRecords per page (default: 100)

Here is a sample JSON input:

{
  "employeeId": "EB5KU3000020",
  "page": 1,
  "per_page": 100
}

Response

The action returns a log of employee changes including:

  • Modified employee information
  • Change timestamps
  • Current employment status and details
  • Updated compensation information
  • Modified organizational assignments

Get Import Tool Status

Checks the status of an import transaction submitted via the import tool. Essential for tracking asynchronous update operations. This action allows monitoring of bulk data imports and updates to ensure successful processing.

Input Parameters

Here are the input parameters required to set up this action:

Mandatory

NameDescription
Transaction IDThe transaction ID returned from an import operation (e.g., 3c64b062-96cf-4273-9072-0c85a743d513)

Response

Upon successful status check, the action returns:

  • Transaction staging ID
  • Processing dates (file process, service submittal)
  • Employee information
  • Transaction status (Passed, Failed, Processing)
  • Transaction type description
  • Associated file name
  • Status messages and error details (if applicable)

Update Employee Data

Updates employee name, address, contact information, and marital status using UKG Pro's import tool with XML-based transactions. The Agent can leverage this action to modify employee personal and contact information. Here are some common use cases:

  • Address Updates: Change employee residential address

  • Contact Information: Update phone numbers and email addresses

  • Name Changes: Process legal name changes

  • Marital Status: Update employee marital status records

Input Parameters

Here are the input parameters required to set up this action:

Mandatory

NameDescription
Employee NumberEmployee number
Company CodeCompany code

Optional

NameDescription
First NameEmployee first name
Middle NameEmployee middle name
Last NameEmployee last name
Preferred NameEmployee preferred name
Email AddressPrimary email address
Alternate EmailSecondary email address
Marital Status CodeMarital status code
Phone Home NumberHome phone number
Phone Home Country CodeHome phone country code
Phone Business NumberBusiness phone number
Phone Business ExtensionBusiness phone extension
Phone Business Country CodeBusiness phone country code
Address Line 1Street address line 1
Address Line 2Street address line 2
Address CityCity
Address State CodeState code
Address Country CodeCountry code
Address CountyCounty
Address Zip CodeZip/postal code

Here is a sample JSON input:

{
  "employeeNumber": "321543238",
  "companyCode": "HDLBX",
  "firstName": "John",
  "lastName": "Smith",
  "emailAddress": "[email protected]",
  "phoneHomeNumber": "5551234567",
  "addressLine1": "123 Main Street",
  "addressCity": "Atlanta",
  "addressState": "GA",
  "addressZipCode": "30318"
}

Response

Upon successful update, the action returns:

  • Staging ID for the import transaction
  • Transaction creation timestamp
  • Generated file name for tracking
  • Transaction status

Update Employee SSN

Updates employee Social Security Number and national ID information. This action handles sensitive employee identification data updates.

Input Parameters

Here are the input parameters required to set up this action:

Mandatory

NameDescription
Employee NumberEmployee number
Company CodeCompany code
SSNSocial Security Number (e.g., 123456789)

Optional

NameDescription
National IDNational identification number
National ID Expire DateNational ID expiration date (MM/DD/YYYY)

Here is a sample JSON input:

{
  "employeeNumber": "321543238",
  "companyCode": "HDLBX",
  "ssn": "123456789",
  "nationalId": "123456789",
  "nationalIdExpireDate": "12/31/2030"
}

Response

Upon successful update, the action returns:

  • Staging ID for the import transaction
  • Transaction creation timestamp
  • Generated file name for tracking
  • Transaction status

Update Employee Private Information

Updates sensitive employee information including date of birth and gender. This action handles confidential personal information updates.

Input Parameters

Here are the input parameters required to set up this action:

Mandatory

NameDescription
Employee NumberEmployee number
Company CodeCompany code

Optional

NameDescription
Date of BirthDate of birth (MM/DD/YYYY)
Gender CodeGender identification code

Here is a sample JSON input:

{
  "employeeNumber": "321543238",
  "companyCode": "HDLBX",
  "dateOfBirth": "01/15/1985",
  "genderCode": "F"
}

Response

Upon successful update, the action returns:

  • Staging ID for the import transaction
  • Transaction creation timestamp
  • Generated file name for tracking
  • Transaction status

Terminate Employee

Terminates an employee with comprehensive termination details including COBRA information, severance eligibility, and ROE data. The Agent can leverage this action to process employee terminations with complete compliance documentation. Here are some common use cases:

  • Employee Separation: Process standard employee terminations

  • Compliance Documentation: Record all required termination details

  • COBRA Management: Handle COBRA qualifying events

  • Final Pay Processing: Configure final payment dates and methods

Input Parameters

Here are the input parameters required to set up this action:

Mandatory

NameDescription
Employee NumberEmployee number
Company CodeCompany code

Optional

NameDescription
Date of TerminationOfficial termination date
Last Date WorkedEmployee's last working day
Date Paid ThruFinal date for payment processing
Termination Reason CodeCode indicating termination reason
Termination NoteAdditional notes about termination
Eligible for RehireRehire eligibility status
Eligible for SeveranceSeverance package eligibility
Direct Deposit InactiveDeactivate direct deposit
Inactivate Auto PayDisable automatic payment processing
Is COBRA QualifyingWhether termination qualifies for COBRA
COBRA Date of EventDate of COBRA qualifying event
COBRA ReasonReason for COBRA qualification
ROE Issue ReasonRecord of Employment issue reason

Here is a sample JSON input:

{
  "employeeNumber": "321543238",
  "companyCode": "HDLBX",
  "dateOfTermination": "12/31/2024",
  "lastDateWorked": "12/31/2024",
  "datePaidThru": "12/31/2024",
  "termReasonCode": "VOL",
  "eligibleForRehire": "Y",
  "eligibleForSeverance": "N",
  "isCobraQualifying": "Y",
  "cobraDateOfEvent": "12/31/2024",
  "sendUpdates": "all"
}

Response

Upon successful termination processing, the action returns:

  • Staging ID for the termination transaction
  • Transaction creation timestamp
  • Generated file name for tracking
  • Transaction status

Update Job Salary

Updates employee job and salary information including job title, compensation, pay rates, organizational structure, and supervisor assignment using UKG Pro's import tool with XML-based transactions. The Agent can leverage this action to modify employee compensation and job-related information. Here are some common use cases:

  • Salary Adjustments: Process pay rate changes and annual salary updates

  • Job Changes: Update job codes, titles, and organizational assignments

  • Promotions: Record promotions with updated compensation

  • Supervisor Changes: Assign new supervisors to employees

  • Organizational Restructuring: Update org level assignments

Input Parameters

Here are the input parameters required to set up this action:

Mandatory

NameDescription
Employee NumberEmployee number (e.g., 102539647)
Company CodeCompany code (e.g., USG_1)
Effective DateEffective date in MM/DD/YYYY format (e.g., 12/01/2024)
Job Change ReasonJob change reason code (dynamically loaded via async hook)

Optional

NameDescription
Alternate Job TitleAlternate job title
Employee Type CodeEmployee type code
Full Or Part Time CodeFull or Part Time - F (Full Time) or P (Part Time)
Job CodeJob code
Hire Source CodeHire source code
Hourly Pay RateHourly pay rate (e.g., 17.00)
Salary Or HourlySalary or Hourly - S (Salary) or H (Hourly)
Yearly Pay RateAnnual salary
Scheduled Work HoursScheduled work hours
Weekly HoursWeekly hours
Payments Per YearNumber of payments per year
Other Rate 1Additional pay rate 1
Other Rate 2Additional pay rate 2
Other Rate 3Additional pay rate 3
Other Rate 4Additional pay rate 4
Currency CodeCurrency code
Is AutopaidIs autopaid - Y or N
Is SeasonalIs seasonal worker - Y or N
Is AgriculturalIs agricultural worker - Y or N
Is Youth TrainingIs youth training - Y or N
Is Direct LaborIs direct labor - Y or N
Is PromotionIs promotion - Y or N
Is TransferIs transfer - Y or N
Org Level 1 CodeOrganization level 1 code
Org Level 2 CodeOrganization level 2 code
Org Level 3 CodeOrganization level 3 code
Org Level 4 CodeOrganization level 4 code
Project CodeProject code
Shift CodeShift code
Shift GroupShift group code
Supervisor IDSupervisor ID
Supervisor Company CodeSupervisor company code (required if Supervisor ID is provided)
Labor Union Local CodeLabor union local code
Labor Union National CodeLabor union national code
Pay GroupPay group
Pay ScalePay scale code
Pay StepSalary step
Position CodePosition code
Position StatusPosition status
ROE Issue CodeROE issue reason

Here is a sample JSON input:

{
  "employeeNumber": "102539647",
  "companyCode": "USG_1",
  "effectiveDate": "12/01/2024",
  "jobChangeReason": "PROMO",
  "hourlyPayRate": 25.00,
  "salaryOrHourly": "H",
  "jobCode": "ENGR02",
  "orgLevel1Code": "TECH",
  "orgLevel2Code": "DEV",
  "isPromotion": "Y",
  "supervisorId": "1HHN36000080",
  "supervisorCompanyCode": "USG_1"
}

Response

Upon successful update, the action returns:

  • Staging ID for the import transaction
  • Transaction creation timestamp
  • Generated file name for tracking
  • Transaction status

Update Work Location

Updates employee work location and tax information for both USA and Canada. This action handles country-specific tax settings and location assignments using UKG Pro's import tool with XML-based transactions. The Agent can leverage this action to modify employee work locations and associated tax configurations. Here are some common use cases:

  • Location Transfers: Update employee work location assignments

  • Tax Configuration: Modify state/provincial tax withholding settings

  • Multi-location Management: Manage primary and secondary work locations

  • Cross-border Assignments: Handle USA and Canada location updates

  • Tax Exemption Updates: Configure tax exemption and allowance settings

Input Parameters

Here are the input parameters required to set up this action:

Mandatory

NameDescription
Employee NumberEmployee number (e.g., 571957925)
Company CodeCompany code (e.g., USG_2)
CountryCountry - USA or CAN

USA-Specific Required

NameDescription
Work In Location CodeWork location code (filtered by USA)

USA-Specific Optional

NameDescription
Work In Is Primary LocationIs primary location - Y or N
Work In Is Active LocationIs active location - Y or N
Work In Filing Status CodeFiling status code
Work In Total AllowancesTotal allowances
Work In Additional AllowancesAdditional allowances
Work In Additional Amount WithheldAdditional amount withheld
Work In Employee Claims ExemptionEmployee claims exemption
Exempt From TaxExempt from tax
Work In Lock In LetterLock-in letter
Work In State Tax PlanState tax plan
Work In State Tax Disability PlanState tax disability plan
Work In State Geographic CodeState geographic code
Work In State Occupational CodeState occupational code
Work In Not Subject To TaxNot subject to tax
Work In Reciprocal AgreementReciprocal agreement
Local Work In Tax Resident StatusLocal tax resident status
Local Work In Occ Not Subject To TaxLocal occupational not subject to tax
Local Work In Occ Claims ExemptionLocal occupational claims exemption
Local Work In Oth Not Subject To TaxLocal other not subject to tax
Local Work In Oth Claims ExemptionLocal other claims exemption
Local Work In WC Not Subject To TaxLocal WC not subject to tax
Local Work In WC Claims ExemptionLocal WC claims exemption
Local Work In Not Subject To TaxLocal not subject to tax
Local Work In Claims ExemptionLocal claims exemption
Work In Working From HomeWorking from home
Work In Disable State ReciprocityDisable state reciprocity

Canada-Specific Required

NameDescription
Province Location CodeProvince location code (filtered by CAN)

Canada-Specific Optional

NameDescription
Province Is PrimaryIs primary province - Y or N
Province Exempt From TaxExempt from tax
Province Pension Block Tax AmountPension block tax amount
Province Ins Plan Exempt From TaxInsurance plan exempt from tax
Province Pension Months To ContributePension months to contribute
Province Number Of DependentsNumber of dependents
Province Use Basic Personal AmountUse basic personal amount
Province Total Claim AmountTotal claim amount
Province Prescribed Deduction ZonePrescribed deduction zone
Province Income Less Claim AmountIncome less claim amount
Province Additional Amount WithheldAdditional amount withheld
Province Request Reduction AmountRequest reduction amount
Province Tax Credit AmountTax credit amount
Province Net Commission AmtNet commission amount

Here is a sample JSON input for USA:

{
  "employeeNumber": "571957925",
  "companyCode": "USG_2",
  "country": "USA",
  "workInLocationCode": "ATLANT",
  "workInIsPrimaryLocation": "Y",
  "workInIsActiveLocation": "Y",
  "workInFilingStatusCode": "S",
  "workInTotalAllowances": 2
}

Here is a sample JSON input for Canada:

{
  "employeeNumber": "571957925",
  "companyCode": "USG_2",
  "country": "CAN",
  "provinceLocationCode": "ON",
  "provinceIsPrimary": "Y",
  "provinceTotalClaimAmount": 15000.00,
  "provinceUseBasicPersonalAmount": "Y"
}

Response

Upon successful update, the action returns:

  • Staging ID for the import transaction
  • Transaction creation timestamp
  • Generated file name for tracking
  • Transaction status