Connect n8n to Codex
Use n8n from Codex in the ChatGPT desktop app. Use the 20-tool n8n Full surface to inspect, build, validate, run, repair, and administer the instance you connect.
7 days free · No card required
How to connect n8n to Codex
Before you start
- A reachable n8n instance and an API key for that instance.
1. Connect n8n to ApexGenius
- Open n8n in Connections. Sign in to ApexGenius, open Connections, choose n8n, and select Connect.
- Enter the instance credentials. Provide the n8n instance URL and API key in the connection form. Save the connection after validation succeeds.
- Check the available tools. Open the Tools tab and use the Read filter to review the available inspection tools before using workflow authoring or execution actions.
- Check the saved connection. Use Test connection and read the reported status before asking your AI to list workflows.

This captured n8n connection reports ready. Check your own connection and its latest validation before using tools.Open full-size image (opens in a new tab)
2. Add ApexGenius to Codex
- Open Plugins in the ChatGPT desktop app. Select an ApexGenius plugin shared with you or one you created, then install it if needed.
- Connect ApexGenius, then authorize the business-system connections and access you want Codex to use.
- Start a new Codex task with ApexGenius, ask one read-only question, and check the matching result in Activity.
- When ApexGenius asks what this AI client may use, choose Read only for the first test, or Custom to limit it to the tools you need.
- Start a new conversation and select ApexGenius from the available tools before asking for live data.
Read the steps Follow along at your own pace
1. Enable developer mode

2. Create the plugin

3. Find ApexGenius

4. Review the connection

The walkthrough uses the original ChatGPT web plugin captures. After connecting, open Codex in the desktop app and start a new task with ApexGenius. A ChatGPT web connection does not verify Codex access.
A public ApexGenius plugin listing is not verified. Use a plugin shared with you or one you created, subject to your account and workspace policy.
Create a personal plugin
Where Developer mode is available, open ChatGPT Settings, then Security and login, and enable it. In Plugins, select the plus button, enter ApexGenius and a description, then add this URL under Connection. Create the connection, complete OAuth, and review the tools. Return to Codex in the desktop app and start a new task with the plugin enabled.
https://server.autom8.pro/mcpNo plugin available? Use desktop settings
- In the ChatGPT desktop app, open Settings, then MCP servers, then Add server.
- Name the server ApexGenius, choose Streamable HTTP, and paste the MCP address below.
- Save, select Restart, then Authenticate. Sign in to ApexGenius and authorize the intended connections and access.
- Start a new Codex task and ask one read-only question. Check the returned result and its matching successful read in Activity.
https://server.autom8.pro/mcpManual setup for developers
Codex CLI is optional. Run these commands, complete browser authorization, then start a new session. Do not paste bearer tokens or static authorization headers.
Register the remote MCP server
codex mcp add apexgenius --url https://server.autom8.pro/mcpAuthorize in your browser
codex mcp login apexgeniusInspect registered servers
codex mcp listThe desktop app, CLI, and IDE extension share MCP configuration on the same host. The IDE extension does not install plugins. ChatGPT web does not read local Codex configuration.
3. Verify one safe read
List up to five n8n workflows. Do not run or change any workflow.
List up to five n8n workflows. Do not run or change any workflow.Compare the workflow names and active status with the same n8n instance. A test execution can trigger downstream actions, so begin with a list request.
Additional reference: the n8n setup guide.
Start freeWhat it looks like in Codex
An illustrative read-only request and response. Your results come from the account and dates you choose.
apex_search_toolsn8n workflows · Find the n8n read pathCompleteapex_call_read_tooln8n_list_workflows · List active workflowsCompleteapex_call_read_tooln8n_get_workflow · Read each triggerCompleteNine workflows are active. Four run on a schedule, five on webhooks. The newest is the lead intake workflow, changed two days ago. Nothing was changed.
Read-only routeWhat you can ask once it is connected
“Audit my workflows for broken nodes and missing credentials.”
“Find a template for routing form submissions into Salesforce.”
“Show the last failed executions and explain the common cause.”
“Update the webhook node on the intake workflow.”
You choose what Codex is allowed to touch
Choose the saved accounts and tools this Codex connection may use. Its authorization carries that scope, and each business connection’s tool and resource restrictions still apply.
- Full accessEvery enabled tool on the connections you choose.
- Read onlyLooks things up, changes nothing.
- CustomPick apps and tools one by one.
- · The connection belongs to the user and is not tied to a Salesforce connection.
- · Read, write, destructive, and open-world tool hints come from the current gateway catalog.
- · A test run can trigger real downstream actions such as email or third-party API calls.
- · Server-enforced Auto, Ask, and Off approval modes are in development.
The n8n operations Codex can run
20 operations: 9 Read and 11 Write. Available tools depend on your connection and permissions. Review any action that changes or removes data. Codex discovers these operations through the ApexGenius gateway.
n8n_list_workflowsReadList minimal workflow metadata with cursor pagination.n8n_get_workflowReadRead a workflow at minimal, details, structure, or full detail.n8n_audit_instanceReadAudit the instance and workflows for security, credential, webhook, and retention risks.n8n_search_nodesReadSearch n8n nodes by keyword, with optional template examples.n8n_get_nodeReadRead node details, documentation, properties, versions, and migrations.n8n_validate_nodeReadValidate a node configuration in minimal or full mode.n8n_search_templatesReadSearch workflow templates by keyword, nodes, task, metadata, or pattern.n8n_get_templateReadRead a template as nodes only, structure, or a full workflow.n8n_validate_workflowReadValidate workflow nodes, connections, and expressions by workflow ID.n8n_create_workflowWriteCreate an inactive workflow from supplied nodes and connections.n8n_generate_workflowWriteGenerate workflow proposals from a description and optionally deploy a confirmed proposal.n8n_deploy_templateWriteDeploy a template from n8n.io and apply supported automatic fixes.n8n_executionsWriteGet, list, or delete workflow execution records.n8n_update_workflowWriteApply incremental operations to a live workflow.n8n_replace_workflowWriteReplace a workflow with a complete nodes-and-connections definition.n8n_autofix_workflowWritePreview or apply supported fixes for common workflow validation errors.n8n_test_workflowWriteTrigger an eligible webhook, form, or chat workflow and its real downstream actions.n8n_workflow_versionsWriteList, read, restore, delete, prune, or truncate workflow version history.n8n_manage_datatableWriteCreate, read, update, upsert, or delete n8n data tables and rows.n8n_delete_workflowWritePermanently delete a workflow.
Questions people ask first
What does ApexGenius need to reach my n8n instance?
Your instance URL and an API key. ApexGenius stores the credential for the connection instead of leaving it in an agent config.
Does this work with self-hosted n8n?
Yes. Any reachable instance URL works, self-hosted or cloud, as long as the API key you supply is valid for it.
Can an agent change or delete my workflows?
Workflow and execution operations that remove or overwrite are marked destructive and are approval-gated. Read operations return workflow detail and change nothing.
Can I use n8n and Salesforce in the same conversation?
Yes. One connection carries every app you have connected, so an agent can read from one and act in another with both calls on the same audit trail.
Connect n8n to Codex today
Start free7 days free. No card required. Disconnect any time.
