Skip to main content
Five white origami paper birds moving from an old weathered wooden birdhouse to a new multi-room birch plywood birdhouse on an oak shelf against a brick-red plaster wall, a metaphor for migrating Retell multi-prompt agents to conversation flow
9 min readBy Carlos Aragon

Retell Multi-Prompt Deprecated: Migrate Before Dec 15

Retell stops creating multi-prompt agents on December 15, 2026 and stops letting you edit them on February 1, 2027. Your existing ones keep answering calls, but you should convert each one to a conversation flow agent, test it, and move your phone numbers and code to its new agent ID. That's the short version. The longer version has a trap in it. This morning I built throwaway multi-prompt agents on the live Retell API and poked at every edge of the deprecation. One "quick fix" people will reach for, deleting the states to get a single prompt agent, can't be undone. Below are the test results, the field-by-field mapping, and the converter I ran.

What Exactly Changes, and When?

Multi-prompt agents are Retell LLMs with states: a general prompt plus one prompt per stage of the call, with edges that move the call between stages. Retell is folding all of that into conversation flow. The timeline from the official deprecation notice:

WhenWhat stops
Already liveDashboard can't create multi-prompt agents or assign them to new numbers. API refuses to add the first state to a single prompt LLM.
Dec 15, 2026No new multi-prompt agents anywhere: API, dashboard duplication, import.
Feb 1, 2027Existing multi-prompt agents can't be edited.
After Feb 1, 2027Retell converts the leftovers to conversation flow. Your code still points at the old IDs.

December 15 is not a call outage.Single prompt and conversation flow agents aren't touched at all. The real deadline for most teams is February 1, because after that you can't fix a prompt on a multi-prompt agent that's still live, and the automatic migration won't update the agent IDs in your code. The states field is already marked deprecated: true in the API spec.

What Still Works on the API Today?

I ran these against the live API on December 2, two weeks before the cutoff, using throwaway LLMs and agents that I deleted afterwards:

RequestHTTPResult
Create a Retell LLM with 3 states201still allowed until Dec 15
Create an agent on that LLM201list-agents shows is_multi_prompt: true
Edit a state prompt on the multi-prompt LLM200editing works until Feb 1
Edit the general prompt200same
Add a 4th state to the multi-prompt LLM200growing an existing one is fine
Add states to a single prompt LLM400Cannot add states to a single prompt Retell LLM
Add just one state to a single prompt LLM400same error
Set states: [] on a multi-prompt LLM200it becomes a single prompt LLM
Put the same states back400same error, no way back
Create the converted conversation flow2015 nodes, 1 flow-level tool
Create an agent on the converted flow201new agent ID
Flow edge with a parameters object201stored and echoed back, not in the docs

So until December 15 you can still create a multi-prompt LLM from scratch and keep growing one you already have. What you can't do, already, is turn a single prompt LLM into a multi-prompt one. That's the error you'll see in any script that builds an LLM first and attaches states in a second call:

{
  "status": "error",
  "message": "Cannot add states to a single prompt Retell LLM: multi-prompt agents are deprecated. Use a conversation flow instead. See https://docs.retellai.com/deprecation-notice/2026/12-15_multi_prompt_agents"
}

Can I Just Delete the States and Keep a Single Prompt?

You can, and that's the trap. PATCH /update-retell-llm with "states": [] returned 200 and left me with a plain single prompt LLM. Then I sent the exact same states back. 400, same error as above. Once the states are gone, the API treats it as a single prompt LLM forever. Your stage prompts and edge logic are gone too, unless you saved the JSON first.

Going single prompt is a fair choice for some agents. Retell's own guidance is to start with a single prompt, and a lot of three-state agents are really one prompt split up out of habit. But make it a deliberate decision: run GET /get-retell-llm/<id>, save the response, fold the state prompts into the general prompt, and test it. Don't strip the states as a way to dodge the deadline.

How Do I Find My Multi-Prompt Agents?

Filter POST /v2/list-agents on is_multi_prompt. Don't use response_engine_type: single and multi-prompt agents both report retell-llm. This is the script I ran, standard library only:

