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:employeeNumber=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.