If you're searching for "how to connect Close CRM to OpenClaw", the real question is usually not just whether the connection is possible. It's how to make Close CRM usable inside an OpenClaw workflow with the right model, the right context, and the right level of control.
That's the practical framing.
OpenClaw gives you the orchestration layer: connectors, skills, tools, prompts, approvals, and the ability to run workflows where your team already works. Close CRM provides the domain context. The integration becomes valuable when those two pieces are connected cleanly.
Close CRM + OpenClaw: The Real Shape of the Integration
"Connect Close CRM to OpenClaw" resolves into one of three genuinely different builds, and they are not interchangeable. Close is a sales CRM with the communication channel baked into the record layer — calls, SMS, and email are activities attached to a lead, not a bolted-on integration. That design is why a Close connection is worth doing properly: an assistant that can read activity history and opportunity state answers the question reps actually ask ("what happened with this deal, and what should I do next?") without a human opening the CRM.
The three paths:
| Path | What it is | Auth | Runs unattended? |
|---|---|---|---|
| A. Close's official remote MCP server | Hosted endpoint at https://mcp.close.com/mcp |
OAuth 2.0 with Dynamic Client Registration, or a static API key header | Yes, with an API key |
| B. REST proxy you build | https://api.close.com/api/v1/ behind a tool you control |
API key (HTTP Basic, key as username) | Yes |
| C. Cody (managed OpenClaw) | Hosted assistant with the Close integration configured | Handled in the dashboard | Yes, nothing to run |
Path A is new and worth taking seriously. Path B is still the right answer when you need queries the MCP tool surface does not express. Path C is what most teams should try first. Below is what each actually costs you.

Path A: Close's Official Remote MCP Server
Close runs a first-party MCP server. The published facts:
- Endpoint:
https://mcp.close.com/mcp(note:/mcpis the path on themcp.close.comhost, it is not the same host as the REST API) - Transport: Streamable HTTP only. Close states plainly that SSE is not supported, so any older client that only speaks SSE cannot connect at all.
- Auth option 1 (recommended by Close): OAuth 2.0 with Dynamic Client Registration. You select the Close organization and permissions on Close's own consent page, and the client never sees a key.
- Auth option 2 (the one that matters for automation): an API key sent as a header, plus a second header that sets the scope.
That second header is the part most write-ups miss:
Close-API-Key: {{ Your Close API Key }}
Close-Scope: {{ mcp.read | mcp.write_safe | mcp.write_destructive }}
Close-Scope determines which tools are exposed, not just what they are allowed to do. A mcp.read connection does not have a disabled delete_lead tool — the tool is not registered at all. Each higher scope includes every tool from the lower ones.
The three scopes, concretely
Close publishes the per-scope tool list, and the split is useful because it maps onto a permission story you can actually defend in a security review:
mcp.read— search and read only.lead_search,find_leads,find_contacts,find_opportunities,find_notes,activity_search,fetch_email,fetch_sms,fetch_meeting_transcript,fetch_objects,list_objects,aggregate_objects,search(natural language),describe_fields,org_info,org_users.mcp.write_safe— everything in read, plus creates and updates:create_lead,create_contact,create_note,create_opportunity,create_task,create_comment, and — importantly —create_draft_email, which the docs describe as "saved as an unsent draft for the user to review, edit, and send from Close; it is never sent automatically."mcp.write_destructive— everything above, plus deletes and bulk operations:delete_lead,delete_contact,delete_opportunity,delete_note,delete_task,merge_leads,bulk_update_tasks,enrich_field.

