Setup Ashby (Webhook)
Follow instructions in our Webhook documentation to understand how OnLink supports webhooks. Here are the config elements you will need to configure Ashby webhooks:
config:auth_scheme=request_signing_ashby
config:signature_token=<a random password string that's used as secret token in Ashby>
To set up a webhook in Ashby, you need to configure your payload url (copied from OnLink webhook configuration), the webhook event type (you can choose the event type from a dropdown when configuring a new webhook), and a secret token (from OnLink webhook configuration - the value you set for config:signature_token).
Webhooks are configured in Ashby under the Admin panel, by going to Admin > Ashby API > Webhooks. Create a new webhook by clicking the "New" button or edit/delete an existing webhook by clicking on it in the list. Then follow instructions here to configure webhook in Ashby: Setting up Webhooks
Here are some fields available in Ashby payload that can be used for mapping in OnLink. A sample payload is available here Candidate-Hire :
{
"action": "",
"data.application.id": "",
"data.application.createdAt": "",
"data.application.updatedAt": "",
"data.application.status": "",
"data.application.customFields": [],
"data.application.candidate.id": "",
"data.application.candidate.name": "",
"data.application.candidate.primaryEmailAddress.value": "",
"data.application.candidate.primaryEmailAddress.type": "",
"data.application.candidate.primaryEmailAddress.isPrimary": false,
"data.application.candidate.primaryPhoneNumber.value": "",
"data.application.candidate.primaryPhoneNumber.type": "",
"data.application.candidate.primaryPhoneNumber.isPrimary": false,
"data.application.currentInterviewStage.id": "",
"data.application.currentInterviewStage.title": "",
"data.application.currentInterviewStage.type": "",
"data.application.currentInterviewStage.orderInInterviewPlan": 0,
"data.application.currentInterviewStage.interviewStageGroupId": "",
"data.application.currentInterviewStage.interviewPlanId": "",
"data.application.source.id": "",
"data.application.source.title": "",
"data.application.source.isArchived": false,
"data.application.source.sourceType.title": "",
"data.application.source.sourceType.isArchived": false,
"data.application.archiveReason.text": "",
"data.application.archiveReason.reasonType": "",
"data.application.archiveReason.isArchived": false,
"data.application.archivedAt": "",
"data.application.job.title": "",
"data.application.job.locationId": "",
"data.application.job.departmentId": "",
"data.application.creditedToUser.firstName": "",
"data.application.creditedToUser.lastName": "",
"data.application.creditedToUser.email": "",
"data.application.creditedToUser.globalRole": "",
"data.application.creditedToUser.isEnabled": false,
"data.application.creditedToUser.updatedAt": "",
"data.application.appliedViaJobPostingId": "",
"data.application.submitterClientIp": "",
"data.application.submitterUserAgent": "",
"data.offer.decidedAt": "",
"data.offer.applicationId": "",
"data.offer.acceptanceStatus": "",
"data.offer.offerStatus": "",
"data.offer.latestVersion.startDate": "",
"data.offer.latestVersion.salary.currencyCode": "",
"data.offer.latestVersion.salary.value": 0,
"data.offer.latestVersion.createdAt": "",
"data.offer.latestVersion.customFields": [],
"data.offer.latestVersion.fileHandles": [],
"data.offer.latestVersion.author.id": "",
"data.offer.latestVersion.author.firstName": "",
"data.offer.latestVersion.author.lastName": "",
"data.offer.latestVersion.author.email": "",
"data.offer.latestVersion.author.globalRole": "",
"data.offer.latestVersion.author.isEnabled": false,
"data.offer.latestVersion.author.updatedAt": "",
}