with Schedule and Tellent HR - Manage (formerly kiwiHR)?
Emit new event when a new employee is added to KiwiHR.
Trigger your workflow on one or more days each month at a specific time (with timezone support).
Trigger your workflow on one or more days each week at a specific time (with timezone support).
Add a new employee to kiwiHR. See the documentation
Update an existing employee's record in kiwiHR. See the documentation
The Schedule app in Pipedream is a powerful tool that allows you to trigger workflows at regular intervals, ranging from every minute to once a year. This enables the automation of repetitive tasks and the scheduling of actions to occur without manual intervention. By leveraging this API, you can execute code, run integrations, and process data on a reliable schedule, all within Pipedream's serverless environment.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
kiwihr: {
type: "app",
app: "kiwihr",
}
},
async run({steps, $}) {
const data = {
"query": `{ users { items { id email } } }`,
}
return await axios($, {
method: "post",
url: `${this.kiwihr.$auth.api_url}/api/graphql`,
headers: {
"x-api-key": `${this.kiwihr.$auth.api_key}`,
},
data,
})
},
})