with Breathe and Workamajig?
Emit new event when a new open activity is created in Workamajig. Note: Completed activities/conversations are not retrieved by the Workamajig API.
Emit new event when an existing employee is updated in Breathe. See the documentation
Emit new event when a new employee is created in Breathe. See the documentation
Emit new event when a new employee leave request is created in Breathe. See the documentation
Approve or reject an employee leave request in Breathe. See the documentation
Initiates the creation of a fresh activity in Workamajig. See the documentation
Creates a new leave request for an employee in Breathe. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
breathe: {
type: "app",
app: "breathe",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.breathe.$auth.api_url}/v1/account`,
headers: {
"x-api-key": `${this.breathe.$auth.api_key}`,
},
})
},
})
The Workamajig API allows for automation and integration of project management tasks within the Workamajig platform. Using Pipedream, developers can create workflows to manage projects, resources, and client accounts by triggering events, syncing data, and automating processes. Pipedream's serverless platform enables the execution of these workflows on demand or on a schedule, making it possible to connect Workamajig with other apps and services to streamline operations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
workamajig: {
type: "app",
app: "workamajig",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app6.workamajig.com/api/beta1/contacts/search`,
headers: {
"APIAccessToken": `${this.workamajig.$auth.api_access_token}`,
"UserToken": `${this.workamajig.$auth.user_token}`,
},
params: {
name: `John`, //E.g. John
},
})
},
})