# ServiceNow - Service catalog connector thinklet

Configure ServiceNow - Incident management connector thinklets to take specific actions within your workflow.

## Action: Get service catalog item <a href="#action-get-service-catalog-item" id="action-get-service-catalog-item"></a>

**Get service catalog item** retrieves detailed service catalog item data. This action is utilized in workflows, for instance, to retrieve the internal ID of a service catalog item, which is necessary for other actions related to ordering the service. The Thinklet relies on the [Service Catalog - GET /sn\_sc/servicecatalog/items](https://docs.servicenow.com/bundle/washingtondc-api-reference/page/integrate/inbound-rest/concept/c_ServiceCatalogAPI.html#title_servicecat-GET-items) API endpoint.

Example of Thinklet setup:

<figure><img src="/files/tL1zFS4Hf1uxnXUgymhf" alt="" width="563"><figcaption></figcaption></figure>

* **Parameters:** Configure the data used as parameters for this action. Hover over the tooltip icon for more information on how the parameter is mapped and what data is required.
  * **Search text** - Text for searching service catalog items
* **Outputs:** View the outputs of the connector thinklet.
  * **Service catalog item ID** (`ServiceCatalogItemID`)
  * **Name** (`Name`) - Service catalog item name
  * **Short description** (`ShortDescription`) - Service catalog item short description
  * **Availability** (`Availability`) - Service availability
  * **Type** (`Type`)
  * **Class name** (`ClassName`)

Details of API Service thinklet when recreating the connector:

<table><thead><tr><th width="272">Field</th><th>Value</th><th data-hidden></th></tr></thead><tbody><tr><td>Resource Path</td><td>api/sn_sc/servicecatalog/items?sysparm_limit=1&#x26;sysparm_text={{SerachText}}</td><td></td></tr><tr><td>Method</td><td>GET</td><td></td></tr><tr><td>Payload</td><td></td><td></td></tr><tr><td>Outputs</td><td><p>Availability $.result[0].availability</p><p>Name $.result[0].short_description</p><p>ShortDescription $.result[0].short_description</p><p>ClassName $.result[0].sys_class_name ServiceCatalogItemID $.result[0].sys_id</p><p>Type $.result[0].type</p></td><td></td></tr></tbody></table>

## Action: Request service catalog item <a href="#action-request-service-catalog-item" id="action-request-service-catalog-item"></a>

**Request service catalog item** places an order for catalog item which results in the creation of service request ticket. The Thinklet relies on the [POST /sn\_sc/servicecatalog/items/{sys\_id}/order\_now](https://docs.servicenow.com/bundle/washingtondc-api-reference/page/integrate/inbound-rest/concept/c_ServiceCatalogAPI.html#title_servicecat-POST-items-order_now) API endpoint.

Example of Thinklet setup:

<figure><img src="/files/V21BfXXaeRvkunrg69Mx" alt=""><figcaption></figcaption></figure>

* **Parameters:** Configure the data used as parameters for this action. Hover over the tooltip icon for more information on how the parameter is mapped and what data is required.
  * **Service catalog item ID** (`ServiceCatalogItemID`) - Service catalog item ID
  * **Requested for user ID** (`RequestedForUserID`) - Requested for user ID
  * **Quantity** (`OrderQuantity`) - Ordered service quantity
* **Outputs:** View the outputs of the connector thinklet.
  * **Request number** (`RequestNumber`)
  * **Request ID** (`RequestID`)

The table below provides the details of the API Service connector when re-creatu:

<table><thead><tr><th width="272">Field</th><th>Value</th><th data-hidden></th></tr></thead><tbody><tr><td>Resource Path</td><td><code>api/sn_sc/servicecatalog/items/{{ServiceCatalogItemID}}/order_no</code></td><td></td></tr><tr><td>Method</td><td><code>POST</code></td><td></td></tr><tr><td>Payload</td><td><code>{"sysparm_requested_for":"{{RequestedForUserID}}","sysparm_quantity":"{{OrderQuantity}}"}</code></td><td></td></tr><tr><td>Outputs</td><td><p><code>RequestNumber $.result.number</code></p><p><code>RequestID $.result.sys_id</code></p></td><td></td></tr></tbody></table>

## Action: Update service catalog request descriptions <a href="#action-update-service-catalog-request-descriptions" id="action-update-service-catalog-request-descriptions"></a>

**Update service catalog request description** updates the service catalog request ticket description and short description fields. The Thinklet relies on the [Table request PATCH](https://docs.servicenow.com/bundle/washingtondc-api-reference/page/integrate/inbound-rest/concept/c_TableAPI.html#title_table-PATCH) API endpoint.

<figure><img src="/files/vmOYUWbjPq5wIntqsHjp" alt="" width="563"><figcaption></figcaption></figure>

* **Parameters:** Configure the data used as parameters for this action. Hover over the tooltip icon for more information on how the parameter is mapped and what data is required.
  * **Request ID** (`RequestID`) - Request ID
  * **Description** (`Description`) - Description
  * **Short description** (`ShortDescription`) - Short description
* **Outputs:** View the outputs of the connector thinklet.
  * **Request number** (`RequestNumber`)
  * **Request ID** (`RequestID`)

The table below provides the details of the API Service connector when recreating the connector:

<table><thead><tr><th width="272">Field</th><th>Value</th><th data-hidden></th></tr></thead><tbody><tr><td>Resource Path</td><td>api/now/table/sc_request/{{RequestID}}</td><td></td></tr><tr><td>Method</td><td>PATCH</td><td></td></tr><tr><td>Payload</td><td>{"description":"{{Description}}","short_description":"{{ShortDescription}}"}</td><td></td></tr><tr><td>Outputs</td><td><p>RequestNumber $.result.number</p><p>RequestID $.result.sys_id</p></td><td></td></tr></tbody></table>

Refer to the [Configuring connector thinklets](/platform/user-guide/workflows/creating-workflows/configuring-connector-thinklet.md) documentation for more information about connector thinklets.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.nexthink.com/platform/user-guide/workflows/creating-workflows/configuring-connector-thinklet/servicenow-service-catalog.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
