MigrateFlows
OpenAI Agent Builder → n8n migration

Move your Agent Builder workflows to n8n before November 30.

OpenAI is shutting down Agent Builder, and its export is only Agents SDK code. Paste that code (Python or TypeScript) and get an n8n workflow with the same agents, tools, guardrails and if/else logic, ready to import.

—
days until Agent Builder shuts down on November 30, 2026. Evals become read-only on October 31.

Your exported code

  1. Export from Agent Builder. Open each workflow, choose Code → Agents SDK, pick Python or TypeScript and copy everything.
  2. Convert here. Each agent becomes an n8n AI Agent with its model, instructions, output schema and tools. Web search, file search and code interpreter stay as OpenAI built-in tools, so your vector stores keep working.
  3. Import into n8n. Use Import from file, add your OpenAI credential and any MCP or tool credentials from the checklist, and chat with it.

Everything runs in your browser; your code is not uploaded. If your code contains tokens, the converter leaves them out and tells you which credential to create.

Converted for n8n

Your converted workflows will appear here.

Converts automatically

  • Agents: name, instructions (also dynamic ones), model, temperature, reasoning effort and output schemas
  • Web search, file search and code interpreter as OpenAI built-in tools in n8n
  • MCP servers as MCP Client tools
  • Guardrails: jailbreak, PII, NSFW, URL filter, off-topic and custom checks
  • If/else, classifiers, while loops, user approval, state and end nodes

Needs a quick check

  • Function tools: the export has no implementation, so they arrive as Code Tools to fill in
  • OpenAI connectors (Gmail, Drive…): swap them for n8n's own app tools
  • Moderation and hallucination guardrails have no direct n8n equivalent
  • Code you edited by hand after exporting may need a look

Tested on

196 real Agent Builder exports published on GitHub (Python and TypeScript, 437 agents). Every converted workflow passes n8n's own workflow validator.

Done for you

Prefer to hand it off? We migrate your Agent Builder workflows to n8n.

We convert every workflow, implement your function tools, connect your MCP servers and apps, set up credentials with you on a short call and test each agent with real questions before November 30.

Small

US$190

Up to 10 workflows

Team

US$690

Up to 50 workflows

Large

Custom quote

More than 50 workflows or ChatKit front ends

Email hello@migrateflows.com and tell us how many workflows you have and where you want to run n8n.

No n8n account yet? Start with n8n

Questions

What does OpenAI offer instead?

Two paths: keep the exported Agents SDK code and run it yourself, or rebuild the workflow as a ChatGPT workspace agent (Business, Enterprise and Edu plans). Neither keeps a visual editor you can host.

Will my vector stores and web search still work?

Yes. n8n's OpenAI chat model supports OpenAI's built-in web search, file search and code interpreter, so the converted agents use the same vector store IDs with your OpenAI API key.

What about ChatKit?

ChatKit itself is not being shut down, but it needs a backend. n8n's chat trigger gives you a hosted chat page and a webhook you can call from your own front end.