AI & Integrations

CRM Integrations

Sync leads and events with your CRM. When a lead replies, opens, or clicks, Cleanmails can automatically create or update records in your CRM.

Supported CRMs

CRMConnection MethodStatus
HubSpotOAuthSupported
SalesforceOAuthSupported
PipedriveOAuthSupported
GoHighLevelOAuthSupported
Zoho CRMOAuthSupported
CloseAPI KeySupported
FreshsalesAPI KeySupported

Connecting a CRM

  1. Go to Settings → Integrations → CRM
  2. Select your CRM provider
  3. For OAuth CRMs: complete the authorization flow
  4. For API Key CRMs: enter your API key

Integration Rules

After connecting, set up rules that define what happens when events fire:

EventExample Action
email.repliedCreate a deal in Pipedrive
email.openedUpdate lead status in HubSpot
email.clickedAdd tag in GoHighLevel
lead.unsubscribedUpdate contact in Salesforce

Field Mapping

Map Cleanmails lead fields to your CRM's fields. Each CRM has pre-configured default fields (email, first name, last name, company, phone, etc.) that you can customize.

Token security

All OAuth tokens and API keys are encrypted with AES using your MASTER_KEY before storage. They are never exposed in API responses.

Testing

After connecting, use the Test button to verify connectivity. This sends a test ping to confirm your credentials are valid.