Field service software
Emit new event when a new Form Response is created.
Emit new event when a new job is created. By creating this trigger, any other Job
triggers will stop working as ServiceM8 will replace any previous ones.
Emit new event when a job completes. By creating this trigger, any other Job
triggers will stop working as ServiceM8 will replace any previous ones.
Emit new event when a job is queued. By creating this trigger, any other Job
triggers will stop working as ServiceM8 will replace any previous ones.
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
The ServiceM8 API allows businesses to streamline their field service management by automating tasks and integrating with other tools. Through Pipedream, you can harness this API to create custom workflows that trigger actions within ServiceM8 or sync data with other apps. Automate job scheduling, dispatching, invoicing, and more by reacting to events in real-time. Enhance productivity by connecting ServiceM8 to CRMs, accounting software, or custom databases, ensuring consistent and updated information across platforms.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
servicem8: {
type: "app",
app: "servicem8",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.servicem8.com/api_1.0/staff.json`,
headers: {
Authorization: `Bearer ${this.servicem8.$auth.oauth_access_token}`,
},
})
},
})
Develop, run and deploy your Node.js code in Pipedream workflows, using it between no-code steps, with connected accounts, or integrate Data Stores and File Stores.
This includes installing NPM packages, within your code without having to manage a package.json
file or running npm install
.
Below is an example of installing the axios
package in a Pipedream Node.js code step. Pipedream imports the axios
package, performs the API request, and shares the response with subsequent workflow steps:
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})