A simple, all-in-one HR software focused on people.
Emit new event whenever a new employee is created. See the documentation
Emit new event when a new job application is submitted. See the documentation
Hires a new employee and registers them in the system. See the documentation
Responds to an employee's time off request. This action requires the request ID and the response status as props. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
talenthr: {
type: "app",
app: "talenthr",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://pubapi.talenthr.io/v1/timezones`,
auth: {
username: `${this.talenthr.$auth.api_key}`,
password: `c`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})