Let's assume you are someone who uses Freshteam ATS for hiring, but manage your Employee Record in another HRMS. Manually adding the employee records as soon as you hire someone is time-consuming. That's where Webhooks in Freshteam can help.
Before creating the webhook, ensure that you have the following information from your HRMS.Â
- API Request URL
- The ENDPOINT for the usage you want. In this case, creating an employee (Each Software will call this differently. Find out how it is configured in your software and attach to the end of the URL. Eg: Employee Profile/Profile.)
- The authorization information. This can be Username - Password, Header Key and Value or OAuth. (If it's OAuth, you would need the help of a developer to set it up.Â
- The body request content for your HRMS.Â
-Â Once that's done, go to the job wherein you'd like to add the webhook.
- View Job Details > Manage Autopilot Workflows.Â
- Select Update HRMSÂ to create a webhook to send details to your HR Portal.
- Name your workflow
 Event: When a Candidate Gets Moved to a New Stage
 Stage: Hired
 Action: Trigger Webhook
 Request Type: POST
Â
- Enter your Callback/ API Request URL.Â
- If your authorization type is Username-Password , enable Requires Authentication, and enter it.Â
-Â If it is Key and Value in Header, enter the Name and Value as per the instructions of your HR Software. If it is OAuth, set it up with a developer's help.Â
-Â Choose JSON and enter the request code. Freshteam gives you placeholders that you can use to get the information you want from the candidate like Email, First Name, Last Name, etc.
- Please find the list of the placeholders available in Freshteam below.Â
- Save the Workflow and get adding!Â