Description

The HubSpot integration creates or forwards contact details from Kommander conversation events. The current integration service creates HubSpot CRM contacts when a conversation starts with a known user email.

Prerequisites

  • HubSpot account with CRM API access.
  • Private app token or OAuth token with contact write scope.
  • Conversation identity or capture flow that provides customer email.
  • Kommander integration record with type hubspot and active status.

Setup

Representative HubSpot setup screen with access token and contact sync test action.
HubSpot setup stores an API token and verifies contact creation with a test event.
  1. Create a HubSpot private app or approved OAuth app.
  2. Grant CRM contact write permissions.
  3. Copy the access token.
  4. Open Integrations > HubSpot in Kommander and save the token.
  5. Start a test conversation with a known email and confirm HubSpot receives the contact.

Architecture Diagram

Configuration

SettingRequiredNotes
HubSpot access tokenYesBearer token for CRM contact APIs.
Contact email sourceYesUsually signed widget identity or a trusted lead capture form.
Active flagYesDisabled integrations do not create contacts.

Limitations

  • Current flow creates contacts; it does not merge duplicates beyond HubSpot’s own rules.
  • Company, deal, and ticket creation require additional mappings.
  • Anonymous conversations do not create contacts because no trusted email is present.

Troubleshooting

  • If HubSpot returns 401, rotate the private app token.
  • If HubSpot returns a scope error, add CRM contact write permission.
  • If no contact is created, confirm the conversation event includes userEmail.
  • If names split incorrectly, provide structured first and last name fields in the event payload.