> crm-integrations
Comprehensive CRM webhook integrations for HubSpot, Salesforce, Pipedrive with bidirectional sync
curl "https://skillshub.wtf/tippyentertainment/skills/crm-integrations?format=md"Provided by TippyEntertainment
CRM Integrations
Comprehensive webhook integrations for major CRMs with bidirectional sync capabilities.
Supported CRMs
- HubSpot: OAuth 2.0 integration, contact sync, deal creation
- Salesforce: REST API integration, lead sync, opportunity creation
- Pipedrive: API token integration, person/deal sync
- Custom Webhooks: Generic webhook support for other CRMs
Features
- Bidirectional sync (leads in, scores out)
- Field mapping configuration
- OAuth 2.0 flow for HubSpot and Salesforce
- API token auth for Pipedrive
- Webhook receivers for real-time updates
- Rate limiting and retry logic
- Error handling and logging
Setup
HubSpot OAuth
- Create a HubSpot Developer Account
- Create a Public App in the Developer Dashboard
- Add redirect URL:
https://yourapp.com/oauth/hubspot/callback - Required scopes:
crm.objects.contacts.readcrm.objects.contacts.writecrm.objects.deals.readcrm.objects.deals.write
Salesforce OAuth
- Create a Connected App in Salesforce Setup
- Enable OAuth with scopes:
api,refresh_token,offline_access - Add callback URL:
https://yourapp.com/oauth/salesforce/callback
Pipedrive API Token
- Go to Settings > Personal preferences > API
- Generate API token
- Store securely
Parameters
crm: string (required) - CRM type: "hubspot", "salesforce", "pipedrive", or "custom"action: string (required) - Action: "sync_leads", "sync_contacts", "create_deal", "update_lead", "get_scores", "configure_webhook"data: object (required) - Data payload for the actionfield_mapping: object (optional) - Custom field mapping configuration
Returns
success: booleansynced_count: number - Number of records syncederrors: array - Any errors encountereddata: object - Response data from CRM
Usage Examples
Sync Leads from HubSpot
crmIntegrations({
crm: "hubspot",
action: "sync_leads",
data: {
limit: 100,
after: "cursor_token"
}
});
Create Salesforce Opportunity
crmIntegrations({
crm: "salesforce",
action: "create_deal",
data: {
name: "Enterprise Deal",
amount: 50000,
stage: "Proposal",
lead_id: "00QXXXXXXXXXXXX"
}
});
Sync Pipedrive Persons
crmIntegrations({
crm: "pipedrive",
action: "sync_contacts",
data: {
start: 0,
limit: 100
}
});
Push Scores to CRM
crmIntegrations({
crm: "hubspot",
action: "get_scores",
data: {
lead_ids: ["123", "456", "789"],
scores: {
"123": 85,
"456": 92,
"789": 67
}
}
});
Configure Custom Webhook
crmIntegrations({
crm: "custom",
action: "configure_webhook",
data: {
endpoint: "https://your-crm.com/webhook",
secret: "webhook_secret",
events: ["lead.created", "lead.updated", "deal.closed"]
}
});
Field Mapping
Configure custom field mappings between your system and CRM:
{
field_mapping: {
"email": "Email",
"first_name": "FirstName",
"last_name": "LastName",
"company": "Company",
"phone": "Phone",
"lead_score": "Lead_Score__c",
"custom_field": "Custom_Field__c"
}
}
API Endpoints
HubSpot
- Base URL:
https://api.hubapi.com - Contacts:
/crm/v3/objects/contacts - Deals:
/crm/v3/objects/deals - OAuth:
/oauth/v1/token
Salesforce
- Base URL:
{instance_url}/services/data/v61.0 - Leads:
/sobjects/Lead - Opportunities:
/sobjects/Opportunity - OAuth:
/services/oauth2/token
Pipedrive
- Base URL:
https://api.pipedrive.com/v1 - Persons:
/persons - Deals:
/deals - Organizations:
/organizations
Error Handling
All integrations include:
- Automatic retry with exponential backoff
- Rate limit handling
- Detailed error logging
- Graceful degradation
Webhook Events
Supported webhook events for bidirectional sync:
lead.created- New lead created in CRMlead.updated- Lead updated in CRMdeal.created- New deal/opportunity createddeal.updated- Deal stage changeddeal.won- Deal closed wondeal.lost- Deal closed lost
Security
- OAuth tokens stored encrypted
- API tokens never logged
- Webhook signature verification
- HTTPS only
- IP whitelisting support
> related_skills --same-repo
> worldclass-tailwind-v4-visual-design
A top-tier product/UI designer skill that uses Tailwind v4 plus Google Gemini Nano Banana image models to craft visually stunning, “award‑winning” marketing sites and apps with strong art direction, motion, and systems thinking.
> wasm-spa-autofix-react-imports
Meticulously detect and fix missing React/TSX imports, undefined components, and bundler runtime errors in the WASM SPA build/preview pipeline. Ensures JSX components, icons, and hooks are properly imported or defined before running the browser preview, so the runtime safety-net rarely triggers.
> vite-webcontainer-developer
Debug and auto-fix Vite projects running inside WebContainers: resolve mount/root issues, alias/path errors, missing scripts, and other common dev-time problems so the app boots cleanly.
> vite-config-react19-spa-expert
Diagnose and fix Vite + React 19 configuration issues for TypeScript SPA and WASM preview builds. Specializes in React 19’s JSX runtime, @vitejs/plugin-react, path aliases, SPA routing, and dev-server behavior so the app and in-browser preview bundle cleanly without manual trial-and-error.