ManageEngine SDP: Outbound Integration
ManageEngine SDP Integration Overview
This article describes the configuration of an outbound integration between AlertOps and ManageEngine ServiceDesk Plus Cloud (SDP).The integration enables AlertOps to create service requests in ManageEngine SDP when an alert is triggered. OAuth 2.0 authentication is used to authorize API requests.The integration also supports status synchronization between ManageEngine SDP and AlertOps through inbound event processing.
Prerequisites
- AlertOps administrator access.
- ManageEngine ServiceDesk Plus Cloud administrator access.
- ManageEngine SDP Cloud instance configured in the appropriate data centre.
- OAuth application credentials created in the Zoho API Console.
- Access to Postman for OAuth authentication and API testing.
- AlertOps Custom Web API Integration capability.
Integration Configuration
1. Create an OAuth Application
- Navigate to the Zoho API Console.
- Create a Server-based OAuth application.
- Configure the Homepage URL and redirect URI.
- Obtain the Client ID and Client Secret.
Reference Screenshot:



2. Generate the OAuth authorization code
Your next step is to authorize the application to access ManageEngine ServiceDesk Plus Cloud. Zoho returns a temporary authorization code, which will be exchanged for access and refresh tokens in the following step. Use the Zoho Accounts authorization endpoint corresponding to your data centre.
Use the following authorization URL
https://accounts.zoho.com/oauth/v2/auth?scope=SDPOnDemand.requests.CREATE&client_id=YOUR_CLIENT_ID&response_type=code&redirect_uri=https%3A%2F%2Foauth.pstmn.io%2Fv1%2Fcallback&access_type=offline&prompt=consent
Note: The example above uses the US data centre. Replace accounts.zoho.com with the appropriate Zoho Accounts domain for your data centre. The Client ID and redirect URI must match the OAuth application configuration.
- Copy the completed URL into your browser's address bar.
- Sign in to the correct Zoho account if prompted.
- Review the requested permissions and click Accept or Authorize.
- The browser should redirect to the registered Postman callback URL with an authorization code in the URL.
3. Configure OAuth Authentication in Postman
- Configure the OAuth authorization request.
- Authenticate using the ManageEngine SDP account.
- Obtain the authorization code.
- Exchange the authorization code for an Access Token and Refresh Token.
- Verify the token response.
- Test the API authorization using the Access Token.
Reference Screenshot:

4. Create Custom Alert Field to Store OAuth Token
- Navigate to Administration → Custom Alert Fields.
- Select the specific Alert Type and click on + Add Alert Fields.
- Name the custom alert field and select Data Type as Long String.
- Select the checkbox where it says Active.
- Save the custom alert field.
Reference Screenshot:

5. Configure the AlertOps Custom Web API Integration
- In AlertOps, navigate to Services + Integrations → Outbound Integrations.
- Add a Custom Web API Integration.
- Configure the integration for ManageEngine ServiceDesk Plus.
- Configure the required integration parameters [just select Web Security Type as None].
- Create the custom alert fields required to store the OAuth tokens.
- Save the integration configuration.
Reference Screenshot:

6. Configure the Access Token Refresh Method
- Create the ManageEngine Access Token Refresh method.
- Configure the OAuth token refresh request.
- Configure the required request parameters.
- Map the refreshed Access Token to the AlertOps custom alert field.
- Configure the method to execute when required.
|
Parameter |
Value |
|---|---|
|
Method Name |
Refresh Access Token |
|
Type |
REST |
|
Alert Type |
Standard Alert |
|
Request Method |
POST |
|
Request Type |
FORM_URLENCODED |
|
Response Type |
JSON |
|
Response Action |
Update Fields |
|
URL |
|
|
Headers |
None configured |
|
Grant Type |
|
|
Client ID |
Your Zoho OAuth Client ID |
|
Client Secret |
Your Zoho OAuth Client Secret |
|
Refresh Token |
Your Zoho OAuth Refresh Token |
Request Body
|
Parameter |
Value |
|---|---|
|
|
|
|
|
Your Zoho OAuth Client ID |
|
|
Your Zoho OAuth Client Secret |
|
|
Your Zoho OAuth Refresh Token |
grant_type=refresh_token&client_id=<YOUR_CLIENT_ID>&client_secret=<YOUR_CLIENT_SECRET>&refresh_token=<YOUR_REFRESH_TOKEN>
Response Mapping
|
Parameter |
Value |
|---|---|
|
|
|
|
|
|
|
|
|
{
"access_token": "<<Attribute.ME_AccessToken>>",
"token_type": "bearer",
"expires_in": 3600
}
Reference Screenshot:


