Connect ChatGPT
Connect ChatGPT to Middle to investigate workflows, records, and logs
You can connect ChatGPT to Middle to investigate questions like why a member didn't receive points for a check-in. It can read the Middle data available to your user, including workflows, records, and logs. It cannot edit workflows or run actions.
Before you start
You need an Organization Owner to approve the connection in Middle, and permission to add custom plugins in ChatGPT.
Register ChatGPT in Middle
Metadata document URL:
https://chatgpt.com/oauth/client.jsonSign in to Middle as an Organization Owner.
Open More → API Clients → Register API client.
Select Use a metadata document.
In Metadata document URL, enter:
https://chatgpt.com/oauth/client.json.Select Load metadata to open the client details.
Review the name, website, and redirect URLs, then select Approve and enable.
Check that Status says Enabled before continuing to ChatGPT.
Add Middle in ChatGPT
Open ChatGPT on the web and go to Plugins.
Click Add in the upper right, then Add custom MCP server.
Fill in the dialog:
Icon (optional)
Leave blank.
Name
Enter Middle or a name specific to your instance.
Description (optional)
Investigate Middle workflows, records, and logs.
Connection
Select Server URL and enter your installation URL below.
Authentication
Select OAuth.
Advanced OAuth settings
Leave unchanged.
I understand and want to continue
Read the warning and check the box to proceed.
Create as a plugin
Click to connect.
Server URL: https://example.middle.app/oauth/mcp/. Replace example with your installation's subdomain.
Authorize access
When Middle opens, sign in and complete any required authenticator check.
On Authorize access, check the client name and signed-in email. Use Switch user if you want to connect a different Middle user.
Select Authorize to return to ChatGPT, or Cancel to decline.
If you are already signed in to Middle, you may go straight to Authorize access. The permission shown is: “This app will be able to read the data you can access in Middle.” Approving the API client as an owner doesn't give everyone the owner's access.
Try an investigation
Install the plugin from your personal or workspace plugins. Start a new conversation, type @, and select Middle. These steps follow OpenAI's connection guide.
Start with “List the Middle accounts I can access.” Then try a specific question:
For Business 123, Sally at sally@example.com didn't receive points for her October 5 check-in. Find her record and the check-in rewards workflow. Check the trigger, workflow configuration, and execution logs. Explain what happened and link to the relevant Middle pages.
Replace the example with a real business, member, and date. ChatGPT can also search Middle's documentation to understand workflow parameters and other settings. For a HubSpot ticket, give ChatGPT access to HubSpot or paste the ticket's details.
Alternative: manual registration
Use this instead of metadata registration when configuring ChatGPT with a client ID and optional secret.
Copy the exact redirect URL shown in ChatGPT's server management details.
In Middle, open More → API Clients → Register API client.
Select Enter details manually.
Enter ChatGPT for Name and
https://chatgpt.comfor Website.Paste ChatGPT's redirect URL into Redirect URLs.
Choose the Client authentication method configured in ChatGPT. HTTP Basic corresponds to
client_secret_basic; POST body corresponds toclient_secret_post.Select Register client. If a secret appears, copy it and select Continue to client.
Select Approve and enable and copy the Client ID.
Enter that client ID and any secret in ChatGPT's OAuth settings, select Create as a plugin, then continue with Authorize access.
The redirect URL is where Middle sends you back after authorization. Copy it exactly, including any path or trailing slash. OpenAI explains its callback URLs in the authentication guide.
Review or revoke access
In Middle, open My Session → User settings. Below Authenticator, find API clients using your credentials. This shows your authorizations and when they were last used. Select Revoke access and confirm to stop one authorization.
An Organization Owner can stop the client for everyone through More → API Clients → [client name] → Disable client.
If you get stuck
API Clients is missing: Ask an Organization Owner to register the client.
Client is disabled: Open its details in Middle and select Approve and enable.
Invalid client_id parameter value: Check that the API client in Middle uses
https://chatgpt.com/oauth/client.jsonand is Enabled, then connect again.Metadata won't load: Check the error shown and confirm the URL matches the one in step 1.
Authorization expired: Start connecting again from ChatGPT.
Server won't connect: Check the HTTPS address and the complete
/oauth/mcp/path.
Last updated
Was this helpful?