import json, os, urllib.request

req = urllib.request.Request(
    "https://api.retellai.com/v2/list-agents?limit=1000",
    method="POST",
    data=b"{}",
    headers={"Authorization": "Bearer " + os.environ["RETELL_API_KEY"],
             "Content-Type": "application/json"},
)
agents = json.load(urllib.request.urlopen(req))["items"]
multi = [a for a in agents if a.get("is_multi_prompt")]
print(f"{len(multi)} of {len(agents)} agents are multi-prompt")
for a in multi:
    print(a["agent_id"], a["agent_name"])

On my own workspace it printed 0 of 12 agents are multi-prompt (eleven single prompt, one conversation flow). With the throwaway test agent in place, it showed up as is_multi_prompt: true. While you're in there, it's a good moment to start publishing agent versions with the Retell CLI, so the converted agent gets a clean version history from day one. If you manage several client workspaces, run it once per API key. The list is per workspace.

How Does a State Map to a Conversation Flow Node?

The closest match for a state is a subagent node, not a plain conversation node. A subagent node holds a prompt and can call tools whenever the model decides to, which is how a state behaves. A conversation node can't call tools at all. Here's the mapping I used:

Multi-prompt LLMConversation flow
general_promptglobal_prompt
starting_statestart_node_id
state (name + state_prompt)subagent node (id + instruction.text)
edge descriptionedge with a prompt transition_condition
edge parametersextract_dynamic_variables node between the two nodes
custom tool (general or state)flow-level tool with a tool_id, listed in the node's tool_ids
end_call, transfer_call and other built-insthe node's own tools array
begin_messageno field on the flow; move the greeting into the start node

Edge parameters are the part that breaks quietly. In a multi-prompt agent, an edge can extract values on the way out (say zip_code and issue), and the next state's prompt reads them as {{zip_code}}. Flow edges have no parameters field in the documented schema. I put an extract_dynamic_variables node between the two nodes, with the same variable names, so the next prompt still finds them.

Then I tried the lazy version: a flow edge with a parametersobject stuck on it. Retell accepted it with a 201 and returned the field unchanged on read. I wouldn't trust that. An undocumented field that's stored isn't the same as a field that does anything, and I didn't place live calls for this post, so I can't tell you whether it extracts. Use the extract node.

Can I Convert Multi-Prompt Agents Through the API?

There's no convert endpoint in the API reference. The documented path is the Convert to conversation flowbutton in the agent's deprecation banner, which builds a separate agent named <agent name> (Conversation Flow). For one or two agents, use that. If you manage agents in code or across many workspaces, this is the converter I ran. It takes the get-retell-llm response and returns a create-conversation-flow body:

def convert(llm: dict) -> dict:
    """Retell multi-prompt LLM (get-retell-llm response) -> create-conversation-flow body."""
    general = llm.get("general_tools") or []
    nodes, extract_nodes, flow_tools = [], [], []
    for s in llm["states"]:
        node_tools = []
        for t in general + (s.get("tools") or []):
            if t["type"] == "custom":  # custom tools live on the flow, nodes point at them
                tid = "t_" + t["name"]
                if tid not in [x["tool_id"] for x in flow_tools]:
                    flow_tools.append({**t, "tool_id": tid})
            else:  # end_call, transfer_call, etc. stay on the node
                node_tools.append(t)
        node = {
            "id": s["name"], "name": s["name"], "type": "subagent",
            "instruction": {"type": "prompt", "text": s.get("state_prompt", "")},
            "tool_ids": ["t_" + t["name"] for t in (s.get("tools") or []) + general
                         if t["type"] == "custom"],
            "tools": node_tools, "edges": [],
        }
        for i, e in enumerate(s.get("edges") or []):
            dest = e["destination_state_name"]
            if e.get("parameters"):  # no flow equivalent: route through an extract node
                xid = f"extract_{s['name']}_to_{dest}"
                schema = e["parameters"]
                extract_nodes.append({
                    "id": xid, "name": xid, "type": "extract_dynamic_variables",
                    "variables": [{
                        "type": "enum" if p.get("enum") else
                                ("number" if p.get("type") in ("number", "integer") else "string"),
                        "name": k, "description": p.get("description", k),
                        "required": k in schema.get("required", []),
                        **({"choices": p["enum"]} if p.get("enum") else {}),
                    } for k, p in schema.get("properties", {}).items()],
                    "edges": [],
                    "else_edge": {"id": xid + "_else", "destination_node_id": dest,
                                  "transition_condition": {"type": "prompt", "prompt": "Else"}},
                })
                dest = xid
            node["edges"].append({
                "id": f"e_{s['name']}_{i}",
                "transition_condition": {"type": "prompt", "prompt": e["description"]},
                "destination_node_id": dest,
            })
        nodes.append(node)
    return {
        "global_prompt": llm.get("general_prompt"),
        "start_node_id": llm["starting_state"],
        "start_speaker": llm.get("start_speaker", "agent"),
        "model_config": llm.get("model_config"),
        "tools": flow_tools,
        "nodes": nodes + extract_nodes,
        "default_dynamic_variables": llm.get("default_dynamic_variables"),
    }

