# 【キャンペーン(スキル)用】ターゲティング設定（ブラックリスト登録）

lliのSkillで「ターゲティング」設定を使用すると、ブラックリスト対象を、指定されたスキルフローへ簡単にリダイレクトができます。 同じ手法で、ユーザーの任意のグループを目的のSkillに導くことができます。

設定 > 変数 > カスタムに移動し、ユーザーのグループ情報を入力する変数を作成します。このガイドでは、「CUSTOMER\_CATEGORY」を作成してブラックリストに登録されるユーザーを管理するように設定します。(１～4の手順）

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

新しいSkillを作成し、ターゲティングタブをクリックして設定を編集します。必要な変数を条件として追加してSkillを実行するための条件を設定します。以下では、作成した「CUSTOMER\_CATEGORY「変数の変数値が「Blocked」である場合、Skillを実行するように設定しています。

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

ブラックリストユーザーを管理するSkillを設計します。以下のSkill（例）では、ユーザーにブロック関連メッセージを提示し、担当者にメールを送信するように設定しています。Skillのデザインが完了後、右上のトグルボタンをONにしてSkillを有効にします。

<figure><img src="/files/0YXRfLNsaDigSrSumDa4" alt=""><figcaption></figcaption></figure>

対象ユーザーをブラックリストに登録する場合は、顧客リストで、「CUSTOMER\_CATEGORY」変数の値として「Blocked」を入力します。 これにより、上記で設計したSkillは、「ブロック済み」とマークされたユーザーを検出し、そのユーザーに対して当該スキルを実行します。

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

{% hint style="warning" %}
当該SkillをSkillリストの最上段に配置させることを忘れないでください。他のSkillを実行する前に、Alliは、ブラックリスト登録の有無を最初に確認します。
{% endhint %}

<figure><img src="/files/75GtoQuGG4Nkhb3IKwDG" alt=""><figcaption></figcaption></figure>

<br>


---

# 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.allganize.ai/alli-llm-app-market/project-settings/variables/targeting.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.
