> 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/solution-editor/variables.md).

# 変数

## **変数と変数ウィンドウ**

変数は、トリガーやアクションなどのステップから出力されるデータのことです。

出力されたデータは変数ウィンドウから参照でき、別のステップで利用することができます。

<figure><img src="https://files.readme.io/6d3b1f0-variable-window.png" alt="1119"><figcaption><p>変数ウィンドウと変数</p></figcaption></figure>

例えば、Google Drive から取得したファイル名をSlackBotの `メッセージ内容` に割り当てることができます。

<figure><img src="https://files.readme.io/b742740-image.png" alt="Google Driveから取得したファイル名をメッセージ内容に割り当てる" width="600"><figcaption><p>Google Driveから取得したファイル名をメッセージ内容に割り当てる</p></figcaption></figure>

### **変数のサンプル値**

変数ウィンドウには、ソリューションを組む際にアプリからどのようなデータが返ってくるかを表示しています。

このサンプル値を参考にしながら、ソリューションを組むことができます。

<figure><img src="https://files.readme.io/d01d1eb-sample-output.png" alt="447"><figcaption><p>サンプル値の例</p></figcaption></figure>

## **型**

型には、以下の種類があります。\
`アイコン` の列に表示されているのは、変数ウィンドウで変数の左側に表示されるアイコンの画像です。

<figure><img src="https://files.readme.io/a8ad1dd-data-types.png" alt="435"><figcaption><p>型のアイコン</p></figcaption></figure>

<table><thead><tr><th width="136.859375">型の名前</th><th width="185.92578125">説明</th><th width="311.41796875">値の例</th><th width="43.48046875">アイコン</th></tr></thead><tbody><tr><td>String</td><td>文字列</td><td>abcdefg</td><td><img src="https://storage.googleapis.com/for-product-documents/data-types/String.png" alt="" data-size="original"></td></tr><tr><td>Integer</td><td>整数値</td><td>123456</td><td><img src="https://storage.googleapis.com/for-product-documents/data-types/Number.png" alt=""></td></tr><tr><td>Boolean</td><td>真偽値</td><td>True</td><td><img src="https://storage.googleapis.com/for-product-documents/data-types/Boolean.png" alt=""></td></tr><tr><td>Decimal</td><td>10進数の小数</td><td>0.123456</td><td><img src="https://storage.googleapis.com/for-product-documents/data-types/Integer.png" alt=""></td></tr><tr><td>Date</td><td>日付</td><td>2021-06-17</td><td><img src="https://storage.googleapis.com/for-product-documents/data-types/Date.png" alt=""></td></tr><tr><td>Datetime</td><td>日付 + 時刻</td><td>2021-06-17 22:23</td><td><img src="https://storage.googleapis.com/for-product-documents/data-types/date&#x26;time.png" alt=""></td></tr><tr><td>File</td><td>ファイル</td><td>ファイルのバイナリデータが入ります</td><td><img src="https://storage.googleapis.com/for-product-documents/data-types/Log.png" alt=""></td></tr><tr><td>Object</td><td>オブジェクト</td><td><code>{"name": "Anyflow Embed", "version": 2}</code></td><td><img src="https://storage.googleapis.com/for-product-documents/data-types/Object.png" alt=""></td></tr><tr><td>List</td><td>リスト</td><td><code>[“hello”, “anyflow”]</code></td><td><img src="https://storage.googleapis.com/for-product-documents/data-types/Array.png" alt=""></td></tr><tr><td>マッピング</td><td>オブジェクト in リスト。ウィザード上で、データのマッピングを行うための型</td><td><code>[ { “左カラム”: “左カラムの値”, “右カラム”: “右カラムの値” } ]</code></td><td><img src="https://storage.googleapis.com/for-product-documents/data-types/Array.png" alt=""></td></tr><tr><td>チェックボックス・複数選択アシスト・テーブルアシスト</td><td>リスト。ウィザード上で、チェックボックスで入力を受け付けるための型</td><td><code>["チェックが入った値1", "チェックが入った値2]</code></td><td><img src="https://storage.googleapis.com/for-product-documents/data-types/Array.png" alt=""></td></tr><tr><td>コンディション</td><td>オブジェクト。ウィザード上で、コンディション（条件）の入力を受け付けるための型</td><td><code>{ "かつ/または": "かつ/またはが入った値", "条件リスト": [ { "左辺": "左辺の値", "演算子": "演算子の値", "右辺": "右辺の値" } ] }</code></td><td><img src="https://storage.googleapis.com/for-product-documents/data-types/Object.png" alt=""></td></tr></tbody></table>

## **標準変数**

標準変数とは、Anyflowが標準的に用意している変数です。\
ソリューションの実行開始日時など、システム側で保有している値を利用することができます。

詳しくは[こちら](/solution-editor/variables/standard.md)を確認してください。

## **エンドユーザー変数**

エンドユーザー変数とは、ウィザードを介してエンドユーザーからの入力を受け取るための変数です。

詳しくは[こちら](/solution-editor/variables/enduser.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-embed.anyflow.jp/solution-editor/variables.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.
