with Workiz and Workflow Max?
Emit new event when a new job is created in Workiz. See the documentation
Emit new event when a new lead is created in Workiz. See the documentation
The Workiz API opens up a world of possibilities for managing field service operations. By tapping into Workiz with Pipedream, you can automate workflows, sync data across apps, and react to events in real-time. Whether you're automating job scheduling, dispatch notifications, or customer follow-ups, integrating Workiz with Pipedream allows you to streamline operations, reduce manual entry, and keep your team in sync.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
workiz: {
type: "app",
app: "workiz",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.workiz.com/api/v1/${this.workiz.$auth.api_token}/team/all/`,
headers: {
"accept": `application/json`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
workflow_max: {
type: "app",
app: "workflow_max",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.workflowmax2.com/me`,
headers: {
Authorization: `Bearer ${this.workflow_max.$auth.oauth_access_token}`,
"accept": `application/json`,
"account_id": `${this.workflow_max.$auth.account_id}`,
},
})
},
})