Darwinbox is a cloud-based Human Resources Management System (HRMS) that streamulates HR processes from recruitment to retirement. With the Darwinbox API, you can automate various HR tasks such as employee onboarding, performance appraisals, and leave management. The API allows you to synchronize employee data across different systems, automate HR workflows, and build custom integrations to extend the capabilities of your HR tech stack.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
darwinbox: {
type: "app",
app: "darwinbox",
}
},
async run({steps, $}) {
const data = {
"username": `${this.darwinbox.$auth.username}`,
"password": `${this.darwinbox.$auth.password}`,
"api_key": `[AES256 encrypted string of(${this.darwinbox.$auth.api_key})]`,
}
return await axios($, {
method: "post",
url: `https://${this.darwinbox.$auth.subdomain}.darwinbox.in/loginapi/employee`,
headers: {
"Content-Type": `application/json`,
},
auth: {
username: `${this.darwinbox.$auth.username}`,
password: `${this.darwinbox.$auth.password}`,
},
data,
})
},
})
Automated Employee Onboarding: Trigger a workflow in Pipedream when a new employee is added in Darwinbox. This workflow can send a welcome email, create accounts in third-party services like Slack or G Suite, and add the new hire to relevant Asana projects for onboarding tasks.
Leave Request Approval: Set up a workflow that listens for leave requests in Darwinbox. When a request is detected, the workflow can automatically post a message in a manager's Slack channel for approval. Once approved, the workflow updates the leave status in Darwinbox and syncs the information with a Google Calendar.
Performance Review Reminders: Create a Pipedream workflow that runs on a schedule to check for upcoming performance reviews in Darwinbox. If a review is due, the workflow can send reminder emails to the employees and their managers, and post a reminder in the team's project management tool, like Trello, to ensure the review is completed in time.
Darwinbox uses API keys for authentication. When you connect your Darwinbox account, Pipedream securely stores the keys so you can easily authenticate to Darwinbox APIs in both code and no-code steps.
Find your subdomain in your URL such as https://{{subdomain}}.darwinbox.in/