7. Create the Method That Updates the Authorization Header
Navigate to:Services + Integrations → Outbound Integrations → ManageEngine SDP Integration→ Add Method
- Configure the new method to update the ManageEngine Request Header.
Parameters Value Method Name Update ManageEngine Request HeaderType RESTAlert Type Standard Alert Request Method PUTURI https://api.alertops.com/api/v2/integrations/outbound/<OUTBOUND_ID>/methods/<METHOD_ID>Request Type JSONResponse Type JSONResponse Action Update Alert Fields
NOTE: This method updates the existing Create ManageEngine Request method's Authorization header using the freshly obtained access token.
- Retrieve the API key from your AlertOps user profile if you haven't already and add it under the Headers.
Header Name Value api-keyYour AlertOps user API key - Locate the Request Body section and update the following JSON
{"method_name": "Create ManageEngine Request","is_used": true,"method_type": {"type": "REST","uri": "https://sdpondemand.manageengine.in/app/itdesk/api/v3/requests","request_type": "FORM_URLENCODED","web_method": "POST","response_data_type": "JSON","request_data": "input_data={\"request\":{\"subject\":\"<<Alert.Topic>>\",\"description\":\"<<Alert.Description>>\"}}","response_data": "","headers": "{\"Authorization\":\"Zoho-oauthtoken <<Attribute.ME_AccessToken>>\",\"Accept\":\"application/vnd.manageengine.sdp.v3+json\"}"},"alert_type": "Standard Alert","update_alert_fields": true}
Replace the Placeholders
In the JSON above, locate the << >> placeholder inside the Authorization header.
- Position the cursor and remove the angle brackets along with the placeholder text.
- Place your cursor where you want to replace the placeholder and click Insert Alert Field dropdown and select the right one.
The Authorization header must resolve to:
Authorization: Zoho-oauthtoken <<value of ME_AccessToken>>
Do not enter a literal access token. Use the AlertOps custom-field placeholder to reference the refreshed token.
Enable Update Alert Fields
Before saving, verify that the Update Alert Fields checkbox is available.
Enable the checkbox:
update_alert_fields: true
This method updates the existing outbound method configuration and uses the refreshed access token stored in ME_AccessToken.
-
Save the configuration.
Screenshot Reference:


8. Configure the ManageEngine Request Creation
- Create another outbound API method for ManageEngine SDP request creation.
- Configure the API request method and endpoint.
- Save the method.
NOTE: The parameters will be updated automatically when the previous method "Update ManageEngine Request Header" is called upon.
| Parameters | Value |
|---|---|
| Method Name | Create ManageEngine Request |
| Type | REST |
| Alert Type | Standard Alert |
| Request Method | POST |
| URI | https://sdpondemand.manageengine.in/app/itdesk/api/v3/requests |
| Request Type | FORM_URLENCODED |
| Response Type |
|
| Response Action |
Update Alert Fields |
Reference Screenshot:


9. Configure the AlertOps Workflow
- Navigate to Response Orchestration → Workflows → Add Workflow
- Create the workflow to trigger all these 3 outbound methods.
- Associate the workflow with the relevant Alert Type.
- Configure the workflow trigger conditions and actions by following the screenshots below in order.
- Save the workflow.
NOTE: Make sure to configure the execution in sequence.
Reference Screenshot:







10. Configure the AlertOps Escalation Policy
- Navigate to Response Orchestration → Escalation Policies → Add Escalation Policy
- Configure the escalation policy to set the escalation hierarchy, notification methods and wait time.
- Refer the screenshots below and follow the steps to attach the workflow we just created.
Reference Screenshot:



11. Test the Integration
- Trigger a test alert in AlertOps.
- Verify that the ManageEngine SDP request is created.
- Verify the request ID returned by ManageEngine SDP.
- Validate the OAuth token refresh method.
- Verify the inbound event processing in AlertOps.
- Review the AlertOps Outbound API Logs.
Reference Screenshot:


Expected Results
- AlertOps successfully authenticates with ManageEngine SDP Cloud using OAuth.
- A new ManageEngine SDP request is created when the configured AlertOps workflow executes.
- The ManageEngine SDP request ID is available for integration mapping.
- ManageEngine SDP status events are received and processed by AlertOps.
- Alert status synchronization is validated through the AlertOps Inbound Log.
Troubleshooting Tips
ManageEngine SDP Request Creation Failure
- Verify the OAuth Access Token.
- Validate the API endpoint and HTTP method.
- Verify the OAuth scope.
- Review the API request payload.
- Review the AlertOps outbound API logs.
OAuth Authentication Failure
- Verify the Client ID and Client Secret.
- Validate the OAuth authorization and token endpoints for the configured data centre.
- Verify the Access Token and Refresh Token.
- Review the token refresh method execution.
AlertOps Creates a New Alert Instead of Updating the Existing Alert
- Verify the source identifier mapping.
- Confirm that the ManageEngine SDP request ID is associated with the original AlertOps alert.
- Review the inbound event mapping status.
- Validate the alert correlation configuration.
Conclusion
The AlertOps and ManageEngine ServiceDesk Plus Cloud integration enables automated request creation.
The integration should be validated in a test environment before being deployed to production.