Command Palette

Search for a command to run...

Назад к скиллам
скилл № 02560

crm-integration

CRM integration patterns for Close CRM, HubSpot, and Salesforce. Use when: Close CRM, HubSpot, Salesforce, CRM API, lead sync, deal sync, activity logging…

БесплатноБез исполняемых скриптов
manojbajaj95от manojbajaj95★ 118 звёзд на GitHub

Установить crm-integration в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Integrate with CRM platforms for sales automation workflows:
  1. Close CRM - Daily driver for SMB sales (simplest API, best value)
  2. HubSpot - Marketing + Sales alignment with rich ecosystem
  3. Salesforce - Enterprise requirements and complex workflows
  4. Cross-CRM Sync - Bidirectional sync with conflict resolution

Key deliverables:

  • API client setup with proper authentication
  • CRUD operations for leads, contacts, deals, activities
  • Webhook handlers for real-time sync
  • Pipeline automation and reporting

Workspace Context

Read bootstrap context before asking questions: strategy/brand.md for brand, audience, offer, channels, tools, constraints, and metrics; about/me.md for personal voice; content/ideas.md and content/calendar.md for content planning. Use legacy product-marketing context files only as fallback. Save generated drafts to content/<platform>/drafts/YYYY-MM-DD_short-topic-slug.md, and route durable learnings back to strategy/brand.md, about/me.md, or content/ideas.md.

Operating Contract

This skill is self-contained for its frontmatter scope: use its local instructions, references, scripts, and assets as the playbook; ask only for missing task-specific inputs; hand off to adjacent skills instead of expanding scope; and return an actionable artifact, decision, plan, draft, or diagnostic.

<quick_start> **Close CRM (API Key Auth):** ```python import httpx

class CloseClient: BASE_URL = "https://api.close.com/api/v1"

def __init__(self, api_key: str):
    self.client = httpx.Client(
        base_url=self.BASE_URL,
        auth=(api_key, ""),  # Basic auth, password empty
        timeout=30.0,
    )

def create_lead(self, data: dict) -> dict:
    response = self.client.post("/lead/", json=data)
    response.raise_for_status()
    return response.json()

def search_leads(self, query: str) -> list:
    response = self.client.post("/data/search/", json={
        "query": {"type": "query_string", "value": query},
        "results_limit": 100
    })
    return response.json()["data"]

Usage

close = CloseClient(os.environ["CLOSE_API_KEY"]) leads = close.search_leads("company:Coperniq")


**HubSpot (Python SDK):**
```python
from hubspot import HubSpot
from hubspot.crm.contacts import SimplePublicObjectInputForCreate

client = HubSpot(access_token=os.environ["HUBSPOT_ACCESS_TOKEN"])

# Create contact
contact = client.crm.contacts.basic_api.create(
    SimplePublicObjectInputForCreate(properties={
        "email": "[email protected]",
        "firstname": "Jane",
        "lastname": "Smith"
    })
)
print(f"Created: {contact.id}")

Salesforce (JWT Bearer):

import jwt
from datetime import datetime, timedelta

class SalesforceClient:
    def __init__(self, client_id: str, username: str, private_key: str):
        self.auth_url = "https://login.salesforce.com"
        self._authenticate(client_id, username, private_key)

    def _authenticate(self, client_id, username, private_key):
        payload = {
            "iss": client_id,
            "sub": username,
            "aud": self.auth_url,
            "exp": int((datetime.utcnow() + timedelta(minutes=3)).timestamp())
        }
        assertion = jwt.encode(payload, private_key, algorithm="RS256")

        response = httpx.post(f"{self.auth_url}/services/oauth2/token", data={
            "grant_type": "urn:ietf:params:oauth:grant-type:jwt-bearer",
            "assertion": assertion
        })
        self.access_token = response.json()["access_token"]
        self.instance_url = response.json()["instance_url"]
</quick_start><success_criteria> A CRM integration is successful when: - API authentication works without errors - CRUD operations complete for all entity types - Rate limits are respected (Close: 100 req/10s, HubSpot: varies by tier) - Webhooks fire and process correctly - Data syncs bidirectionally without duplicates </success_criteria><crm_comparison> ## Platform Comparison
Feature Close HubSpot Salesforce
Auth API Key OAuth 2.0 / Private App JWT Bearer
Rate Limit 100 req/10s 100-200 req/10s by tier 100k req/day
Best For SMB sales, simplicity Marketing + Sales Enterprise
Starting Price $49/user/mo Free (limited) $25/user/mo
API Access All plans Starter+ ($45+) All plans
Webhooks All plans Pro+ ($800+) All plans

Entity Mapping

Concept Close HubSpot Salesforce
Company lead company Account
Person contact contact Contact / Lead
Deal opportunity deal Opportunity
Activity activity engagement Task / Event
Custom Field custom.cf_xxx properties Field__c

Pipeline Stage Mapping

| Stage | Close | HubSpot | Salesforce

Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • config.json
  • reference/close-deep-dive.md

FAQ

Что делает скилл crm-integration?

CRM integration patterns for Close CRM, HubSpot, and Salesforce. Use when: Close CRM, HubSpot, Salesforce, CRM API, lead sync, deal sync, activity logging, CRM webhook, pipeline automation, contact enrichment.

Как установить скилл crm-integration?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл crm-integration запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить crm-integration с