If you set up a small automation in Agent Builder, such as one that sorts incoming requests or drafts a reply when a form arrives, you have a limited window to keep it. Your workflows will keep running until Agent Builder shuts down, but after that you need another home for them. This guide walks you through the move, one step at a time.
Before you start
Gather these three things first:
- An OpenAI account with access to the workflow. You can only export a workflow you can open in Agent Builder, so check this before anything else.
- A Zapier account. A Zap is Zapier's name for an automation: a trigger (the event that starts it) followed by a list of steps.
- A place to save files. You will paste a long block of code and some test results, so use a document or folder you can find later.
One important detail: OpenAI does not give you a file that opens in another tool. What you get is the workflow written as Agents SDK code, the programming format used to build AI agents (programs that read instructions, use tools, and take actions). Think of it as a blueprint you rebuild from, not a finished copy.
Step 1 — Export your workflow as code
Open the workflow in Agent Builder. In the top menu, click Code, then choose Agents SDK. You can pick TypeScript or Python. Either works as a blueprint, so choose the one you're more comfortable reading.
Copy the complete export and paste it into a document or file. Label it with the workflow's name and the date. If you have several workflows, repeat this for each one and keep the labels clear.
💬 Example label: 2026-11 Lead routing workflow (Python export)
You'll know it worked when you have a full block of code saved under a name you'll recognize, with nothing cut off at the bottom.
Step 2 — Save a few test runs
The export shows how the workflow was built, but not how it behaved. Zapier recommends keeping examples of what the workflow actually does, because the code alone can't show you that.
While you still have access, run a few sample inputs through Agent Builder's Preview. Copy each result, or take a screenshot. Choose a mix: a typical input, a tricky one, and one that should fail. You'll compare your rebuilt Zap against these later.
💬 Example test input: "I need a quote for 50 office chairs delivered next Tuesday."
You'll know it worked when you have at least three input and output pairs saved next to your export.
Step 3 — Open Zapier's AI builder and describe the workflow
Where to find it: Log in to Zapier and go to your dashboard. Start a new Zap from there. The AI builder is offered as one way to set up a Zap. Button labels can change over time, so if you don't see the exact name, look for an option that lets you describe what you want in plain language instead of clicking through each setting by hand.
Once you're in the AI builder, you'll see a message box. Zapier can turn your description into a Zap by proposing a trigger, the steps, and how information passes from one step to the next, using its 10,000+ app integrations (ready-made connections to other apps).
💬 Example opening line: "Rebuild this Agent Builder workflow as a Zap. Keep the same inputs, steps, and branching. Use AI only for steps that need judgment, and regular steps for everything else."
You'll know it worked when Zapier shows a proposed set of steps that matches the flow you saw in Agent Builder.
Step 4 — Send your export as a structured chat message
This is still a chat. Your export goes into the same message box you used in Step 3, so you're writing to the AI builder the way you'd write to a chatbot. Paste your opening line first, then your code below it.
For long workflows with several agents or branches, add a header line above each stage before you paste. A header is a short title, like "Stage 2: Classify request," that marks where one part of the workflow begins and ends. This keeps Zapier from blending unrelated steps together.
Look at your workflow and mark its natural stages, such as "Intake," "Classify request," and "Send reply." Put one header above each stage in your message.
💬 Example header: ## Stage 2: Classify request (use AI here, then filter)
You'll know it worked when the proposed Zap has steps that line up with your stages, in the same order.
If you already connected Zapier to an AI assistant such as ChatGPT or Claude, you can send the same message from that assistant's chat window instead. Zapier describes the process as the same: describe what you want, then keep chatting to adjust it.
Step 5 — Reconnect your apps and test
Your app connections don't carry over from Agent Builder. You'll need to reconnect every app, such as your email or spreadsheet, inside Zapier.
Where to reconnect: When the proposed Zap appears, open each app step. Zapier will ask you to sign in to that app or choose an account for it. Look for a connect or account option inside the step's settings. Exact wording can vary, so if you're unsure, check that every app step shows a connected account before you move on.
Then check that each field pulls the right data. Zapier will run a test using a sample and show you the results. Compare them with the test runs you saved in Step 2. If something is off, return to the message box, describe the fix, and test again.
💬 Example adjustment: "The reply should use the customer's first name from the form, not the email address."
You'll know it worked when every app step shows a connected account, and a test run produces output that looks like your saved examples for the same inputs.
Step 6 — Publish when the output matches
Once the test results match what you expect, publish the Zap. Turn on the trigger you need, such as a new form entry or a scheduled time, and watch the first few real runs closely.
Keep your exported code and saved test results for a while after you publish. If a real run behaves oddly, compare it against the originals to find the difference.
You'll know it worked when the Zap runs on its own and the results show up where you expect them in your apps.
What each Agent Builder piece becomes in Zapier
Zapier's guide maps each kind of Agent Builder step to a Zapier equivalent. The most common ones are:
- Start (the message that begins a workflow) becomes a trigger, such as a new app event, a schedule, or a webhook (an automatic message one app sends to another).
- Agent (the instructions, tools, and model settings) becomes an AI by Zapier step, where you paste the instructions and choose the tools.
- Guardrails (checks for things like personal data or misuse) become AI Guardrails by Zapier, followed by a filter or path that decides what happens when a check fails.
- If/else (a branch in the logic) becomes paths, or a filter when one branch simply ends the workflow.
- Human approval (a pause for someone to sign off) becomes a Human in the Loop step.
A few pieces take some creativity. A While loop has its closest match in Looping by Zapier, which repeats actions for each item in a list. Notes you left for your team can move into step names or the Zap's description.
Common mistakes
- Mistake: Expecting a file you can open in another tool. Fix: Treat the export as a blueprint. You rebuild the workflow in Zapier rather than importing it.
- Mistake: Skipping the test runs. Fix: Save inputs and outputs from Preview before the deadline. Without them, you have nothing to check the rebuilt Zap against.
- Mistake: Assuming your connections will carry over. Fix: Reconnect every app inside Zapier during the testing step, and confirm each app step shows a connected account.
- Mistake: Pasting one large workflow with no structure. Fix: Add a header above each stage so unrelated steps stay separate.
Wrap-up
OpenAI's Agent Builder closes on November 30, 2026, so the time to act is now. Export each workflow as Agents SDK code, save a few test results, and rebuild the workflow as a Zap using Zapier's AI builder. Reconnect your apps, check the output, and then publish. Your next step today is simple: open Agent Builder, see which workflows you have, and export the most important one.
