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.
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}`,
},
})
},
})
The MySQL application on Pipedream enables direct interaction with your MySQL databases, allowing you to perform CRUD operations—create, read, update, delete—on your data with ease. You can leverage these capabilities to automate data synchronization, report generation, and event-based triggers that kick off workflows in other apps. With Pipedream's serverless platform, you can connect MySQL to hundreds of other services without managing infrastructure, crafting complex code, or handling authentication.
import mysql from '@pipedream/mysql';
export default defineComponent({
props: {
mysql,
},
async run({steps, $}) {
// Component source code:
// https://github.com/PipedreamHQ/pipedream/tree/master/components/mysql
const queryObj = {
sql: "SELECT NOW()",
values: [], // Ignored since query does not contain placeholders
};
return await this.mysql.executeQuery(queryObj);
},
});