> 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/user-guide/campaigns/working-with-campaigns/triggering-campaigns.md).

# キャンペーンの送信

ユースケースに応じて、キャンペーン管理者は異なるキャンペーントリガーを設定する必要があります。

* **手動**
* **スケジュール**
* **リモートアクション**
* **API**
* **Workflows**

これらの設定によって、従業員にキャンペーンを送信する方法が決まります。

{% hint style="info" %}
公開済みのキャンペーンのみが従業員をターゲットにできます。
{% endhint %}

## キャンペーン送信方法 <a href="#triggeringcampaigns-triggeringacampaignmanually" id="triggeringcampaigns-triggeringacampaignmanually"></a>

### キャンペーンを手動で送信する <a href="#triggeringcampaigns-triggeringacampaignmanually" id="triggeringcampaigns-triggeringacampaignmanually"></a>

[調査](/platform/ja/user-guide/investigations.md)ページで、**ユーザー**を一覧表示する[NQL 調査クエリ](/platform/ja/user-guide/investigations/creating-investigations/nql-editor.md)を実行した後:

1. 調査結果テーブルから 1 人または複数のユーザーを選択します。
2. ページ下部のアクションバーから **アクションを実行** を選択します。 **アクションを選択** ポップアップにキャンペーンを含む利用可能なアクション一覧が表示されます。

<figure><img src="/files/3BFqMZe55t8aeE72b57X" alt=""><figcaption></figcaption></figure>

3. キャンペーンを選択し、**ユーザーに対して実行** をクリックします。
   * **キャンペーンを送信** ポップアップにターゲットとなる従業員数が表示されます。 キャンペーンにパラメータが含まれている場合、**はい、ユーザーに送信** を確定する前に各パラメータに値を入力する必要があります。
   * すべての従業員に有効なユーザー SID がある場合、システムがキャンペーンをトリガーしたことを確認するメッセージが表示されます。
   * 有効または無効な SID を持つ従業員が混在している場合、有効な SID を持つ従業員に対してのみキャンペーンをトリガーできることを示す警告メッセージが表示されます。
   * すべての従業員が無効な SID を持つ場合、システムがキャンペーンをトリガーできないことを示すエラーメッセージが表示されます。

#### VDI セッションでキャンペーンを手動で送信する <a href="#triggeringcampaigns-triggeringacampaignmanually" id="triggeringcampaigns-triggeringacampaignmanually"></a>

VDI を使用している場合、[NQL エディター](/platform/ja/user-guide/investigations/creating-investigations/nql-editor.md) または [ビジュアルエディター](/platform/ja/user-guide/investigations/creating-investigations/visual-editor.md) を使用して調査を実行します:

1. **VDI セッション** の一覧をクエリします。
2. 調査結果テーブルから 1 つまたは複数のセッションを選択し、[アクションバー](/platform/ja/user-guide/investigations/analyzing-investigations.md#visualeditor-actionbar)から **アクションを実行** を選択します。
3. チャットアイコンで識別できる対象のキャンペーンを選択し、選択したセッションで実行します。
   * [VDI 用に設定されたキャンペーン](/platform/ja/user-guide/campaigns/managing-campaigns/creating-campaigns.md#targeting-query)のみがセッションで実行できます。

<figure><img src="/files/9RvnFPUV2ZISYsjilpJV" alt="Triggering a campaign manually on VDI sessions"><figcaption></figcaption></figure>

### スケジュールされたキャンペーンの送信 <a href="#triggeringcampaigns-triggeringascheduledcampaign" id="triggeringcampaigns-triggeringascheduledcampaign"></a>

スケジュールされたキャンペーンは手動トリガーを必要としません。 キャンペーンが公開されると、**スケジュール** タブで定義された設定に従って自動的に送信されます。

システムは選択されたスケジュールに基づいて定義された NQL クエリを評価し、結果として得られた従業員にキャンペーンを送信します。

設定されたキャンペーンのリターゲティングルールに応じて、クエリは初回公開時からの相対時間に基づき、**毎日** または **毎時** 再評価されます。

スケジューリングと再評価の詳細については、[キャンペーンのターゲットモデルの理解](/platform/ja/user-guide/campaigns/managing-campaigns/creating-campaigns/types-of-campaigns.md#campaign-scheduling) を参照してください。

### リモートアクションキャンペーンの送信 <a href="#triggeringcampaigns-triggeringaremoteactioncampaign" id="triggeringcampaigns-triggeringaremoteactioncampaign"></a>

リモートアクションキャンペーンが公開されたら、その NQL ID をリモートアクションのスクリプトに追加してキャンペーンをトリガーします。

詳細については、[キャンペーンのターゲットモデルの理解](/platform/ja/user-guide/campaigns/managing-campaigns/creating-campaigns/types-of-campaigns.md#typesofcampaigns-targetevaluationandre-evaluation) を参照してください。

### API を使用したキャンペーンの送信 <a href="#triggeringcampaigns-triggeringacampaignusingtheapi" id="triggeringcampaigns-triggeringacampaignusingtheapi"></a>

Nexthink Campaigns API を使用してキャンペーンをトリガーできます。これにより外部アプリケーションとの統合が可能になります。

詳細については、[developer.nexthink.com](https://developer.nexthink.com) を参照してください。

### ワークフローを使用したキャンペーンの送信 <a href="#triggeringcampaigns-triggeringacampaignusingtheapi" id="triggeringcampaigns-triggeringacampaignusingtheapi"></a>

Nexthink Workflow API を使用してキャンペーンをトリガーし、実行中の修復について従業員に通知したり、ワークフローが自動修復を継続するために必要な許可や追加情報を求めることができます。

詳細については、[キャンペーンのターゲットモデルの理解](/platform/ja/user-guide/campaigns/managing-campaigns/creating-campaigns/types-of-campaigns.md#triggeringcampaigns-triggeringacampaignusingtheapi-1) を参照してください。

## パラメータ化されたキャンペーン

手動、API、およびワークフローキャンペーンはパラメータ化できます。 その場合、キャンペーンを手動でトリガーするユーザー、または API 呼び出しで実行するシステムが必要な入力値を提供する必要があります。

詳細については、[キャンペーンパラメータの設定](/platform/ja/user-guide/campaigns/managing-campaigns/creating-campaigns/configuring-campaign-parameters.md) を参照してください。

***

関連トピック:

* [キャンペーンの作成と設定](/platform/ja/user-guide/campaigns/managing-campaigns/creating-campaigns.md)
* [キャンペーンのターゲットモデルの理解](/platform/ja/user-guide/campaigns/managing-campaigns/creating-campaigns/types-of-campaigns.md)


---

# 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/user-guide/campaigns/working-with-campaigns/triggering-campaigns.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.
