> For the complete documentation index, see [llms.txt](https://help.aiaibot.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.aiaibot.com/robot/plugins/ai/variable-im-konversations-kontext-ablegen.md).

# Variable im Konversations-Kontext ablegen

Mit dem Plugin <img src="/files/k3Mb6AXvAAkWUvjif5lU" alt="" data-size="line"> *In AI-Konversations-Kontext speichern* können Sie eine Variable in den Kontext eine Konversation legen. Die Variable muss unter einem Schlüssel (Key) abgelegt werden. Dieser Schlüssel wird dann benötigt, wenn Sie die Variable später wieder aus dem Kontext holen möchten.

<figure><img src="/files/xHZ8W2W3RtScLE1EdrHQ" alt=""><figcaption><p>Plugin: In AI-Konversations-Kontext speichern</p></figcaption></figure>

Wie der Name des Plugins impliziert, werden die Variablen **pro Konversation** abgespeichert. Das bedeutet, dass der Key pro Konversation eindeutig ist. Im Gegensatz um Plugin [Speichern eines Wertes](/robot/plugins/speicher/speichern-eines-wertes.md) bei dem der Key für das gesamte Projekt eindeutig sein muss.

Diese Plugin kann dabei helfen, den Konversationsfluss zu steuern. Werden zum Beispiel mit einem Agent der Vor- und Nachname sowie die E-Mail-Adresse des Benutzer abgefragt, können diese in den Konversations-Kontext gelegt werden. Erst wenn alle drei Eingaben vorhanden sind, wird der Workflow in einem bestimmten Pfad weiter fortgeführt.

Dieses Plugin steht auch in [AI-Funktion](/robot/connectoren/passiv/ai-funktion.md) Workflows zur Verfügung.

## Parameter "Key"

Hier geben Sie den Schlüssel (Key) ein, unter dem die Variable abgelegt werden soll. Die Länge des Schlüssel darf 200 Zeichen nicht überschreiten.

## Parameter "Variable"

Aus diesem Auswahlfeld wählen Sie die Variable aus, die in den Konversations-Kontext gelegt werden soll.


---

# 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://help.aiaibot.com/robot/plugins/ai/variable-im-konversations-kontext-ablegen.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.
