with TickTick and Buddee?
Emit new event when an employee is updated in the system. See the documentation
Emit new event when a new employee is added to the system. See the documentation
Emit new event when a new leave request is created in the system. See the documentation
The TickTick API lets you tap into a robust task management framework from Pipedream. If you've ever wanted to streamline your to-do list or automate routine task management, this is your gateway. Use the API to create tasks, retrieve task details, update task status, and more. Automating your TickTick tasks can free up time, ensuring important items never slip through the cracks.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ticktick: {
type: "app",
app: "ticktick",
}
},
async run({steps, $}) {
const data = {
"title": `Example task from Pipedream`,
}
return await axios($, {
method: "post",
url: `https://api.ticktick.com/open/v1/task`,
headers: {
Authorization: `Bearer ${this.ticktick.$auth.oauth_access_token}`,
},
data,
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
buddee: {
type: "app",
app: "buddee",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.buddee.nl/users`,
headers: {
Authorization: `Bearer ${this.buddee.$auth.oauth_access_token}`,
},
})
},
})