with BambooHR and Mailosaur?
Emit new event when a message matching specific criteria is received. See the documentation
Emit new event when a message is received in a specified Mailosaur inbox. See the documentation
Sends an email through Mailosaur. See the documentation
Deletes an email from a Mailosaur server using its email ID. See the documentation
Search for received emails in a server matching specified criteria. See the documentation
BambooHR is a comprehensive human resources information system (HRIS) that allows businesses to manage employee data, track time off, run reports, and integrate with other services. With its API, users on Pipedream can automate various HR tasks, sync employee data across platforms, and trigger workflows based on events like new hires, time-off requests, or updates to employee details.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
bamboohr: {
type: "app",
app: "bamboohr",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.bamboohr.com/api/gateway.php/${this.bamboohr.$auth.company_domain}/v1/meta/users`,
headers: {
"Accept": `application/json`,
},
auth: {
username: `${this.bamboohr.$auth.api_key}`,
password: `x`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mailosaur: {
type: "app",
app: "mailosaur",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://mailosaur.com/api/servers`,
auth: {
username: `api`,
password: `${this.mailosaur.$auth.api_key}`,
},
})
},
})