Notifications

Configuring Webhooks

TABLE OF CONTENTS


Webhooks can be configured in Keka to enable real-time communication and trigger actions in external applications based on specific events and workflows. This article will guide you through configuring webhooks in Keka.


What is a Webhook?

 

A webhook is a mechanism for applications to send real-time data to other applications whenever a specific event or action occurs. It serves as a way to notify or trigger actions in an application by sending an HTTP POST request to a designated URL (endpoint) with relevant data in the payload.

When a webhook event occurs, the application receiving the webhook can process the data and perform actions accordingly. This enables seamless integration and automation between different systems, enhancing efficiency and enabling the exchange of information in real-time.


How Can You Utilize Webhooks?

Webhooks offer a wide range of possibilities for integrating and extending the functionality of Keka. Here are a few examples of how you can leverage webhooks in your workflows:


1. Real-time Employee Onboarding: Configure a webhook to receive real-time notifications when a new employee is added in Keka. This can trigger automatic actions such as provisioning access to systems and tools and sending welcome emails to employees. 

2. Leave Request Notifications: Set up a webhook to receive instant notifications when an employee leave request is approved. This can enable you to promptly plan for future tasks, ensuring efficient management of employee time off. You can integrate the webhook with your notification system to receive alerts on your preferred communication channel, such as Slack or email.

3. Performance Review Reminders: Configure a webhook to update your intranet when an employee performance review process has been initiated in Keka. The webhook can forward the data to the intranet endpoint, ensuring the data is updated in the intranet. This automation reduces manual effort and improves the efficiency of your performance management process.


Accessing Event Triggers


To access event triggers in Keka, follow these steps:

  • Log in to Keka as a privileged user with the manage event triggers permission.
  • Navigate to "Settings > communications > Event Triggers."

Adding a Webhook Action to an Event Trigger


To configure a webhook for an event trigger, follow these steps:

  • Access the desired event trigger from the event triggers page.
  • Click on "+Add Action."
  • Select "Webhook" from the drop-down menu.

  • Provide a name for the webhook action.
  • Specify the URL to which the webhook will post the JSON object representation of the event.
  • Optionally, add additional headers and header values for the webhook request.
  • Click "Add" to create the webhook action.

 

 

By following these simple steps, you can easily configure webhooks in event triggers in Keka.

We hope this guide helps you make the most of webhooks in event triggers in Keka.