# ServiceDesk Plus OD

[<mark style="color:blue;">ServiceDesk Plus</mark>](https://www.manageengine.com/products/service-desk/) provides help desk agents and IT managers an integrated console to monitor and maintain the assets and IT requests generated from the users of the IT resources in an organization.

Route detailed ticket alerts from ServiceDesk Plus On-Demand to the right users in Squadcast.

### How to integrate ServiceDesk Plus On-Demand with Squadcast

#### In Squadcast: Using ServiceDesk Plus On-Demand as an Alert Source

1. Navigate to **Services** -> **Service Overview** -> select or search for your Service. Expand the accordion -> In the Alert Sources section, click **Add**.

![](https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-4fbd74e7ca0b30173c47a1d58ed6a0804a0465aa%2FAlert_Sources.png?alt=media\&token=aaca6610-9d18-4dd4-9cf5-320042f326f1)

2. Select **ServiceDesk Plus On-Demand**. Copy the displayed **Webhook URL** to [configure](https://github.com/solarwinds-cloud/sq-Gitbook/blob/main/integrations/alert-source-integrations-native/servicedeskplusod.md#in-servicedesk-plus-on-demand-create-a-squadcast-webhook-alert) it within **ServiceDesk Plus On-Demand.** Finish by clicking **Add Alert Source** -> **Done**.

![](https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-79ffe306b99469db06d26f238e85ced31177381d%2Fsdpod2.png?alt=media\&token=71c38743-fd44-4ee0-8756-4360f96e7e1a)

{% hint style="warning" %} <mark style="color:orange;">**Important**</mark>**:**

When an alert source turns <mark style="color:green;">Active</mark>, it’ll show up under Configured Alert Sources. You can either generate a test alert from the integration or wait for a real-time alert to be generated by the Alert Source.

An Alert Source is <mark style="color:green;">active</mark> if there is a recorded incident via that Alert Source for the Service.
{% endhint %}

#### In ServiceDesk Plus On-Demand: Create a Squadcast webhook alert

**(1)** In the app, go to **Automations > Custom Action > Webhooks** to create the webhook

![](https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-c1b7129f68147496db74235d50e93d1941223fd7%2Fsdpod3.png?alt=media\&token=a49fc527-1b41-4eca-b9d8-e1951727aed6)

**(2)** Click on **New Webhook**

![](https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-08b712ff63d43393a9142aa459562c378cb280c7%2Fsdpod4.png?alt=media\&token=97daca15-b62e-46fb-b8fc-f65dd07589e9)

**(3)** Fill in the form as shown below:

* **Applies to**: `Requests`
* **Method**: `POST`
* **Headers**: `Content-Type = 'application/json'`
* Choose **Message Body** as `Type=JSON` and Copy-paste the following JSON in the text box

```json
{
   "ticket_number": "${id}",
   "message": "${subject}",
   "description": "${description}",
   "ticket_url": "https://sdpondemand.manageengine.in/app/itdesk/ui/requests/${id}/details",
   "technician_name": "${technician.name}",
   "technician_email": "${technician.email_id}",
   "priority": "${priority.name}",
   "status": "${status.name}",
   "requester_name": "${requester.name}",
   "requester_email": "${requester.email_id}",
   "requester_phone": "${requester.phone}",
   "ticket_created_time": "${created_time}",
   "ticket_due_by_time": "${due_by_time}",
   "source": "ServiceDesk Plus OnDemand"
}
```

![](https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-8feaace90a84942166241a67a77c182a27efa561%2Fsdpod5.png?alt=media\&token=b29af7e1-1d74-493e-99ed-d8958855fbfd)

To enable automatic incident creation in Squadcast when tickets are generated in SDP, follow these steps:

* Navigate to **Automations > Triggers**.
* Configure a `Trigger`, as illustrated in the screenshot below. You can include extra conditions as needed.

![](https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-a1771ec9ddf1de391da3c85d68fd128c4c156e37%2Fsdpod6.png?alt=media\&token=4f643f0c-e04c-4082-9ca0-0901abb865f2)

![](https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-14eda8ef767cde2e1dc9b930eed8574515e07620%2Fsdpod7.png?alt=media\&token=9bf4c0c3-26be-4f2d-8176-c11c96a4c1e6)

**(4)** Similarly, create an another `Trigger` as given in the below screenshot to send **resolve alert** to Squadcast:

![](https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-7afa63ac711fa12c7669485295d6c652c8e8d582%2Fsdpod8.png?alt=media\&token=f8146715-7517-467b-919a-d6ac5b7d3b3c)

Find more details on Trigger creation [here](https://help.sdpondemand.com/triggers)

That is it, you are now good to go! Whenever a ticket is `created`, an incident will be created in Squadcast. When the ticket is either `resolved` or `closed` in ServiceDesk Plus On-Demand, the corresponding incident will automatically get resolved in Squadcast as well.

{% hint style="info" %}
**Note:**

Please ensure you are not sending the **<** character or any **HTML Tag** within the ticket description that would come in the **Description** ticket variable. This will cause the content of the description to break and the entire information will not be displayed.
{% endhint %}

*Have any questions?* [*Ask the community*](https://community.squadcast.com/view/home)*.*
