with BambooHR and Canny?
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`,
},
})
},
})
The Canny API provides programmatic access to Canny's customer feedback management platform. With it, you can automate the collection, analysis, and response to user feedback. This includes creating posts, voting on behalf of users, fetching boards, and managing comments and tags. Such integrations can streamline how you gather insights and act on user suggestions, making sure the voice of the customer is heard and addressed efficiently.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
canny: {
type: "app",
app: "canny",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://canny.io/api/v1/boards/list`,
params: {
apiKey: `${this.canny.$auth.api_key}`,
},
})
},
})