
Connectors / Operations · HTTP Connector
Automate ServiceM8 with Tray.ai
Create a job, create a job activity and create a company contact in ServiceM8, and start a workflow when ServiceM8 sends “Job changed”.
What can you do with ServiceM8 on Tray.ai?
ServiceM8 is job management software for trades and field service businesses, covering scheduling, quotes, job materials, staff, and client records. Tray.ai connects to ServiceM8 through the HTTP Connector, so your workflows can call the ServiceM8 API alongside the rest of your stack.
- When ServiceM8 sends “Job payment changed”, record the payment against the invoice in your accounting system.
- Create a job whenever a customer books a repair through your website form.
- When ServiceM8 sends “Job changed”, update the matching deal in your CRM so sales sees the job status.
- Create a staff member for each new field technician added in your HR system.
- Connects through
- HTTP Connector
- Authentication
- An API key in a request header or OAuth 2.0
- Base URL
- https://api.servicem8.com/api_1.0
Set it up
Connect ServiceM8 to Tray.ai
Each step uses ServiceM8's own API details, from its documentation.
Step 1
Save ServiceM8's API key
Save the key as a Tray.ai authentication. The HTTP Client puts it in the request header, read from $.auth. The key stays out of the workflow and out of the logs.
Step 2
Point the HTTP Client at the API
Add an HTTP Client step and use https://api.servicem8.com/api_1.0 as the base URL. Or paste a cURL example from ServiceM8's API docs, and Tray.ai fills in the method, URL, and headers.
Step 3
Start with “List jobs”
It's one of 21 documented actions, under Jobs. The response comes back as data the next step can map into your other apps.
Step 4
Start workflows from ServiceM8 events
Give ServiceM8 the URL of a Tray.ai webhook trigger. “Job changed” can then start a workflow, and so can 5 other events.
Give your AI agents ServiceM8 tools
Build an MCP server on ServiceM8 in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works
- List jobs
- List job activities
- List clients
- List materials
- List staff members
- Create a job
- Get a job
- Update a job
What the ServiceM8 API covers
5 resources and 21 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.
Jobs
- List jobs
- Create a job
- Get a job
- Update a job
- Delete a job
Job activities
- List job activities
- Create a job activity
- Update a job activity
- Delete a job activity
Clients
- List clients
- List company contacts
- Create a company contact
- Update a company contact
Materials
- List materials
- Create a material
- Update a material
- Delete a material
Staff
- List staff members
- Create a staff member
- Update a staff member
- Delete a staff member
Events ServiceM8 can send to a Tray.ai webhook trigger
- Job changed
- Job activity changed
- Job payment changed
- Company changed
- Material changed
- Note changed
Checked against ServiceM8's own documentation on 2026-10-22
How Tray.ai makes this work
ServiceM8 plugs into the whole Tray.ai platform
Intelligent Integration
Integrate and automate across 9,000+ apps, databases, APIs, and services with visual workflows, error handling, and observability.
Learn more →Agent Builder
Build AI agents that read, write, and take action in ServiceM8 — with guardrails, audit, and human-in-the-loop.
Learn more →Agent Gateway for MCP
Expose ServiceM8 actions as governed MCP tools — observable, rate-limited, authenticated.
Learn more →Tray Helix
Build apps on ServiceM8 data with your AI assistant, then deploy, run, and govern them on Tray.ai.
Learn more →More operations apps on Tray.ai
Dedicated connectors and other apps Tray.ai reaches in the same category. See every operations connector →
Frequently asked questions
What can a Tray.ai workflow do in ServiceM8?
+
The ServiceM8 API documents 21 actions across 5 resources (Jobs, Job activities, Clients, Materials, Staff). For example: List jobs; List job activities; List clients. A workflow can make any documented call through the HTTP Connector.
How does Tray.ai authenticate with ServiceM8?
+
The ServiceM8 API uses an API key in a request header and OAuth 2.0. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.
Which ServiceM8 events can start a Tray.ai workflow?
+
ServiceM8 sends 6 events to a webhook URL, for example: Job changed; Job activity changed; Job payment changed; Company changed; Material changed; Note changed. A Tray.ai webhook trigger receives them and starts a workflow.
See ServiceM8 working against your stack.
We'll walk through a tailored demo with your systems plugged in.
Thanks — someone from our team will be in touch soon.