My test LLM had four states, a transfer tool in the first state, a custom booking tool in the second, a general end_call tool, and one edge that extracted two parameters. The converted body came out as four subagent nodes plus one extract node. POST /create-conversation-flowaccepted it, and an agent on it was created fine. It's structural only. I didn't run calls through it, so test the result in the LLM playground before you point a number at it. The converter also doesn't carry voice, webhook and post-call analysis settings. Those live on the agent, so set them on the new agent.

Two choices in there you might change. I copied built-in tools like end_callonto every node because a general tool in a multi-prompt agent is available in every state. A global node is cleaner if you have many states. And I didn't try to rewrite prompts that say "call transition_to_booking". Multi-prompt edges are implemented as tools with that name. In a flow they don't exist, so grep your state prompts for transition_to_ and reword those lines as plain instructions.

What Breaks After You Switch?

The agent ID changes, and nothing updates it for you.The old agent keeps its phone numbers until you move them, which is good for testing and bad if you forget. Things I'd check, in this order:

  • Inbound numbers: switch each one in Phone Numbers, then check the agent version it points to.
  • Outbound code: anything that sends override_agent_id or agent_id to create-phone-call, including n8n HTTP nodes and batch call scripts.
  • Transfers and agent swap tools in other agents that name the old agent.
  • Webhook consumers that branch on agent_id or agent_name. The converted name has " (Conversation Flow)" appended.
  • Post-call analysis fields, since reporting dashboards break silently if a field name changes.

If you keep agent IDs in one config place, most of this is a one-line change (the Retell AI setup guide walks through the number, webhook and n8n wiring if you need a refresher). If they're hardcoded across workflows, grep for the old ID before you switch the number. A trade-business agent like the one in this roofing setup usually has it in at least three places: the number, the outbound follow-up, and the webhook handler.

Is This a Reason to Leave Retell?

I don't think so. Conversation flow does everything states did, adds logic split and extract nodes, and gives you a canvas a client can actually read. The migration is an afternoon per agent, not a rebuild. If you were already weighing platforms, my ElevenLabs Agents vs Retell comparison covers the bigger trade-offs. But a deprecation with two months of editing runway isn't one of them.

How I Tested This

December 2, 2026, plain HTTP from Python against the Retell API from a Mac mini in Allen, TX. I created three throwaway Retell LLMs, two conversation flows and two agents, recorded every status code and response body, and deleted all of them at the end (all 204s; the workspace went back to its original 12 agents). The converter output was checked byte for byte against the body I sent. Creating and editing agents is free. Calls aren't, and I didn't place any, so everything here is about what the API accepts, not how a converted agent sounds on a call. I didn't test the dashboard's convert button either.

Got Multi-Prompt Agents in Production?

I build and maintain Retell voice agents wired into n8n and CRMs. If you have multi-prompt agents taking real calls and want them moved to conversation flow, tested and switched over before February, send me what you're running.

Related Posts