Frequently Asked Questions

Do I need to setup and manage an SSL Certificate when using AWS Lambda?

No - When using AWS Lambda you don't need to manage any SSL certificates as 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 - which will provide you with a temporary OAuth token for authentication each time your function is invoked, greatly simplifying 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/website to return to the app:

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

How can 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 will take them straight to the job details page for that UUID. This provides a seamless way to connect users from your web-based workflow directly into the relevant job inside ServiceM8.