You can enable event notifications in Paycor - instructions are here: https://developers.paycor.com/guides#event-subscriptions
Setup Paycor connection in OnLink by selecting “Other HR Assets Source”. Follow instructions here to get the connection parameters:
URL - https://apis-sandbox.paycor.com or https://apis.paycor.com
Create application and get Oauth2 client id and secret values as well as APIm Subscription Key (goes into Org (Subscription) Id) (https://developers.paycor.com/guides#configure-application)
Simple Client Activation - copy the Refresh Token (https://developers.paycor.com/guides#simple-client-activation)
Follow instructions in our Webhook documentation to understand how OnLink supports webhooks. Here are the config elements you will need to configure Hubspot webhook:
config:auth_scheme=request_signing_paycor
config:signature_token=<create random secret>
This random secret needs to be entered in Paycor when configuring event subscriptions.
You can set config:validate_signature=FALSE
when doing the initial build and test. This by-passes signature validation so should only be set for dev and test stages.
Here’s sample field mapping for events related to “Employee” object in Paycor.
key:id=customfield_10121
map:firstName=customfield_10065
map:lastName=customfield_10066
map:email.emailAddress=customfield_10104
map:employmentDateData.hireDate=customfield_10105
map:workLocation.city=customfield_10053
config:summary='New Hire: ', {customfield_10065}, ' ', {customfield_10066}
Any field supported by Paycor can be mapped in this way.