Frequently Asked Questions

Do I need to set up and manage an SSL certificate when using AWS Lambda?

No. When using AWS Lambda, you do not need to manage SSL certificates because ServiceM8 invokes your Lambda function directly.

How do I authenticate against the ServiceM8 API within my function?

Authentication within add-on functions is provided by the ServiceM8 Simple Token Service. It provides a temporary OAuth token each time your function is invoked, which simplifies authentication.

What are the limitations of Simple Functions?

ResourceLimit
Maximum execution duration per request15 seconds
Maximum memory per request128 MB
Languages supportedNode.js (JavaScript)

How can I switch back to the ServiceM8 iOS app after launching from an action?

ServiceM8's app supports iOS Universal Links, so you can open the following URL from your iOS app or website to return to the app:

https://go.servicem8.com/app/launch

How can I send users to an existing job in their browser?

For web-based users, you can direct them to open a specific job in ServiceM8 by linking directly with the job’s unique identifier (UUID). Use the following URL format to open an existing job from a website or web app:

https://go.servicem8.com/openjob/{uuid}

When this link is opened in a browser where the user is already logged in to ServiceM8, it takes them straight to the job details page for that UUID. This lets you connect users from your web-based workflow directly to the relevant job in ServiceM8.