> For the complete documentation index, see [llms.txt](https://docs-embed.anyflow.jp/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-embed.anyflow.jp/wizard-editor/widget/checkbox.md).

# チェックボックス

## 概要

チェックボックスは、予め決められた選択肢の中からエンドユーザーが複数選択できるウィジェットです。

<figure><img src="https://files.readme.io/73d9931-checkbox-wizard-editor.png" alt="" width="563"><figcaption></figcaption></figure>

エンドユーザー変数の型&#x304C;**「チェックボックス/複数選択アシスト/テーブルアシスト」**&#x306E;場合に利用できます。

<figure><img src="https://files.readme.io/b3ec973-image.png" alt="" width="563"><figcaption></figcaption></figure>

## 使用例

以下のスクリーンショットの例では、チェックボックスの項目を2つ追加し、`Slackに投稿する` にチェックが入っていた場合、`1` を、`Slackに投稿しない` にチェックが入っていた場合 `2` が値として入るように設定しています。

<figure><img src="https://files.readme.io/73d9931-checkbox-wizard-editor.png" alt="" width="563"><figcaption></figcaption></figure>

例としてソリューションエディターで、以下のスクリーンショットのようなロジックを構築しました。

<figure><img src="https://files.readme.io/703842f-checkbox-solution-editor.png" alt="" width="563"><figcaption></figcaption></figure>

チェックボックスは、リストで値が入ってくる ので、チェックボックスのアイテムを繰り返しアクションによって繰り返しています。\
繰り返しアクションの中で if を用いて、`1` と等しい場合に、Slackにメッセージを送信するようになっています。

`1` はウィザードエディターで `Slackに投稿する` 場合に `1` が値として入ってくる設定をしているため、`Slackに投稿する` にチェックが入っていた場合、Slackに投稿されます。


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs-embed.anyflow.jp/wizard-editor/widget/checkbox.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
