> For the complete documentation index, see [llms.txt](https://docs.dapta.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dapta.ai/flow-studio/ai-nodes/upgrade-an-older-ai-node.md). Agents can also search and read this documentation through its [MCP server](https://docs.dapta.ai/~gitbook/mcp).

# Upgrade an Older AI Node

Upgrade an older Google Gemini or Claude node to the new AI node in place: it keeps its name and connections, saves a version first, and lets you use your own credential and the newest models.

Flows built before the new AI nodes can still use the older **Google Gemini** and **Claude** nodes, now marked **(Deprecated)**. They keep working as they are and you don't have to change them. From **November 10, 2026** they use your [Dapta credits](https://docs.dapta.ai/flow-studio/ai-nodes/credits.md), like the new nodes on **Dapta AI** (on engine v2 flows, [later](https://docs.dapta.ai/flow-studio/ai-nodes/whats-next.md)).

Upgrade an older node when you want what only the new node has: your own credential (billed by Google or Anthropic, not in Dapta credits), the newest models, structured output and the cost of each run in the run details.

{% hint style="warning" %}
**Don't swap the node by hand.** A new node you drop on the canvas gets a new name, so every later step that reads the old node's answer would point to a step that no longer exists and receive the text `undefined` instead of the answer. The upgrade below replaces the node **in place**: same name, same connections, same references.
{% endhint %}

***

**📘 What you'll learn in this document:**

* **Step 1:** Open the upgrade from one of its two entry points
* **Step 2:** Read what can change and choose the **Connection**
* **Step 3:** Confirm, then test your flow
* **Step 4:** Undo the upgrade from **Flow History** if you need to

***

#### 🔑 Step 1: Open the upgrade

> Open the flow and click the older Gemini or Claude node. There are two ways in:

* **Use my own API key**: under the model field, the node says **Runs on Dapta AI (uses your credits).** Click **Use my own API key** to open the upgrade with your own credential already selected.
* **Upgrade**: right under the yellow **This node is deprecated** notice at the top of the node, a row says **New AI node: your own key and the latest models.** Click **Upgrade** to open the upgrade with **Dapta AI** selected.

You need permission to edit the flow. The upgrade is only offered on the older Gemini and Claude nodes; the older OpenAI node already runs on your own credential.

***

#### 🔍 Step 2: Read what can change

> The **Upgrade to the new Google Gemini node** (or **Upgrade to the new Claude node**) window lists, for this node, what can change. Read it before you confirm.

* **The response format.** The window lists the steps that use this node by name and tells you whether the new node hands them the same thing. For most nodes it says so in one line: **it returns the same text answer**, **the same object**, **the same full response**, or **the same full response, plus a "json" field**. If a step reads `text` or `error` from the node, the window warns you: those fields only existed when the older node could not read its own JSON.
* **The model.** If your model is still offered, it stays (**no change**). If it is retired, the window shows the replacement and why. The older Claude models are retired, so Claude nodes move to **Claude Sonnet 5.5**. Gemini nodes keep a model that is still in the menu; **Gemini 2.5 Pro** moves to **Gemini 3.8 Flash** and **Gemini 2.5 Flash** to **Gemini 3.5 Flash-Lite**, the models Google itself switches them to on December 1, 2026. Older or retired Gemini models move to **Gemini 3.5 Flash-Lite**.
* **The Connection.**
  * **Dapta AI (uses your credits)**: the node keeps running on Dapta and uses your Dapta credits, as before.
  * **My own key (Dapta does not charge it)**: pick or add your Google Gemini or Anthropic credential. Your provider bills that usage to your own account. Your key must have access to the model shown.

{% hint style="info" %}
What the upgrade keeps: the node's name, its position, the steps connected before and after it, the references other steps use, your prompt and messages, the system prompt and, on Claude, the answer length. A Claude node with no answer length set keeps the older node's default (1,000 tokens), written into the new node. The creativity setting carries over only when the new model uses it: **Claude Sonnet 5.5**, **Gemini 3.8 Flash** and **Gemini 3.5 Flash-Lite** set their own, so on those it is left out.
{% endhint %}

***

#### ✅ Step 3: Confirm, then test your flow

> Tick **I understand the response can change, and I will test this flow.** and click **Upgrade node**.

Dapta then does three things, in this order:

1. Saves your flow if it has unsaved changes.
2. Saves a **version** of the flow exactly as it is, as your way back.
3. Replaces the node and saves the flow.

If any of these saves fails, nothing changes and you see why. When it works, you see **Node upgraded. We saved a version from just before (time). To undo, restore it from History.**

{% hint style="warning" %}
The flow runs with the upgraded node from that moment. Run it once with a test record and check the steps listed in the window, especially sheets, conditions, webhooks and code steps that read the AI answer.
{% endhint %}

Open the upgraded node to see it: it now has a **Connection** and the new model menu. Under **Output** and **Response detail** it says **This node was upgraded from the old Google Gemini node** (or Claude node). Changing either one changes what the next steps receive, so leave them as the upgrade set them unless you also update those steps.

***

#### ↩️ Step 4: Undo the upgrade

> Click the **History** icon (**View Flow History**) at the top of the editor. In **Flow History**, the version tagged **Before AI node upgrade:** followed by your node's name is the one saved right before the upgrade. Click **Restore this version**.

Restoring brings back the older node exactly as it was. It restores the **whole flow** to that moment, so any change you made after the upgrade is lost.

***

#### 🚧 When the upgrade isn't available

Some older nodes can't be upgraded automatically yet. On those, the node shows no **Upgrade** row and no **Use my own API key** link, and nothing changes. This happens with:

* older Gemini nodes set to return JSON that hand the next steps that JSON as text, and
* older nodes set to return the full provider response with JSON, on flows that run on engine **v2**.

Your node keeps working and is billed like the other older nodes. If you need your own credential on it, write to us from the chat in the app and we'll help you move it.

***

#### Next steps

{% content-ref url="/pages/A08OVFljHFrN7OWyWAdV" %}
[AI Node Credits](https://docs.dapta.ai/flow-studio/ai-nodes/credits.md)
{% endcontent-ref %}

{% content-ref url="/pages/fSdq5tTBO6lvs6J4crKW" %}
[Google Gemini Node](https://docs.dapta.ai/flow-studio/nodes/google-gemini-node.md)
{% endcontent-ref %}

{% content-ref url="/pages/llrYmUdtcz34IeaPv9rq" %}
[Claude Node](https://docs.dapta.ai/flow-studio/nodes/anthropic-node.md)
{% endcontent-ref %}


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.dapta.ai/flow-studio/ai-nodes/upgrade-an-older-ai-node.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
