Set Up CRM Sync
CRM sync sends qualified Pragma leads to HubSpot, Pipedrive, or Salesforce.
Supported CRMs
- HubSpot
- Pipedrive
- Salesforce
Configure Credentials
- Open Integrations.
- Check the CRM status cards.
- Configure the required secrets:
- HubSpot:
HUBSPOT_TOKEN - Pipedrive:
PIPEDRIVE_API_TOKEN,PIPEDRIVE_COMPANY_DOMAIN - Salesforce: the
SALESFORCE_*variables used by your deployment
- HubSpot:
- Save and restart if values are server environment variables.
Sync a Lead
- Open Lead Inbox.
- Click a lead.
- Review context, language, and AI score.
- Choose CRM sync in the lead drawer.
- Check the CRM status on the lead afterwards.
curl -X POST https://app.mikemuellers.de/api/leads/42/sync/hubspot \
-H "Cookie: wcb_session=<your-session-cookie>"
Troubleshooting
- CRM not connected: a secret is missing or invalid.
- CRM returns 401: token expired or lacks permission.
- Lead not found: check workspace and lead ID.
- Duplicate CRM contact: review merge rules in the CRM.