Paylocity
Feature | Description |
Paylocity Integrations | You can use OnLink’s Paylocity connector to add or terminate employees. Here are the instructions to configure a post function that executes such an integration.
|
Add Employee | To configure Add Employee post function, you will need to map these required fields: first name, last name in the UI. However since the required fields vary by the country in which you are hiring, we provide the flexibility to map additional fields by setting the KeyValue text as below:
Here’s the Paylocity API that’s called for Add Employee: Add new employee Most fields are one level e.g. ethnicity or preferredName so can be mapped as: map:ethnicity=customfield_10000
map:preferredName=customfield_10000 For “objects” e.g. workAddress you need a dot notation to indicate object name followed by field name: map:workAddress.emailAddress=customfield_10000
map:workAddress.phone=customfield_10000 Please use the above Paylocity API link to add the fields you want to use in your request. This will show the request JSON on the right side, or even test it by clicking on “Try It”. You can then follow the above mapping notation. By default, the Add Employee service adds an employee to Paylocity’s HR/Payroll system. To change this to add to Paylocity’s Onboarding, set this parameter in Key-Value Config: |
Terminate Employee | To configure Terminate Employee post function, you will need to map these required fields: employee id, termination date and employee status. However, the below additional fields can be mapped by setting the KeyValue text with the below (replace customfield_n with your customfields.:
|
Inbound Webhooks | You will need to request Paylocity to setup webhook for your use cases e.g. new hire, termination, etc. This link provides more information about their process. Use the form specified in step-4 to provide relevant details. The URL, username and password can be copied once new webhooks are created in OnLink. See this link for reference. Once you have authorization, you can create a new webhook in OnLink with Paylocity as the system and the below config:
Additional mapping fields can be added. See Mapping section below for common fields you can map from Paylocity. |