with HR Partner and Zoho FMS?
The HR Partner API provides a suite of tools to manage employee records, leave requests, recruitment processes, and more in a centralized HR system. With Pipedream, you can harness this API to create automated workflows that streamline HR tasks, sync data with other business systems, and trigger actions based on employee activities. The API enables you to programmatically interact with HR Partner's platform, allowing you to create, read, update, and delete various HR-related data points.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
hr_partner: {
type: "app",
app: "hr_partner",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.hrpartner.io/company`,
headers: {
"x-api-key": `${this.hr_partner.$auth.api_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
zoho_fms: {
type: "app",
app: "zoho_fms",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://fsm.${this.zoho_fms.$auth.api_domain}/fsm/v1/users`,
headers: {
Authorization: `Bearer ${this.zoho_fms.$auth.oauth_access_token}`,
},
})
},
})