> For the complete documentation index, see [llms.txt](https://docs.nexthink.com/platform/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nexthink.com/platform/ja/library-packs/l1-support/workflow_-automatic-ticket-closure/configuration-guide_-automatic-ticket-closure.md).

# 設定ガイド: 自動チケットクローズ

## はじめに <a href="#configurationguide-automaticticketclosure-introduction" id="configurationguide-automaticticketclosure-introduction"></a>

このライブラリパックを開始するには、関連コンテンツがすべて適切にインストールおよび構成されていることを確認してください。 このページでは、含まれるコンテンツとその設定方法についてのガイダンスを提供します。

これはあくまでガイドであり、推奨される設定を示しています。 特定の環境に応じて、コンテンツを自由にカスタマイズおよび編集することができます。

このページでは、コンテンツの構造を案内します。

## 前提条件 <a href="#configurationguide-automaticticketclosure-pre-requisites" id="configurationguide-automaticticketclosure-pre-requisites"></a>

このライブラリパックには、次の必要な[拡張製品](https://nexthink.gitbook.io/opd/overview/products)からのコンテンツが含まれています。

* [Employee Engagement - Campaigns](https://nexthink.gitbook.io/opd/user-guide/campaigns)
* [FlowーWorkflows](https://nexthink.gitbook.io/opd/user-guide/workflows)

これらの製品の一部は、各コンテンツへのデフォルトのアクセスを提供し、[拡張製品](https://nexthink.gitbook.io/opd/overview/products)なしでも使用できます。 展開製品のデフォルトしきい値について詳しくは、[拡張ドキュメント](https://edocs.nexthink.com/ja/nexthink-infinity/infinity-specifications/nexthink-infinity-default-thresholds-overview)をご覧ください。

## コンテンツリストと依存関係 <a href="#configurationguide-automaticticketclosure-contentlistanddependency" id="configurationguide-automaticticketclosure-contentlistanddependency"></a>

| タイプ                                                            | 名前                             | 説明                                                            | 依存関係 |
| -------------------------------------------------------------- | ------------------------------ | ------------------------------------------------------------- | ---- |
| [ワークフロー](https://nexthink.gitbook.io/opd/user-guide/workflows) | 自動チケットクローズ                     | サービスリクエストが完了したことを確認するよう、ユーザーに尋ねます。 ユーザーが確認した場合、チケットはクローズされます。 |      |
| [キャンペーン](https://nexthink.gitbook.io/opd/user-guide/campaigns) | CSAT を利用したチケットクローズ - ワークフローの実行 | サービスリクエストが完了したことを確認するよう、ユーザーに尋ねます。                            |      |

## 設定ガイド <a href="#configurationguide-automaticticketclosure-configurationguide" id="configurationguide-automaticticketclosure-configurationguide"></a>

このライブラリパックを効果的に利用するには、コンテンツを適切にインストールおよび構成する必要があります。 使用前にコンテンツを適切にインストールおよび構成するための推奨手順は以下のとおりです。

### **ステップ 1）ライブラリパックコンテンツをインストール**

[Nexthink ライブラリ](https://nexthink.gitbook.io/opd/user-guide/nexthink-library)にアクセスし、必要なコンテンツをすべてインストールします。

### **ステップ 2）キャンペーンを編集**

[キャンペーンの管理](https://nexthink.gitbook.io/opd/user-guide/campaigns/managing-campaigns)管理ページに移動し、自分のキャンペーンをレビューおよび編集します。

インストールされた各キャンペーンについて、以下を確認してください。

* 送信者名と画像をカスタマイズする。
* 質問をレビューし調整する。
* 使用開始の準備ができたらキャンペーンを公開します。

これらのキャンペーンに対して以下の設定をお勧めします。

| 名前         | トリガー | 優先度    |
| ---------- | ---- | ------ |
| デバイス割り当て確認 | API  | 緊急性はない |

### **ステップ 3）ServiceNow 統合を設定**

コネクター資格情報の設定は、APIコールを有効にするために不可欠です。 詳細は[こちら](https://nexthink.gitbook.io/opd/integrations/outbound-connectors/connector-credentials)をご覧ください。 各サービス/API thinkletには、資格情報を入力するためのドロップダウンフィールがあります。 ライブラリからワークフローがインストールまたはコピーされると、このフィールドは空白になります。これは、各環境のローカルセットアップであるため、ライブラリには含まれません。

<div data-full-width="false"><figure><img src="/files/SF3PZFMPWUmzQ6Y2Spsb" alt="image-20240531-114301.png"><figcaption></figcaption></figure></div>

## **ステップ 4）ワークフローパラメーターをチェック**

ワークフローのパラメータは以下のとおりです。 調整の必要はありません。すでに最適化されたプリセット値が使用できます。

* **ServiceNow チケット ID**: API が呼び出されたときに、ServiceNow チケット ID を取得します。 その目的は、チケット URL の一部として、ユーザーが表示したい場合にパラメトリックキャンペーンで利用できるように情報を伝達することです。
* **ServiceNow チケットナンバー**: API が呼び出されたときに、ServiceNow チケットナンバーを取得します。 その機能は、エンゲージメントキャンペーンのポップアップに情報を表示することです。

### **ステップ 5）API thinklet のローカリー定義された資格情報を維持**

各サービス/API thinkletには、ローカルで維持される資格情報が必要です。 このステップで、関連するすべてのthinkletを確認し、資格情報を維持します。

<div data-full-width="false"><figure><img src="/files/UIX0n9uS8ZHrkBuyc0OH" alt="image-20240531-115541.png"><figcaption></figcaption></figure></div>

### **ステップ 6）ワークフロートリガーを維持**

このワークフローは、APIトリガーによって自動的に実行されるように設定されています。 トリガー属性を設定するには、「一般」設定タブの「API」チェックボックスを選択します。

<figure><img src="/files/Z57Xno7fHuCWcsukeBK1" alt="image-20240604-083336.png"><figcaption></figcaption></figure>

### **ステップ 7）ServiceNow 自動化を設定**

以下の例は、API を呼び出す正しい方法を示しています。 詳細情報については、[Nexthink API documentation](https://developer.nexthink.com/docs/api/workflows-api/operations/create-a-api-v-1-workflow-execute)をご覧ください。 ServiceNow の[Flow Designer](https://docs.servicenow.com/bundle/utah-build-workflows/page/administer/build-workflows/concept/build-workflows.md)には、プロセス自動化機能があります。それを利用して、ServiceNow インシデントのステータスが「Resolved」に変更されたときに Nexthink ワークフローを開始する自動チケットクローズシナリオを実行できます。

<div data-full-width="true"><figure><img src="/files/1nJLkxYqMNp6QX1gNh0c" alt="image-20240604-082347.png" width="760"><figcaption></figcaption></figure></div>

<pre><code>コード
1 POST https://{{domain}}.api.{{region}}.nexthink.cloud/api/v1/workflows/execute
2 {
3 "workflowId": "automatic_ticket_closure",
4 "users": ["S-1-12-1-4055899411-1262556559-111378323-2488333170"],
5 "params": {
6 "service_now_ticket_id": "971b6e79dbe60a545f072ebb1396194f",
7 "service_now_ticket_number" : "INC0012746",
8 "service_now_url": "ven01063.service-now.com"
<strong>9  }
</strong>10 }
</code></pre>

## 使用ガイド <a href="#configurationguide-automaticticketclosure-usageguide" id="configurationguide-automaticticketclosure-usageguide"></a>

コンテンツは現在設定されており、使用の準備が整いました。 使用概要と推奨事項については、使用ガイドをご覧いただけます。

[使用ガイド: 自動チケットクローズ](/platform/ja/library-packs/l1-support/workflow_-automatic-ticket-closure/usage-guide_-automatic-ticket-closure.md)

***

関連トピック

* [ワークフローの管理](https://nexthink.gitbook.io/opd/user-guide/workflows/managing-workflows)
* [キャンペーンの管理](https://nexthink.gitbook.io/opd/user-guide/campaigns/managing-campaigns)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.nexthink.com/platform/ja/library-packs/l1-support/workflow_-automatic-ticket-closure/configuration-guide_-automatic-ticket-closure.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