There is no send-email tool at any scope. The most aggressive scope still cannot make the assistant send a message; the ceiling on outbound is a draft a human presses send on. That is a real architectural constraint, and it is good news for anyone worried about an agent emailing a customer unattended. If you want fully automated sending, you are back to Path B and writing the send call yourself — with all the consequences that implies.
Connecting it to OpenClaw
OpenClaw consumes MCP servers as tool sources. For a read-only, unattended connection — which is the correct starting scope for almost everyone — configure the remote server with the two headers, not OAuth:
{
mcp: {
servers: {
close: {
url: "https://mcp.close.com/mcp",
transport: "streamable-http",
headers: {
"Close-API-Key": process.env.CLOSE_API_KEY,
"Close-Scope": "mcp.read",
},
},
},
},
}
Why the API key and not OAuth: the OAuth flow is bound to whoever completes it in a browser. An unattended gateway that starts at boot cannot answer a consent screen at 3am. An API key lives in the process environment and works on the first request. Start read-only, run it for a week, then widen to mcp.write_safe only if the workflows you actually built need to write.
Two operational notes:
- Multiple Close organizations need multiple server entries with distinct keys — name them
close-acmeandclose-beta, notclosetwice. The API key is scoped to one organization, so a single entry cannot roam across orgs and will silently answer questions about the wrong company if you reuse one key for another org. - The scope header is not optional when using a key. Omitting
Close-Scopeis not "default to read" — expect the connection to fail or come up with an unexpected tool set. Set it explicitly, every time.
A cheap smoke test before you build anything: ask the assistant which organization it is connected to. Close ships org_info as a read tool for exactly this, and a wrong-org answer at minute one is far cheaper to find than a wrong-org pipeline report at month three.
Path B: The REST Proxy (when MCP is not enough)
The REST API is at https://api.close.com/api/v1/ with HTTP Basic auth: API key as the username, empty password. Useful for the cases MCP does not cover well:
- Sending email rather than drafting it
- Endpoint-level queries built around a filter MCP expresses only awkwardly
- Bulk exports where you want
_skip/cursor control in your own hands
Key endpoints: /lead (search and list), /lead/{id}/ (detail with contacts and activities), /activity/ (calls, emails, notes across leads), /opportunity/ (pipeline and stage). Close uses a _search parameter for flexible filtering on most list endpoints.
Build the skill file at ~/.openclaw/skills/close.md around your actual pipeline stage names. A generic "query opportunities" instruction produces generic answers; naming your stages ("Demo Scheduled", "Proposal Sent", "Verbal Yes") is what makes the assistant's output usable without translation.
Path C: Cody (Managed OpenClaw)
If the goal is a Close assistant in Slack for the whole sales team rather than an automation you maintain, Cody's Close CRM integration wires the same data into a hosted assistant: reps ask about lead history, opportunity risk, call and email activity, and next steps without anyone holding an API key. See Cody's pricing for what that costs versus maintaining Path A or B yourself.
Rate Limits: The Part That Bites Agents
Close's rate limiting has three properties that a naive integration gets wrong, all documented on Close's own rate-limits page:

