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
servicem8.getAccount
Read callVerify 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 } }>
servicem8.listJobs
Read callRead one ServiceM8 cursor page of active jobs; defaults to Completed for invoice evidence.
Parameters and return value
| Parameter | Type | Details |
|---|---|---|
statusOptional | "Completed" | "Quote" | "Work Order" | "Unsuccessful" | — |
cursorOptional | string | — |
modifiedSinceOptional | string | — |
Returns Promise<{ records: Record<string, unknown>[]; nextCursor: string | null }>
servicem8.getJob
Read callRead job scope, work done, completion and invoice fields. Web link requires ServiceM8 sign-in.
Parameters and return value
| Parameter | Type | Details |
|---|---|---|
jobId | string | — |
Returns Promise<Record<string, unknown>>
servicem8.listClients
Read callRead one cursor page of active clients in the verified account.
Parameters and return value
| Parameter | Type | Details |
|---|---|---|
cursorOptional | string | — |
Returns Promise<{ records: Record<string, unknown>[]; nextCursor: string | null }>
servicem8.getClient
Read callRead selected client and billing metadata in the verified account.
Parameters and return value
| Parameter | Type | Details |
|---|---|---|
clientId | string | — |
Returns Promise<Record<string, unknown>>
servicem8.listJobAttachments
Read callRead one page of job-related attachment metadata, including quote or invoice source labels.
Parameters and return value
| Parameter | Type | Details |
|---|---|---|
jobId | string | — |
cursorOptional | string | — |
Returns Promise<{ records: Record<string, unknown>[]; nextCursor: string | null }>
servicem8.getJobAttachment
Read callRead attachment metadata only after checking it belongs to the requested job.
Parameters and return value
| Parameter | Type | Details |
|---|---|---|
jobId | string | — |
attachmentId | string | — |
Returns Promise<Record<string, unknown>>
