# 変数の値を設定ノード

顧客情報や認証コードなどを更新する場合があるとき、あるいは他の理由で変数の値を更新する場合がある場合、変数の値を設定ノードを使用すると効率的です。

ここに、値の割り当てノードを説明するのに役立つ簡略化されたチャットフローがあります:

<figure><img src="https://i0.wp.com/guide.allganize.ai/wp-content/uploads/2022/01/image-41-3.png?resize=570%2C464&#x26;ssl=1" alt=""><figcaption></figcaption></figure>

変数の値を設定ノードは、ノードバー内のアイコン（キャンペーンタイトル下部にあります。）をクリックしてノードを作成します。（以下参照してください）

<figure><img src="https://i0.wp.com/guide.allganize.ai/wp-content/uploads/2022/05/%E5%A4%89%E6%95%B0%E3%81%AE%E5%80%A4%E8%A8%AD%E5%AE%9A1.png?resize=800%2C182&#x26;ssl=1" alt=""><figcaption></figcaption></figure>

ノードを使用するには、ノードエディタで「変数を追加」をクリックし、使用する変数を選択して指定される値の形式を選択します。数値フィールドに変数の値を入力します。

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

値の形式として、値（定数値）、変数、数式の中から選択します。 変数の型と計算式の詳細については、次のガイドを参照してください。

* [**変数の値を設定ノードで変数を使用する**](https://docs.allganize.ai/alli-userguide/settings/variables/assign-variables-to-variables)
* [**変数の値を設定ノードで計算式を使用する**](https://docs.allganize.ai/alli-userguide/skills/skill-editor/node/assign-value-node-general-operations)

最後に\[更新]ボタンをクリックして変更を保存します。

注：既存の変数の値が指定されている場合とない場合がありますが、これに関係なく、ノードが実行されると、ノードの指定された変数の値が更新されます。


---

# 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/alliyzgaido/skills/skill-editor/node/assign-value-node.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.
