SysAid IT Service Management: Outbound Integration
SysAid Integration Overview:
This guide explains how to configure an outbound integration between AlertOps and SysAid IT Service Management (ITSM - Cloud Version). Once configured, AlertOps will automatically create an incident ticket in SysAid when an alert is triggered.
The configuration involves the following steps:
- Obtain the required API credentials and account details from SysAid.
- Create a custom alert field in AlertOps to store the SysAid access token.
- Configure the SysAid outbound integration and its three methods.
- Create workflows to retrieve the access token, update the ticket-creation method's authorization header, and create the SysAid ticket.
- Associate the workflows with the appropriate escalation policy and verify the integration.
How the integration works
The integration uses a temporary bearer token to authenticate requests to SysAid. When an alert is triggered, AlertOps retrieves an access token, stores it in a custom alert field, and updates the authorization header of the ticket-creation method before creating the SysAid ticket.
The three outbound methods work as follows:
|
Method |
Purpose |
|
Get Access Token |
Retrieves a temporary access token from SysAid and stores it in the SysAid Token custom alert field. |
|
Update Ticket Creation Header |
Updates the Create SysAid Ticket method with the authorization header containing the retrieved token. |
|
Create SysAid Ticket |
Sends the alert details to SysAid and creates an incident ticket. |
Example account used throughout this guide: demo
-
The example URLs use demo.sysaidit.com, and the x-sysaid-accountid header uses demo.
-
Replace these example values with the corresponding details for your SysAid instance.
Part A: SysAid Configuration
Before configuring the integration in AlertOps, obtain the following details from your SysAid administrator.
|
Required detail |
Description |
|
SysAid Domain Name |
The base URL of your SysAid instance, such as https://demo.sysaidit.com. |
|
SysAid Account ID |
The SysAid account identifier used in the x-sysaid-accountid header. In the examples, this is demo. |
|
Client ID |
The application identifier generated when creating a SysAid App Key. |
|
Client Secret (Client Key) |
The secret generated alongside the Client ID. Store it securely. |
|
Requester Email |
The email address or username accepted by your SysAid environment for the user under whose identity the ticket will be created. |
Prerequisites
Before generating the credentials, ensure that you have:
- Access to your SysAid account using valid account credentials.
- SysAid administrator permissions to manage API credentials and configure the necessary access.
- The SysAid account identifier required for generating and using the application credentials.
Important: When generating an App Key through the SysAid API, use your SysAid account credentials rather than SSO credentials.
Step 1: Obtain the Client ID and Client Secret.
You can create an App Key through the SysAid interface or the SysAid API.
Option 1: Create an App Key through the SysAid interface
- Log in to your SysAid account.
- Navigate to Connect → Manage App Keys.
- Click Create a new App Key.
- Enter an application name, such as AlertOps Integration.
- Complete the creation process.
- Save the generated Client ID and Client Secret securely.
Important: The Client Secret is displayed only once. Store it securely when it is generated.
For detailed instructions, refer to SysAid – Managing Your App Keys.
Option 2: Create an App Key through the SysAid API
You can also generate application credentials through the SysAid API.
Refer to the following documentation for the authentication process and API request details:
Follow the documented process to generate the Client ID and Client Secret, and store the resulting credentials securely.
Step 2: Identify the SysAid Domain Name and Account ID
- Log in to SysAid and copy the base URL of your instance from your browser's address bar.
- Identify the SysAid account identifier associated with your instance.
- Keep both values available for the AlertOps configuration.
For example, if your SysAid instance uses the following URL: https://demo.sysaidit.com
Use these values in the integration:
|
Setting |
Example value |
|
SysAid domain |
demo.sysaidit.com |
|
SysAid account ID |
demo |
|
Base URL |
https://demo.sysaidit.com |
The domain and account identifier serve different purposes. The domain is used in the API URL, while the account identifier is passed through the x-sysaid-accountid header.
Step 3: Identify the Requester Email
Obtain the email address or username of the SysAid user who should be associated with tickets created by AlertOps.
For example: demo@sysaidemail.com
-
Confirm that this user exists in SysAid and has the appropriate permissions to create tickets through the API.
-
Use the identifier format accepted by your SysAid environment for the requestUser field.
-
Once you have collected these details, proceed with configuring the integration in AlertOps.
Part B: AlertOps Configuration
Prerequisites:
Before beginning the AlertOps configuration, ensure that you have:
- Access to the AlertOps administration settings.
- Permission to create custom alert fields, outbound integrations, and workflows.
- The SysAid Client ID and Client Secret.
- The SysAid domain name and account identifier.
- The SysAid ticket requester email or username.
- An AlertOps User API Key for updating the outbound integration method through the AlertOps API.
Keep your Client Secret, AlertOps API Key, and temporary access tokens secure. Do not expose these credentials in notification messages or publicly accessible alert details.
Step 1: Create the SysAid Token custom alert field
AlertOps needs a custom alert field to store the bearer token returned by SysAid. The subsequent workflow uses this value to update the ticket-creation method's authorization header.
Configuration
- Navigate to Administration → Custom Alert Fields.
- Add a new custom alert field with the following details:
|
Setting |
Value |
|
Field Name |
SysAid Token |
|
Data Type |
Long String |
|
Active |
Enabled |
- Click Add Alert Type and associate the field with Standard Alert.
- Save the field.
Verify that SysAid Token is available for Standard Alert.
Important: The workflows described in this guide use Standard Alert. Ensure that the custom field is associated with this alert type.
Step 2: Create the SysAid outbound integration
- In AlertOps, navigate to Services + Integrations → Outbound Integrations.
- Click Add Outbound.
- Select Custom Integration.
- Configure the integration settings:
|
Setting |
Value |
|
Integration Name |
SysAid IT Service Management |
|
Web Security Type |
None |
The configuration described in this guide uses a bearer token in the authorization header. If your environment requires a different security configuration, confirm the appropriate settings before proceeding.
- Save the integration.
- Add the following three methods to the integration:
- Get Access Token
- Update Ticket Creation Header
- Create SysAid Ticket
Configure each method as described below.
Step 3: Configure the Get Access Token method
This method requests a temporary access token from SysAid using the Client ID and Client Secret. AlertOps stores the returned token in the SysAid Token custom alert field.
3.1 General settings
Click Add Method and configure the following settings.
|
Setting |
Value |
|
Method Name |
Get Access Token |
|
Type |
REST |
|
Alert Type |
Standard Alert |
|
Request Method |
POST |
|
Request Type |
JSON |
|
Response Type |
JSON |
|
Response Action |
Enabled |
3.2 Configure the URI
Enter the following endpoint: https://demo.sysaidit.com/connect/v1/access-tokens
Replace demo with your SysAid account identifier if it differs from the example.
3.3 Configure the headers
Add the following headers:
|
Header |
Value |
|
Content-Type |
application/json |
|
x-sysaid-accountid |
demo |
The x-sysaid-accountid header must contain the SysAid account identifier.
3.4 Configure the request body
Enter the following JSON payload:
{ "clientId": "YOUR_CLIENT_ID", "clientSecret": "YOUR_CLIENT_SECRET" }
Replace YOUR_CLIENT_ID and YOUR_CLIENT_SECRET with the credentials generated for your SysAid application in Part 1.
3.5 Configure the response mapping
Map the returned token to the AlertOps custom alert field:
{ "token": "<<Attribute.SysAid Token>>" }
SysAid returns a response similar to the following:
{ "token": "example-access-token", "tokenType": "Bearer", "expiresIn": 3600 }
The token value is stored in the SysAid Token field. The expiresIn value indicates the token's validity period in seconds. In this example, the token is valid for one hour.
Expected result: When this method runs successfully, the temporary SysAid access token is available in the alert's SysAid Token field.
Step 4: Configure the Update Ticket Creation Header method
This method calls the AlertOps API to update the configuration of the Create SysAid Ticket method. It sets the authorization header to use the access token retrieved in Step 3.
4.1 General settings
Click Add Method and configure the following settings.
|
Setting |
Value |
|
Method Name |
Update Ticket Creation Header |
|
Type |
REST |
|
Alert Type |
Standard Alert |
|
Request Method |
PUT |
|
Request Type |
JSON |
|
Response Type |
JSON |
|
Response Action |
Disabled |
4.2 Configure the URI
Use the following AlertOps API endpoint:
https://api.alertops.com/api/v2/integrations/outbound/<OUTBOUND_INTEGRATION_ID>/methods/<CREATE_TICKET_METHOD_ID>
Replace the placeholders as follows:
- <OUTBOUND_INTEGRATION_ID>: The ID of the SysAid IT Service Management outbound integration.
- <CREATE_TICKET_METHOD_ID>: The method ID of the Create SysAid Ticket method created in Step 5.
Important: This endpoint belongs to AlertOps, not SysAid. Use the ID of the Create SysAid Ticket method, rather than the ID of the method you are currently configuring.
4.3 Configure the headers
Add the following header:
|
Header |
Value |
|
api-key |
Your AlertOps User API Key |
To obtain your API key:
- Click your profile icon in the top-right corner of AlertOps.
- Navigate to Profile → Integrations.
- Copy your User API Key.
- Paste it into the api-key header value.
4.4 Configure the request body
Use the following JSON payload. Replace demo@sysaidemail.com with the valid SysAid requester email or username for your account.
{ "method_name": "Create SysAid Ticket", "method_type": { "type": "REST", "uri": "https://demo.sysaidit.com/connect/v1/service-records", "request_type": "JSON", "web_method": "POST", "response_data_type": "JSON", "request_data": "{\"type\":\"incident\",\"data\":{\"title\":\"<<Alert.Source>>\",\"description\":\"<<Alert.Description>>\",\"status\":1,\"priority\":2,\"requestUser\":\"demo@sysaidemail.com\"}}", "response_data": "{\"Alert.ExternalID\":\"{id}\"}", "headers": "{\"Content-Type\":\"application/json\",\"x-sysaid-accountid\":\"demo\",\"Authorization\":\"Bearer <<Attribute.SysAid Token>>\"}" }, "alert_type": "Standard Alert", "update_alert_fields": false }
This payload updates the configuration of the Create SysAid Ticket method. It sets the SysAid endpoint, request body, response mapping, and authorization header.
The request body includes the following fields:
|
Field |
Description |
|
title |
Uses the AlertOps alert source. |
|
description |
Uses the AlertOps alert description. |
|
status |
Example SysAid status ID: 1. |
|
priority |
Example SysAid priority ID: 2. |
|
requestUser |
The SysAid user associated with the ticket request. |
-
Verify that the status and priority IDs are valid for your SysAid configuration.
-
The requester must exist in SysAid, and the identifier must use the format accepted by your environment.
-
The headers property applies the current SysAid Token value as a bearer token.
-
The response_data property maps the created SysAid ticket's ID to <<Alert.ExternalID>> in AlertOps.
Expected result: The Create SysAid Ticket method is configured to use the current alert's access token when it sends the ticket-creation request.
Step 5: Configure the Create SysAid Ticket method
This method sends the alert information to SysAid and creates an incident ticket.
Click Add Method and configure the following settings.
5.1 General settings
|
Setting |
Value |
|
Method Name |
Create SysAid Ticket |
|
Type |
REST |
|
Alert Type |
Standard Alert |
|
Request Method |
POST |
|
Request Type |
JSON |
|
Response Type |
JSON |
|
Response Action |
Enabled |
5.2 Configure the URI
Enter the following endpoint: https://demo.sysaidit.com/connect/v1/service-records
Replace demo with your SysAid account identifier.
5.3 Configure the headers
Add the following headers:
|
Header |
Value |
|
Content-Type |
application/json |
|
x-sysaid-accountid |
demo |
|
Authorization |
Bearer |
The authorization header is initially configured with the bearer scheme. The Update Ticket Creation Header method updates it with the access token retrieved by the first method.
5.4 Configure the request body
Enter the following JSON payload:
{ "type": "incident", "data": { "title": "<<Alert.Source>>", "description": "<<Alert.Description>>", "status": 1, "priority": 2, "requestUser": "demo@sysaidemail.com" } }
Replace demo@sysaidemail.com with a valid SysAid requester email or username.
The payload uses the following AlertOps fields:
- <<Alert.Source>> supplies the incident title.
- <<Alert.Description>> supplies the incident description.
Confirm that the example status and priority IDs match the values configured in your SysAid environment.
5.5 Configure the response mapping
Enter the following response mapping:
{ "Alert.ExternalID": "{id}" }
Enable Response Action so that the returned SysAid ticket ID is mapped to Alert.ExternalID in AlertOps.
Expected result: When the method executes successfully, SysAid creates an incident ticket and AlertOps records the ticket ID against the alert.
Step 6: Create the workflows
Create two workflows to run the configured methods in the correct order.
The first workflow retrieves the access token and updates the ticket-creation method's header. The second workflow creates the SysAid ticket after the first workflow has run.
Workflow 1: Update Bearer Token
This workflow retrieves the access token and applies it to the Create SysAid Ticket method.
Create the workflow
- Navigate to Response Orchestration → Workflows.
- Click Add a Workflow.
- Configure the workflow details:
|
Setting |
Value |
|
Name |
Update Bearer Token |
|
Type |
Alert |
|
Alert Type |
Standard Alert |
|
Scheduled |
Enabled |
|
Condition |
Operator |
Value |
|
AlertStatus |
is |
Open |
|
TimeFromBeginning |
is |
1 |
TimeFromBeginning is measured in minutes from alert creation. In this example, the workflow is scheduled to run at the one-minute mark.
Add the workflow actions
-
Add the outbound service Method : "SysAid IT Service Management - Update Ticket Creation Header"
-
Save the action.
-
Save and enable the workflow.
Workflow 2: Create SysAid Ticket
This workflow creates the SysAid incident after the token-retrieval workflow has run.
Create the workflow
- Navigate to Response Orchestration → Workflows.
- Click Add a Workflow.
- Configure the workflow details:
|
Setting |
Value |
|
Name |
Create SysAid Ticket |
|
Type |
Alert |
|
Alert Type |
Standard Alert |
|
Scheduled |
Enabled |
- Under Start Conditions, add the following conditions under Match All Conditions:
|
Condition |
Operator |
Value |
|
AlertStatus |
is |
Open |
|
TimeFromBeginning |
is |
4 |
This example schedules ticket creation at the four-minute mark, allowing time for the first workflow to retrieve the token and update the header.
Add the workflow action
Add the following action:
-
Add the outbound service Method : "SysAid IT Service Management - Create SysAid Ticket"
-
Save the action.
-
Save and enable the workflow.
Important: The one-minute and four-minute timings are examples. Confirm that the token retrieval and header update complete successfully before the ticket-creation method executes. If either operation takes longer than expected, adjust the workflow timings accordingly.
Step 7: Test the integration
Create a test alert that uses the configured escalation policy and verify the following sequence.
- Access token retrieval: The Get Access Token method runs and stores the returned token in SysAid Token.
- Header update: The Update Ticket Creation Header method successfully updates the Create SysAid Ticket method's authorization header.
- Ticket creation: The Create SysAid Ticket method sends the alert details to SysAid.
- External ID mapping: The new SysAid ticket ID is populated in Alert.ExternalID.
Log in to SysAid and confirm that the ticket exists and contains the expected title, description, requester, status, and priority.
Troubleshooting Tips
|
Issue |
What to check |
|
Access token request fails |
Verify the Client ID, Client Secret, x-sysaid-accountid, and /connect/v1/access-tokens endpoint. |
|
SysAid returns an unauthorized response |
Confirm that the token was retrieved successfully and that the authorization header contains Bearer followed by the token. |
|
Ticket-creation request fails |
Verify the /connect/v1/service-records endpoint, account ID, requester, and status and priority IDs. |
|
SysAid Token is empty |
Confirm that Response Action is enabled for Get Access Token and that the response mapping targets <<Attribute.SysAid Token>>. |
|
Ticket is created but Alert.ExternalID is empty |
Confirm that Response Action is enabled for Create SysAid Ticket and that the response mapping uses Alert.ExternalID. |
|
No method executes |
Check that the workflows are enabled, their conditions match the alert, Scheduled is enabled for the time-based workflows, and both workflows are associated with the relevant escalation policy. |