HubSpot Integration
The quote system automatically creates contacts in HubSpot CRM when quotes are submitted.
How It Works
- User submits quote form
- Data is validated
- Contact is created/updated in HubSpot
- Custom properties are set
- Contact is associated with quote data
Configuration
Set these environment variables:
HUBSPOT_PORTAL_ID=your-portal-id
HUBSPOT_FORM_ID=your-form-id
HUBSPOT_ACCESS_TOKEN=your-access-token
Custom Properties
The following custom properties are set:
quote_project_type- Selected project typequote_features- Selected featuresquote_complexity- Complexity levelquote_timeline- Delivery timelinequote_estimate_min- Minimum estimatequote_estimate_max- Maximum estimatequote_currency- Currency codequote_country- User's country
Contact Matching
The system attempts to match existing contacts by email address. If a contact exists, it's updated; otherwise, a new contact is created.