Open an n8n workflow where an AI Agent, Basic LLM Chain or another AI node uses OpenAI, and double-click the OpenAI Chat Model node attached below it. Check its Model field. If it shows gpt-5-mini, the step stops working on December 11, 2026. Executions keep succeeding until then. Current n8n versions fill an unchanged Model field with gpt-5-mini.
The fix is in that same field. Select gpt-6.1-terra, run one real input, inspect the data sent to the next node, and publish. After the cutoff, the old model is expected to return The resource you are requesting could not be found. Compare the failed model ID with a replacement request through the same OpenAI credential. If the replacement works, the evidence points to a retired model. If it also fails, check the API key, project, and model access.
We verified the platform-specific claims in this guide against OpenAI and n8n documentation on 2026-11-13. App Rescue Desk is independent and is not affiliated with n8n or OpenAI.
TL;DR
- OpenAI lists
gpt-5,gpt-5-mini,gpt-5-nano,gpt-5-pro,o3,o3-pro, and their dated snapshots for shutdown on December 11, 2026. - Where to look: start with the OpenAI Chat Model node under each AI Agent or LLM chain, then inspect regular OpenAI nodes, HTTP Request nodes that call
api.openai.com, and Execute Sub-workflow paths. - Do not rely on an exported JSON search alone. An unchanged default can be absent from the JSON while the node uses
gpt-5-miniat runtime. - Select the documented replacement, run one real input, check downstream fields, and publish. In n8n 2.0, saving a draft does not update the live workflow.
- Before retrying failures, check whether earlier nodes or external systems already created records, sent emails, or processed payments.
Is this error the OpenAI shutdown or an API key problem?
A 404 heading is not a diagnosis. n8n maps HTTP 404 responses to The resource you are requesting could not be found. The full upstream message can name the model or the access problem.
Current n8n OpenAI error handling handles quota, rate-limit, and Responses API failures specifically, but not model_not_found. Capture the complete error.
| Observed evidence | What it supports | Next check |
|---|---|---|
| The run succeeds before December 11 with a retiring model | Scheduled risk, not a current incident | Migrate and test before the cutoff. |
A post-cutoff run returns 404 or model_not_found; the replacement works with the same credential |
Retirement is strongly supported | Confirm the failed model in OpenAI’s retirement table. |
| The replacement is absent from the model list for that credential | Access or project configuration remains possible | Check the organization, project, endpoint, and model permissions. |
| The request returns 401 | Authentication failed | Test the exact credential used by the failed node. |
| The request returns 429 | Rate, credit, or spending limits | Read error.code; do not treat it as retirement. |
OpenAI’s model-availability procedure compares models with the same API key, organization, and project headers. Its error documentation separates authentication and rate-limit failures from unavailable-resource errors.
For one failed execution, record the timestamp and timezone, workflow and node versions, model ID, HTTP status, error type, error code, full message, last successful execution, and x-request-id. Never copy the API key into notes, screenshots, or support requests.
Agent-version incompatibility and missing choices errors do not prove retirement. Identify the failed model first, then find every workflow that sends it.
Find every workflow that uses a retired model
On self-hosted n8n, export current workflow drafts with the documented Server CLI command:
n8n export:workflow --all --output=workflows.json
The n8n CLI documentation provides --published for deployed versions. Exports contain prompts, endpoints, expressions, and business logic, so handle them as sensitive data. On n8n Cloud, use the interface export or n8n API.
Search for gpt-5, gpt-5-mini, gpt-5-nano, gpt-5-pro, o3, and o3-pro. Then inspect what a text search misses:
- Find every
lmChatOpenAinode under AI Agents and chains. - Open nodes with a missing, empty, or expression-based model value.
- Review regular OpenAI nodes for operation-specific model fields.
- Check HTTP Request nodes that call OpenAI and send a
modelproperty. - Follow Execute Sub-workflow paths into every child workflow.
As of the verification date, current n8n source sets gpt-5-mini as the default for node versions 1 through 1.3. Installed builds can differ. Record the n8n and node versions, read the resolved Model field in the editor, and set every implicit value explicitly.
Change the model and publish the workflow
OpenAI’s deprecation table lists gpt-6.1-terra as the replacement for gpt-5-mini. Check each other retired model separately because the replacements differ.
- Open the affected OpenAI Chat Model node.
- Keep the existing credential and choose the replacement with From List.
- If it is absent, stop and check access. Do not enter an unverified model ID.
- Run one real input without unnecessary sensitive data.
- Inspect the text, tool calls, token limits, latency, and failure path.
- Check parsers, expressions, IF conditions, and destination mappings.
- Save the change, publish the workflow, and confirm the published version uses the new model.
The OpenAI Chat Model documentation says the list contains models available to the selected account. In n8n 2.0, the publish model keeps saved drafts separate from published workflow states.
A tested fallback limits the impact of a request failure, but it does not migrate the workflow. Publish the explicit replacement before shutdown.
Lovable apps and Zaps that call the same models need their own checks; the GPT-5 shutdown guide for Lovable, n8n and Zapier covers each platform.
Recover executions that failed after December 11
In Executions, filter by the affected workflow, Failed status, and a time range starting with the first confirmed model failure. Check destination records and the original sender’s retry history before replaying anything.
The execution retry documentation provides two actions:
- Retry with currently saved workflow uses the corrected workflow for nodes that have not completed.
- Retry with original workflow can send the retired model ID again and reproduce the failure.
Completed nodes keep their saved results, but the failed node receives its saved input again. Reconcile CRM records, database rows, emails, tickets, and payments because the failed node or an external service could have processed some items before the error appeared.
Start with one low-risk execution and confirm exactly one intended result. For webhook workflows, compare the sender’s delivery history with the timeline in n8n production webhook troubleshooting. Expand the retry set only after this check passes.
When the n8n Assistant is enough
Manual replacement works well for one known workflow with no execution backlog. Use n8n Assistant to edit, test, and troubleshoot that workflow. Instance context remains a preview feature and is not available everywhere.
The Assistant does not provide fleet-wide inventory or reconcile business records. Use it on one defined workflow, then verify external state before repeating customer-facing work.
Get alerted before the next model shutdown
Attach an error workflow to each important production workflow. The n8n error-handling procedure requires Error Trigger as its first node. Send the output to email or Slack, and retain enough failed execution data for diagnosis.
OpenAI’s List models response defines an optional shutdown_date. Monitor that field and the deprecation page instead of waiting for a production 404.
Other scheduled shutdowns include certain GPT-4o and GPT-4.1 snapshots on January 14, 2027, and whisper-1 plus listed transcription models on February 26, 2027. n8n’s OpenAI audio operations use whisper-1 as the default for transcription and translation. Add shutdown monitoring, then trigger a test error to verify delivery.
If the shutdown already broke your workflows
Collect the first failure timestamp and timezone, full error, workflow and node versions, model ID, last successful execution, destination identifiers, and sender retry history. Pause bulk recovery when several workflows are involved, failures have accumulated, the installed n8n version is old, or an AI step wrote incorrect data without returning an error.
An article cannot determine whether unseen writes are safe to repeat. Use the n8n workflow diagnosis and repair service to inventory the workflows, trace completed and failed execution paths, and define a controlled recovery plan before changing production data.
Frequently asked questions about n8n and the GPT-5 shutdown
Does n8n switch to a new OpenAI model automatically?
No. A deprecation notice does not rewrite saved workflow configuration. Select the replacement, test it, and publish.
Will upgrading n8n change the default model?
Installed n8n versions can differ, and an upgrade can change defaults for new nodes or unresolved fields. It does not migrate saved production workflows. Set every production model explicitly.
Does n8n Cloud send an alert when a workflow fails?
Do not rely on an account-wide alert. Add and test an Error Trigger notification path for every important workflow.
Are the OpenAI node’s image and audio operations affected?
The December 11 shutdown covers the named GPT-5 and o3 models, not every OpenAI operation. Image and audio models follow separate schedules. Audit the model selected by each OpenAI node.