---
title: "Connect CDK Global to ChatGPT: Manage Sales & Customer Records"
slug: connect-cdk-global-to-chatgpt-manage-sales-customer-records
date: 2026-11-28
author: Sidharth Verma
categories: ["AI & Agents"]
excerpt: "Learn how to connect CDK Global to chatgpt using Truto. Step-by-step guide to tool calling, API quirks, and autonomous workflows."
canonical: https://truto.one/blog/connect-cdk-global-to-chatgpt-manage-sales-customer-records/
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://truto.one/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

# Connect CDK Global to ChatGPT: Manage Sales & Customer Records

**CDK Global in ChatGPT, in about a minute.** The best way to connect CDK Global to ChatGPT is Elaichi: connect CDK Global to Elaichi once, then add Elaichi to ChatGPT as a connector. Two steps, about a minute, with a 14-day free trial and no credit card required.

1. **Start your free trial.** Create your Elaichi account. 14 days free, no credit card required.
2. **Connect CDK Global.** Connect CDK Global once in Elaichi. ChatGPT never gets more access than you have.
3. **Add Elaichi to ChatGPT.** In ChatGPT, open Plugins, press +, and paste https://api.elaichi.ai/mcp into Server URL. Sign in and approve.

[Start free on Elaichi, 14 days, no credit card required](https://app.elaichi.ai/signup?utm_source=truto.one&utm_medium=referral&utm_campaign=launchpad&utm_content=post_markdown&utm_term=cdkglobal) · [CDK Global on Elaichi](https://elaichi.ai/connectors/cdkglobal/?utm_source=truto.one&utm_medium=referral&utm_campaign=launchpad&utm_content=post_markdown&utm_term=cdkglobal)

*Building CDK Global into your own product? The guide below is for you.*

---

If you need to connect CDK Global to ChatGPT to automate dealership operations, manage service repair orders, or orchestrate customer and sales workflows, you need a [Model Context Protocol (MCP) server](https://truto.one/what-is-model-context-protocol-mcp/). This server acts as the translation layer between ChatGPT's JSON-based tool calls and the highly specific REST APIs exposed by CDK Global and the Fortellis platform. You can either [build and maintain this integration infrastructure yourself](https://truto.one/building-mcp-server-for-any-saas-api/), or use a managed platform like Truto to dynamically generate a secure, authenticated MCP server URL.

If your team uses Claude, check out our guide on [connecting CDK Global to Claude](https://truto.one/connect-cdk-global-to-claude-streamline-service-repair-orders/) or explore our broader architectural overview on [connecting CDK Global to AI Agents](https://truto.one/connect-cdk-global-to-ai-agents-track-inventory-parts-operations/).

Giving a Large Language Model (LLM) read and write access to an automotive Dealer Management System (DMS) like CDK Global is a massive engineering challenge. You have to handle fragmented domain silos, orchestrate complex asynchronous polling loops for bulk data, and [strictly manage rate limits](https://truto.one/handling-api-rate-limits-ai-agents/). Every time CDK updates an endpoint, your custom server code must be updated, redeployed, and tested.

This guide breaks down exactly how to use Truto to generate a secure, managed MCP server for CDK Global, connect it natively to ChatGPT, and execute complex dealership workflows using natural language.

> Stop writing boilerplate API integration code. Let Truto generate secure, managed MCP servers for your AI agents in seconds.
>
> [Talk to us](https://truto.one/book-a-demo/)

## The Engineering Reality of the CDK Global API

A custom MCP server is a self-hosted integration layer. While the open MCP standard provides a predictable way for models to discover tools, implementing it against CDK Global's API surface is exceptionally painful for a few specific reasons.

If you decide to build a custom MCP server for CDK Global, you own the entire API lifecycle. Here are the specific integration challenges that break standard REST assumptions when working with CDK:

### The Asynchronous Polling Paradigm
Unlike SaaS platforms with simple synchronous endpoints (e.g., standard `GET /customers`), many critical CDK Global endpoints utilize a [long-running, asynchronous export model](https://truto.one/async-polling-patterns-mcp-servers/). If an LLM needs to fetch recently closed Parts Sales or F&I Sales, it cannot just execute a simple read tool. It must hit a `_start` endpoint, which returns an HTTP 202 Accepted status containing an `operationId`. 

The client is then expected to poll a status endpoint (`_operation_by_id`) using that `operationId` until the status changes from `received` to `complete`. Only then can it call a third endpoint (`_operation_results`) to actually retrieve the data. Exposing this directly to an LLM requires providing all three endpoints as distinct tools and explicitly prompting the LLM on how to navigate the state machine.

### Strict Fortellis Rate Limits and IETF Headers
CDK Global routes traffic through the Fortellis platform, which imposes aggressive rate limits on API consumption. Depending on the endpoint, you might be restricted to 25, 40, or 120 calls per minute per app. When an LLM aggressively loops through records, it will inevitably hit an HTTP 429 Too Many Requests response.

When routing these requests, Truto normalizes upstream rate limit information into standardized headers (`ratelimit-limit`, `ratelimit-remaining`, `ratelimit-reset`) per the IETF specification. 

**Crucial Factual Note on Rate Limits:** Truto does not retry, throttle, or apply backoff on rate limit errors. When the upstream CDK API returns an HTTP 429, Truto passes that error directly to the caller. Truto does not automatically retry or absorb rate limit errors. The calling client (or the LLM agent's prompt logic) is entirely responsible for reading the `ratelimit-reset` header and executing the required retry or backoff behavior.

### Segmented Dealership Domains
CDK data is heavily compartmentalized. CRM customers live in a completely different namespace than Service Vehicles, Repair Orders, or Finance & Insurance (F&I) sales. An LLM trying to get a holistic view of a customer's repair history and recent vehicle purchase must correctly chain calls across multiple disparate resources, managing unique identifiers (like `dealNumber` vs `roNumber`) across each step.

## Generating a CDK Global MCP Server

Instead of building a translation layer from scratch, you can use Truto to dynamically generate an MCP server mapped directly to a connected CDK Global account. Truto handles the OAuth and token refresh lifecycle invisibly.

You can generate the MCP server URL via the Truto dashboard or programmatically via the API.

### Method 1: Via the Truto UI

If you are manually configuring environments for an internal ChatGPT workspace, the UI is the fastest path:

1. Log into your Truto dashboard and navigate to the **Integrated Accounts** section.
2. Click on your active CDK Global connection.
3. Navigate to the **MCP Servers** tab.
4. Click **Create MCP Server**.
5. Select your desired configuration (name, allowed methods like `read` or `write`, and specific resource tags to limit scope).
6. Copy the generated MCP server URL (e.g., `https://api.truto.one/mcp/a1b2c3d4e5f6...`).

### Method 2: Via the Truto API

For teams dynamically provisioning AI agents for multiple dealerships, you can automate MCP server creation via the API. You will need the `integrated_account_id` of the connected CDK instance.

```bash
curl -X POST https://api.truto.one/integrated-account/YOUR_INTEGRATED_ACCOUNT_ID/mcp \
  -H "Authorization: Bearer YOUR_TRUTO_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Dealership Service Advisor MCP",
    "config": {
      "methods": ["read", "write", "custom"],
      "tags": ["repair_orders", "customers", "vehicles"]
    },
    "expires_at": null
  }'
```

The API returns a JSON object containing the secure `url`. This URL contains a cryptographic token that routes requests to the correct CDK Global instance and applies your method/tag filters. Treat this URL as a secret.

## Connecting the MCP Server to ChatGPT

Once you have your Truto MCP URL, connecting it to ChatGPT takes less than a minute. You can do this directly in the ChatGPT interface or via a local configuration file for programmatic agents.

### Method A: Via the ChatGPT UI

If you are using ChatGPT Pro, Plus, Business, Enterprise, or Education, you can add custom connectors directly in the browser:

1. In ChatGPT, click your profile and navigate to **Settings -> Apps -> Advanced settings**.
2. Toggle **Developer mode** to ON.
3. Scroll down to the MCP servers / Custom connectors section and click **Add new server**.
4. Provide a name (e.g., "CDK Global Service Desk").
5. Paste your Truto MCP Server URL into the URL field.
6. Save the configuration. ChatGPT will immediately perform a handshake, run the `tools/list` protocol, and expose the CDK operations to your chat interface.

### Method B: Via Manual Config File

If you are running local agents, Claude Desktop, Cursor, or programmatic ChatGPT clients that rely on an MCP configuration file, you can bridge the remote SSE server using the standard `@modelcontextprotocol/server-sse` proxy:

```json
{
  "mcpServers": {
    "cdk-global-dms": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-sse",
        "https://api.truto.one/mcp/YOUR_SECURE_TOKEN"
      ]
    }
  }
}
```

## CDK Global Hero Tools

When ChatGPT connects to the Truto MCP server, it dynamically discovers tools based on the CDK Global API schema. Truto automatically injects cursor pagination instructions and required fields into the JSON schemas so the LLM knows exactly how to format its arguments.

Here are the most critical, high-leverage tools available for automating dealership operations.

### 1. Customer Search (`cdk_global_customers_search`)

Locating a customer across the fragmented DMS requires flexible querying. This tool allows the LLM to search for a CRM customer using partial matches on name, address, email, or phone number.

*Usage note:* Email and phone number searches perform exact matches, while name and address utilize a SQL `LIKE` operator behind the scenes.

> "Find the customer profile for John Doe at johndoe@example.com and return their primary contact ID."

### 2. Create a Repair Order (`create_a_cdk_global_service_repair_order`)

This is a heavy-duty write tool that creates a new service repair order. The LLM must construct a complex payload containing the customer reference (`customerHref`), vehicle reference (`vehicleHref`), inbound mileage (`mileageIn`), and the scheduled service line items.

*Usage note:* The LLM needs to have successfully identified the customer and vehicle IDs using other search tools before executing this creation step.

> "Create a new repair order for vehicle ID 98765 belonging to customer ID 1234. Set the inbound mileage to 45000, assign it to service advisor 44, and add a line item for a standard oil change."

### 3. Open Repair Orders Bulk Export (`cdk_global_open_repair_order_exports_start`)

Because querying large datasets directly is prohibitive, CDK uses an async pattern for repair orders. This tool initiates the export job. 

*Usage note:* Calling this tool returns an `operationId`. The LLM must be explicitly prompted to take this ID, pass it to the `get_single_cdk_global_repair_order_operation_by_id` tool to check status, and finally pull the data using `list_all_cdk_global_repair_order_operation_results`.

> "Initiate a bulk export of all open repair orders for the last 3 days. Tell me the operation ID, then check the status of that operation."

### 4. Search Parts Inventory (`cdk_global_parts_search`)

This tool allows the LLM to verify if a part is in stock before adding it to a repair order or quoting a customer. It searches the dealership's part inventory by part number, description, bin location, or source.

> "Check our parts inventory for part number 'BRK-PAD-001' and tell me how many we have on hand and which bin they are located in."

### 5. Fetch Single F&I Sale (`get_single_cdk_global_fi_sale_by_id`)

Finance & Insurance (F&I) sales records represent finalized or pending vehicle deals. This tool pulls the complete record for a specific `dealNumber`, including the financial breakdown, associated products, and status codes (e.g., 'C' for cleared, 'B' for booked).

> "Pull the complete F&I sale record for deal number D-99482 and summarize the total amount financed and any attached warranty products."

For the complete inventory of CDK Global tools, schemas, and required parameters, review the [CDK Global integration page](https://truto.one/integrations/detail/cdkglobal).

## Workflows in Action

AI agents excel when they chain multiple tools together to complete a business objective. Here are two real-world workflows demonstrating how ChatGPT navigates the CDK Global API via MCP.

### Scenario 1: The Service Drive Intake

**Persona:** Service Advisor / Dealership Automation Bot

> "A customer named Sarah Connor just pulled into the service bay with her 2019 Toyota Tacoma. Her phone number is 555-0199. Find her profile, locate her vehicle in the system, check if we have part number 'OIL-FIL-99' in stock, and generate a new repair order for an oil change. Inbound mileage is 62,000."

**Tool Execution Sequence:**
1. **`cdk_global_customers_search`**: The agent searches for `phone: 555-0199` to retrieve Sarah's `customerId`.
2. **`list_all_cdk_global_service_vehicles`**: The agent queries the vehicles associated with that customer to retrieve the `vehicleId` for the Tacoma.
3. **`cdk_global_parts_search`**: The agent checks the inventory for part `OIL-FIL-99` to ensure it's available.
4. **`create_a_cdk_global_service_repair_order`**: Armed with the `customerId`, `vehicleId`, and part availability, the agent constructs the JSON body and creates the Repair Order, returning the newly generated `roNumber` to the user.

```mermaid
sequenceDiagram
    participant User as Service Advisor
    participant GPT as ChatGPT
    participant MCP as Truto MCP
    participant CDK as CDK API

    User->>GPT: Find Sarah Connor & create RO for oil change
    GPT->>MCP: Call cdk_global_customers_search
    MCP->>CDK: GET /customerpost/v1/search?phone=5550199
    CDK-->>MCP: Returns customer ID
    MCP-->>GPT: Customer ID: 9942
    GPT->>MCP: Call create_a_cdk_global_service_repair_order
    MCP->>CDK: POST /repair-orders/ (payload)
    CDK-->>MCP: RO Created (ID: RO-883)
    MCP-->>GPT: Success
    GPT-->>User: Repair order RO-883 created successfully.
```

### Scenario 2: F&I Sales Reconciliation

**Persona:** Dealership General Manager

> "I need a summary of all closed F&I sales from yesterday. Start the export job, wait for it to finish, pull the results, and list the top 3 deals by total profit."

**Tool Execution Sequence:**
1. **`cdk_global_closed_fi_sales_exports_start`**: The agent initiates the long-running async job for the specified date range. Truto passes back the HTTP 202 response containing `operationId: "op-773"`.
2. **`get_single_cdk_global_fi_sales_operation_by_id`**: The agent polls the status endpoint using `id: "op-773"`. If it returns `status: "received"`, the agent waits (using its internal logic) and tries again. Once it returns `status: "complete"`, the agent proceeds.
3. **`list_all_cdk_global_fi_sales_operation_results`**: The agent fetches the actual array of deals using `operation_id: "op-773"`.
4. The LLM processes the returned JSON array in-memory, sorts the deals by profit margin, and presents the formatted summary to the General Manager.

## [Security and Access Control](https://truto.one/mcp-server-security-best-practices/)

Giving an AI agent access to sensitive dealership data requires strict governance. Truto MCP servers support several layers of configuration to limit the blast radius of LLM tool calls:

*   **Method Filtering:** By defining `methods: ["read"]` during server creation, you can strictly prevent the LLM from executing `create`, `update`, or `delete` operations. It will only see read-only tools in its context.
*   **Tag Filtering:** You can restrict the server to specific resource silos. Passing `tags: ["repair_orders"]` ensures the agent cannot access F&I sales or employee records.
*   **Mandatory Authentication:** By setting `require_api_token_auth: true`, possession of the MCP URL is no longer enough. The client (e.g., your custom backend proxying to ChatGPT) must also pass a valid Truto API bearer token in the headers.
*   **Time-to-Live (TTL):** You can set an `expires_at` timestamp. Once reached, Truto automatically destroys the token and schedules cleanup tasks, ensuring temporary AI environments do not leave orphaned credentials behind.

## Orchestrating Dealerships with AI

Integrating with CDK Global has traditionally meant building custom polling loops, writing schema parsers, and dealing with aggressive rate limit headers. By mapping CDK's documentation directly into MCP JSON-RPC definitions, Truto eliminates the API maintenance burden entirely.

Your engineering team can focus entirely on prompt engineering and agent orchestration, rather than untangling DMS object relationships or figuring out why a bulk export operation failed. Whether you are building internal Slack bots for service advisors or automated reconciliation tools for the finance department, auto-generated MCP tools give your LLMs immediate, secure access to real-time dealership data.
