Integration methods
The ways Servicely exchanges data with other systems, inbound and outbound, and where each one is configured.
Servicely exchanges data with other systems through API tokens, webhooks, outbound credentials, messaging accounts and integration applications. This page helps administrators and integration developers choose the right one before they configure anything.
Where integrations are configured
The Integrations module holds the records that most integrations share. It shows in the Administration workspace. From another workspace, find an item with Search the menu.
| Menu path | Record | Used for |
|---|---|---|
| API access → System API tokens | System API Token | Credentials an external system uses to call Servicely |
| API access → System API outbound tokens | System API Outbound Token | Credentials Servicely uses to call another system |
| API access → System OAuth providers | System OAuth Provider | The endpoints and client details of an OAuth2 provider |
| Webhooks → Inbound webhooks | Inbound webhook | An endpoint that accepts data pushed by another system |
| Webhooks → Outbound webhooks | Outbound webhook | A request Servicely sends when records change or a script asks |
| Webhooks → Webhook Delivery Logs | Webhook delivery log | The record of each outbound webhook delivery |
Microsoft Teams and WhatsApp use messaging accounts instead, under Messaging & notifications → Accounts & channels → Messaging accounts. Microsoft Intune has its own application and its own Microsoft Intune module.
Inbound: another system calls Servicely
An external system authenticates with a System API token or basic authentication, then calls one of these entry points:
- The REST API reads and writes records in any table the token’s user can reach. The API reference documents it.
- An inbound webhook receives a payload at its own URL. A Transform webhook maps the payload onto a target table and creates or updates records. A Scripted webhook runs your script instead. Pre-process and post-process scripts run around a transform when Advanced is set.
- A script controller exposes a custom endpoint written in a server script.
Allowed Scopes limits a System API token to some of these entry points. URL Allowed Paths limits it to some paths. Authentication methods for inbound integrations explains the choices.
Outbound: Servicely calls another system
Servicely sends data out in two ways:
- An outbound webhook fires on a table’s create, update or delete events, filtered by a condition, or only when code triggers it. It sends to a Request URL with a chosen HTTP method, payload format and headers, and retries failed deliveries a set number of times.
- A server script makes HTTP requests with the scripting API. It authenticates with a System API outbound token, so the script never holds the password or secret.
Servicely refuses outbound calls from scripts and outbound webhooks to some addresses. These are its own addresses, loopback and link-local addresses, cloud metadata services and the platform’s own network. It checks every redirect too. Other addresses on your own network stay reachable.
Outbound credentials lists the token types and their fields.
Products with their own setup
Some integrations ship as applications or messaging providers with their own pages in this section:
| Integration | What it does | Configured through |
|---|---|---|
| Microsoft Teams | Sends notifications, hosts Sofi and creates group chats from records | The Microsoft Teams Integration application and a Teams messaging account |
| Hosts Sofi conversations and sends notifications | The WhatsApp Integration application and a WhatsApp messaging account | |
| Microsoft Intune | Imports devices and software into the CMDB | The Microsoft Intune Integration application and its job |
| Lansweeper | Imports assets into the CMDB | Import tables, transform maps and a job |
| Node-RED | Builds integration flows outside Servicely with Servicely nodes | An external Node-RED instance and a System API token |
Choosing a method
- To let another system create or update records, use the REST API or an inbound webhook with a System API token. Prefer a transform webhook when the payload shape is fixed and you want no code.
- To tell another system that a record changed, use an outbound webhook.
- To call an API with custom logic, use a server script with a System API outbound token.
- To move data in bulk on a schedule, use the product’s import application or export records to a reporting database.