Productivity

ServiceM8

Read ServiceM8 jobs, clients and job attachments in an OrgSDK action. Review job scope, recorded work and completion for the configured account.

View 7 plugin functions ↓

Use ServiceM8 in a project

  • Read job progress and compare completed work with the agreed scope
  • Retrieve job attachments for a job review

Access and credentials

Reads jobs, clients and job attachments. The plugin checks that the connected ServiceM8 account matches the configured account UUID before each operation.

This plugin uses an API token. Store credentials in OrgSDK and select them for the project that needs access.

Verify the configured ServiceM8 account

In Studio, open your project’s Plugins page and enable ServiceM8. Connect the account you want to use. Paste this example into an action in the same project.

// Check which ServiceM8 account will supply your job records.
return await servicem8.getAccount({});

Use with OrgSDK

OrgSDK gives external AI clients persistent projects and controlled execution. Plugins add optional tools to those projects. Each run uses pinned plugin versions, and project configuration determines which credentials they can use.

Set up OrgSDK locally ↗

Capabilities

7 functions from this published version. Read calls retrieve or process information; write actions can change data in the connected service.

7 of 7 functions

Verify API key and expected account; return account identity and key access level.

Parameters and return value

This call takes no parameters.

Returns Promise<{ account: { uuid: string; name?: string }; key: { access_level: string; auth_method?: string } }>

Read one ServiceM8 cursor page of active jobs; defaults to Completed for invoice evidence.

Parameters and return value
ParameterTypeDetails
statusOptional"Completed" | "Quote" | "Work Order" | "Unsuccessful"—
cursorOptionalstring—
modifiedSinceOptionalstring—

Returns Promise<{ records: Record<string, unknown>[]; nextCursor: string | null }>

Read job scope, work done, completion and invoice fields. Web link requires ServiceM8 sign-in.

Parameters and return value
ParameterTypeDetails
jobIdstring—

Returns Promise<Record<string, unknown>>

Read one cursor page of active clients in the verified account.

Parameters and return value
ParameterTypeDetails
cursorOptionalstring—

Returns Promise<{ records: Record<string, unknown>[]; nextCursor: string | null }>

Read selected client and billing metadata in the verified account.

Parameters and return value
ParameterTypeDetails
clientIdstring—

Returns Promise<Record<string, unknown>>

Read one page of job-related attachment metadata, including quote or invoice source labels.

Parameters and return value
ParameterTypeDetails
jobIdstring—
cursorOptionalstring—

Returns Promise<{ records: Record<string, unknown>[]; nextCursor: string | null }>

Read attachment metadata only after checking it belongs to the requested job.

Parameters and return value
ParameterTypeDetails
jobIdstring—
attachmentIdstring—

Returns Promise<Record<string, unknown>>