> 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 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-embed.anyflow.jp/wizard-editor/widget/checkbox.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.
