# 変数の値を設定ノードで変数を使用する

**変数の値を設定**ノードにおいて、変数に変数を指定して保存できる機能を追加しました。**変数の値を設定**ノードの使用方法を確認するには、[**こちらのユーザーガイド**](/alli-llm-app-market/app-management/node/assign-value-node.md)を参照してください

このガイドではLHS（left hand side）変数を、他の変数の値を指定して保存する変数として、RHS（right hand side）の変数は、他の変数に格納される変数の値に対応する変数として使用します。この機能は、JSONタイプの戻り値で二つ以上の値を参照する必要がある場合に便利な機能ですが、活用するためにはJSONの基礎的な知識が必要です。

**Step 1.** \[変数の値を設定]ノードで\[+ 変数を追加]をクリックし、LHS変数を選択します。

<figure><img src="https://i0.wp.com/guide.allganize.ai/wp-content/uploads/2022/01/image-39-1.png?resize=330%2C382&#x26;ssl=1" alt="" height="382" width="330"><figcaption></figcaption></figure>

**Step 2.** LHS変数を選択すると、指定の値の形式を選択することができます。「変数」をクリックして選択します。

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

**Step 3.** 「指定され変数」の項目で指定RHS変数を選択します。RHS変数には、LHS変数と同じ種類の変数のみの選択が可能ですが、特性上、JSON変数とJSONリスト変数は、常に選択が可能です。JSON／JSONリスト変数をRHSとして選択した場合、JSONのパスを指定する必要があります。

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

以上で変数の値を設定ノードにおける設定は以上です。 データ連携ノード、JSON変数などを組み合わせてAlliをさまざまな状況で活用してみてください。


---

# 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/set-variable-values.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.