1. Limits are enforced per endpoint group, not globally. Groups bundle URL paths and methods so Close can allow a higher limit on cheap reads than on expensive writes. A 429 therefore tells you which group you saturated, not that "the API is down" — and a bulk job that hammers one endpoint group can be throttled while the rest of your capacity sits idle.
2. Two layers: per API key, and per organization. The organization limit is currently 3x the per-key limit for the same group. The reasoning Close gives is explicit: three keys can each run at maximum, and a fourth key begins to contend for the org ceiling. Practical consequence: giving each agent or workflow its own API key does not multiply your throughput past 3x, and once you have four busy keys they start 429-ing each other while each one individually looks well under its limit. That failure mode is very hard to read from a single service's logs.
3. The headers changed. Close replaced x-rate-limit-limit, x-rate-limit-remaining, and x-rate-limit-reset with a single RateLimit header:
RateLimit: limit=100, remaining=50, reset=5
Any proxy you wrote against the old headers is now reading nothing and will not back off. Every 429 carries ratelimit and retry-after, and each 429 also has a rate_reset value in the body for the affected endpoint. Close recommends using rate_reset over retry-after as the more accurate wait.
One more honest caveat from the docs: some endpoints have stricter, unpredictable limits and can 429 even when your request rate is inside the published window. In those cases only rate_reset and retry-after are set, so a backoff routine that depends on the RateLimit header existing will crash there.
What Actually Goes Wrong
These are the failures specific to Close, in rough order of how often they cost people an afternoon:
-
An agent retries a 429 in a loop. There is no send tool to trip on, so the natural place for an agent to fail is a search that gets throttled, retried immediately, and throttled harder. Give the assistant an explicit retry policy in its instructions: honour
rate_reset, and stop after two attempts rather than retrying until something changes. -
Lead vs Contact vs Opportunity gets collapsed. Close's hierarchy is Leads (companies) → Contacts (people) → Opportunities (deals). An instruction like "find the deal for Acme" has to resolve through a lead before it can reach an opportunity, and a
find_contactscall will not match on the company name. Write the resolution order into the skill file. -
Name search does not do what people expect. In
find_leads, name matching hits the lead name only, not contact names, and matches the beginning of words. Asking "who is Jane at Acme" against a lead-name-only search returns nothing, and the assistant will confidently tell you Jane is not in the CRM. Search contacts explicitly. -
A big question gets answered by paging. "How many leads did we create last month?" invites the assistant to walk the list. Close's own tool docs say the opposite: use
aggregate_objectsfor counts and totals, because paging produces a number capped by however many pages the agent had patience for, presented with full confidence.aggregate_objectsgroups by up to two fields and supports time buckets. -
Filters combine with AND; IDs within a list combine with OR. This is documented on
list_objects, and an assistant that treats a list of status IDs as an AND returns zero rows for a perfectly valid question. -
Custom fields are the org's, not the model's. Your "deal size" is
custom.cf_AbCdEf123, not a field the model has ever seen.describe_fieldsandfind_opportunity_custom_fieldsexist so the agent can look the field up; without being told to, it will guess a plausible field name, get a validation error, and either give up or invent a value. -
The activity log is timezone-anchored.
activity_searchreturns date-descending results andfind_notificationsdefaults to "items in the inbox today." "Today" is per-user. A morning check run from a different user account than the rep's will report a different day. -
Meeting transcripts cover meetings, not calls.
fetch_meeting_transcripthandles Notetaker meeting transcripts; call transcripts come fromfetch_call, a different tool. An agent asked to summarise yesterday's calls that reaches for the transcript tool finds nothing and reports no calls. -
Drafts are not sends, and nobody told the user that. The assistant will happily say "I've emailed them" after
create_draft_email. It created a draft. Put the rule in the prompt: drafts are reported as drafts, and the human is named as the sender. -
Deletes are permanent and scoped to the org.
delete_leadremoves a company with everything attached to it. If you ever widen tomcp.write_destructive, do it on one dedicated integration key with a note in the skill file — not by editing the scope string on the key every workflow shares.
Five Workflows That Are Actually Worth Building
1. Morning pipeline standup (read-only).
"List my open opportunities closing in the next 14 days, sorted by close date. For each, give me the last activity date and type, and flag any with no activity in the past 7 days."
Uses find_opportunities with close-date range and activity_search filtered to the lead. The output is a triage list, not a wall of data.
2. "Where did this deal die?"
"Take lead [name]. Summarise every call, email, and note in date order, with one line each. Then tell me the last point at which next steps were agreed, and quote it."
The quote requirement is the whole trick: it forces the assistant to cite the activity rather than paraphrase a narrative, and paraphrase is where CRM assistants invent momentum that does not exist.
3. Inbox triage that never sends.
"For every inbox item from a known lead today, draft a reply that answers only what the email asks. Leave anything requiring pricing, a discount, or a commitment as a note for me instead."
Runs on find_notifications + create_draft_email + create_note. Draft-only means nothing leaves the building without a human, which is what lets you leave it on a schedule.
4. Contact-level lookup without the wrong-person answer.
"Search contacts named [name]. For each hit, show the lead, the lead status, and the last three activities on that lead."
Forces the contact-then-lead resolution explicitly. Compare the answer with what you get from "find [name] at [company]" and you will see immediately why the ordering matters.
5. Weekly activity aggregate, not a list.
"Count activities by type for each rep over the last 7 days, with a daily time bucket. Then tell me which rep has the widest gap between calls placed and calls connected."
aggregate_objects with two group-by fields and a time bucket. This is the query that a paging approach silently gets wrong, and it is the one a sales manager asks for every Monday.
Related Pages
- How to Connect HubSpot to OpenClaw — the other CRM most sales teams are choosing between
- How to Connect Pipedrive to OpenClaw — lighter pipeline-first CRM
- How to Connect Salesforce to OpenClaw — enterprise CRM, with a much heavier permission model
- Close CRM MCP — the MCP-specific walkthrough
- Close CRM AI assistant in Slack — Cody's managed version of this integration
What “Connect Close CRM to OpenClaw” Actually Means
In practice, connecting Close CRM to OpenClaw usually involves four layers:
- Authentication so OpenClaw can securely access Close CRM
- Tooling or proxy endpoints that expose the right Close CRM actions and data
- Skills/instructions that tell OpenClaw how to reason over Close CRM context
- Model selection so the assistant uses the right LLM for the job
That last piece matters more than most people expect.
Which Models Can You Use?
OpenClaw is model-flexible, so a Close CRM integration does not need to be tied to a single provider. Depending on your setup, teams commonly want to use:
- OpenAI models for broad reasoning, structured extraction, and tool use
- Anthropic models for writing, analysis, and long-context work
- Google models for multimodal and large-context workflows
- Other model backends if your OpenClaw environment exposes them
Model names and availability change frequently, so check your OpenClaw model catalogue rather than copying a version from a guide. The practical point is that you can connect Close CRM once, then choose a supported model for each workflow.
For example:
- Use Claude for nuanced summarisation or drafting
- Use OpenAI for structured extraction, tool-heavy workflows, or general-purpose copiloting
- Use Gemini when multimodal or very large context windows matter
A Good Integration Pattern for Close CRM
A strong Close CRM + OpenClaw setup usually looks like this:
- OpenClaw receives a request in chat or from an automation
- It calls the right Close CRM endpoint or proxy
- The selected model reasons over the returned context
- OpenClaw returns an answer, draft, classification, or action
- High-risk actions stay behind approvals or structured guardrails
That is what makes the setup operational rather than just experimental.
Step-by-Step: Connect Close CRM to OpenClaw
Step 1: Get Your Close API Key
Log into Close and go to Settings → Developer → API Keys. Create an API key. The Close REST API base URL is https://api.close.com/api/v1/. Authentication uses HTTP Basic with the API key as the username and an empty password.
Step 2: Use the Lead and Activity Endpoints
Key endpoints: /lead (search and list leads), /lead/{id}/ (lead detail with contacts and activities), /activity (log of all activities across leads — calls, emails, notes), /opportunity (deal pipeline and stage data). Close uses a _search query parameter on most list endpoints for flexible filtering.
Step 3: Build the Proxy and Skill File
Build your proxy around lead search and opportunity endpoints. Write ~/.openclaw/skills/close.md with your pipeline stage names and common query patterns. Close's activity log is particularly useful — include instructions for querying recent call/email activity for a specific lead.
Model-Specific Workflow Ideas
Close CRM + OpenAI
Use this when you want a strong general-purpose setup for extraction, classification, action planning, and tool-driven workflows around Close CRM.
Close CRM + Claude
Use this when you want better writing quality, clearer summaries, stronger nuance, and reliable long-context reasoning over Close CRM data.
Close CRM + Gemini
Use this when the workflow benefits from large context windows, multimodal inputs, or Google-native ecosystem alignment.
Common Mistakes
Most teams do not fail because the model is bad. They fail because:
- the Close CRM connection is too thin
- the model lacks the right live context
- prompts are vague
- no structured outputs are enforced
- permissions and approvals are skipped
- one model is forced to do every job, even when another would be a better fit
The best setup is usually one integration layer, multiple model options, and clear guardrails.
Challenges and Caveats
Lead vs Contact vs Opportunity Hierarchy
Close organises data as Leads (companies) → Contacts (people) → Opportunities (deals). Understanding this hierarchy is essential for writing a useful skill file. A query about "a deal" maps to Opportunities; "a person" maps to Contacts under a Lead.
Rate Limits Apply
Close's API has rate limits that vary by plan. For teams with many reps all using OpenClaw simultaneously, parallel queries can hit limits. Build retry logic and caching into your proxy.
Want Close CRM Connected to OpenClaw Without Building the Whole Stack Yourself?
Cody gives your team a Close CRM AI assistant in Slack, so reps can review lead history, opportunity risk, calls, emails, and next steps without wrangling API auth or custom CRM glue.
Related OpenClaw Guides
- How to Connect HubSpot to OpenClaw
- How to Connect Pipedrive to OpenClaw
- How to Connect Salesforce to OpenClaw
Looking for a more workflow-first angle? See: Close CRM AI Automation and Close CRM AI Assistant.
More Close CRM Resources
- Cody AI Assistant for Close CRM — Cody's dedicated Close CRM integration features and benefits