HubSpot Integration
Connect Muin to HubSpot CRM for AI-powered contract intelligence, automated deal enrichment, and renewal tracking that keeps deals current.
Muin’s HubSpot integration brings AI-powered contract intelligence directly into your CRM. Extract key terms from contracts, score risks, track renewals, and keep your deals enriched with real contract data—all automatically.
Integration Overview
What It Does
| Feature | Description |
|---|---|
| Contract Intelligence | AI extracts key terms from contract PDFs |
| Risk Scoring | Automatic scoring of contract risks |
| Deal Enrichment | Contract data syncs to deal properties |
| Renewal Tracking | Proactive alerts before deadlines |
| Timeline Events | Contract events logged in deal timeline |
Benefits
- Never miss a renewal - Automated deadline tracking
- Know your contracts - Key terms extracted and searchable
- Quantify risk - Every contract scored and prioritized
- Informed negotiations - Full visibility at renewal time
- Single source of truth - Contract data where deals live
Setting Up the Integration
Prerequisites
Before connecting:
- Active HubSpot account (Professional or Enterprise recommended)
- HubSpot admin access
- Muin admin permissions
- Contracts module enabled in Muin
Connecting HubSpot
- Navigate to Settings → Integrations
- Find HubSpot CRM and click Connect
- Sign in to your HubSpot account
- Authorize Muin to access HubSpot
- Select the hub (if multiple)
- Click Complete Setup
Initial Configuration
After connecting:
- Create custom properties - Muin auto-creates contract fields
- Configure workflows - Set up renewal notification workflows
- Map pipelines - Connect deal stages to contract lifecycle
- Test the connection - Upload a test contract to verify
Contract Intelligence
How It Works
Contract PDF → AI Extraction → Deal Enrichment → Workflow Triggers
│ │ │ │
Upload Extract terms Update HubSpot Alert on
to Muin and dates properties deadlines
What Gets Extracted
For each contract, AI identifies:
| Term | Description |
|---|---|
| Term Length | Contract duration |
| Auto-Renewal | Whether contract auto-renews |
| Notice Period | Required notice for non-renewal |
| Termination Rights | How contract can be terminated |
| Price Escalation | Allowed price increases |
| Payment Terms | When payment is due |
| Liability Cap | Maximum liability limits |
| SLA Terms | Service level guarantees |
Extraction Accuracy
Muin’s AI extraction achieves:
- High accuracy on standard contract formats
- Confidence scoring on each field
- Human review routing for low-confidence extractions
- Continuous improvement from corrections
Custom Deal Properties
Properties Created
When connected, Muin creates these custom properties:
| Property | Type | Description |
|---|---|---|
contract_risk_score | Number | 0-100 risk score |
contract_risk_level | Enum | High/Medium/Low |
contract_term_months | Number | Contract duration |
contract_end_date | Date | When contract ends |
auto_renewal | Checkbox | Whether auto-renews |
renewal_notice_days | Number | Days notice required |
renewal_notice_deadline | Date | Calculated deadline |
price_escalation_cap | Text | Max allowed increase |
termination_type | Enum | Convenience/For cause |
contract_analyzed | Checkbox | Has been processed |
muin_contract_id | Text | Link to Muin record |
Property Groups
Properties are organized in the “Muin Contract Intelligence” group for easy access in deal views and reports.
Risk Scoring
How Scoring Works
Each contract term contributes to the overall risk score:
RISK SCORE: 58/100 (Medium-High)
COMPONENT BREAKDOWN:
┌────────────────────────────────────────────┐
│ Factor │ Score │ Weight │ Impact │
├────────────────────────────────────────────┤
│ Termination Rights │ 60 │ 25% │ 15.0 │
│ Auto-Renewal │ 50 │ 20% │ 10.0 │
│ Price Escalation │ 55 │ 20% │ 11.0 │
│ Payment Terms │ 20 │ 10% │ 2.0 │
│ SLA Terms │ 40 │ 15% │ 6.0 │
│ Liability Cap │ 30 │ 10% │ 3.0 │
└────────────────────────────────────────────┘
TOTAL: 58.0
Risk Levels
| Score Range | Level | Meaning |
|---|---|---|
| 0-30 | Low | Favorable terms, minimal risk |
| 31-60 | Medium | Standard terms, some monitoring |
| 61-100 | High | Unfavorable terms, active management |
Using Risk Scores
Risk scores enable:
- Prioritizing contract reviews
- Triggering workflows for high-risk contracts
- Building dashboards by risk level
- Informing renewal negotiations
Timeline Events
What Gets Logged
Contract events appear in the deal timeline:
| Event | When Logged |
|---|---|
| Contract Analyzed | AI extraction complete |
| Risk Score Updated | Score changes |
| Renewal Alert | Approaching deadline |
| Notice Deadline Passed | Missed notice window |
| Contract Renewed | Renewal confirmed |
| Contract Terminated | Contract ended |
Event Details
Each timeline event includes:
- Event type and timestamp
- Relevant contract terms
- Link to full contract in Muin
- Recommended actions
Renewal Workflows
Suggested Workflows
Create HubSpot workflows based on contract data:
90 Days Before Notice Deadline:
- Create task for renewal review
- Notify deal owner
- Add to “Renewals Pending” list
Risk Score Above 60:
- Assign to senior account manager
- Create task for contract review
- Add internal note with risk details
Auto-Renewal Contract:
- Track notice deadline
- Send escalating reminders
- Alert if deadline missed
Workflow Triggers
Available triggers for workflows:
renewal_notice_deadlineis within X dayscontract_risk_scoreis greater than Xcontract_end_dateis within X daysauto_renewalis Truecontract_analyzedbecomes True
Deal-to-Renewal Pipeline
Pipeline Integration
Connect contract lifecycle to deal stages:
New Contract → Active → Renewal → Renewed/Churned
│ │ │ │
Analyzed Monitored Negotiation Outcome
recorded
Automatic Stage Updates
Configure automatic transitions:
- Move to “Renewal” stage 90 days before end
- Create renewal deal when contract renewed
- Update original deal on churn
Renewal Revenue Tracking
Track renewal metrics:
- Renewal rate by risk level
- Saved revenue from contested increases
- Lost revenue from missed renewals
Sync Settings
Sync Frequency
| Option | Description |
|---|---|
| Real-time | Updates immediately |
| Hourly | Batched every hour |
| Daily | Once per day |
What Syncs
Muin → HubSpot:
- Contract properties after analysis
- Risk score updates
- Timeline events
- Renewal alerts
HubSpot → Muin:
- Deal associations
- Owner assignments
- Deal stage changes
- Custom field updates
Conflict Resolution
When data conflicts:
- Muin contract data takes precedence
- Manual overrides flagged for review
- Sync history available for audit
Dashboard & Reporting
Contract Intelligence Dashboard
View in HubSpot:
- Total contracts analyzed
- Risk distribution (High/Medium/Low)
- Upcoming renewals
- Missed deadlines
Custom Reports
Build reports with contract properties:
- ARR by risk level
- Renewal outcomes by risk score
- Average contract term by segment
- Price escalation trends
Example Reports
High-Risk Contracts Renewing This Quarter:
- Filter: risk_level = “High” AND contract_end_date in quarter
- Group by: deal owner
- Show: deal value, risk score, notice deadline
Renewal Forecast with Risk Overlay:
- Pipeline weighted by risk score
- Highlights at-risk renewals
- Shows projected churn
Common Use Cases
1. Proactive Renewal Management
Goal: Never miss a renewal deadline
Setup:
- Connect HubSpot
- Upload all contracts to Muin
- Create workflow for 100-day reminder
- Track notice deadlines in dashboard
Result: Zero missed renewal windows
2. Risk-Based Account Management
Goal: Prioritize high-risk contracts
Setup:
- Enable risk scoring
- Create view filtered by risk level
- Route high-risk to senior managers
- Monthly risk review meeting
Result: Proactive management of risky contracts
3. Informed Renewal Negotiations
Goal: Better terms at renewal
Setup:
- Extract all contract terms
- Identify above-market clauses
- Build negotiation playbook
- Track negotiation outcomes
Result: Lower costs, better terms
Troubleshooting
”Connection Expired”
OAuth tokens expire periodically:
- Go to integration settings
- Click Reconnect
- Re-authorize access
- Connection restores
”Properties Not Appearing”
If custom properties don’t show:
- Check HubSpot permissions
- Verify property group created
- Refresh HubSpot page
- Contact support if persists
”Risk Score Not Updating”
If scores seem stuck:
- Verify contract was analyzed
- Check extraction confidence
- Review for manual review flag
- Re-run analysis if needed
”Timeline Events Missing”
If events don’t appear:
- Check deal association
- Verify sync is enabled
- Review timeline settings
- Confirm event type enabled
Security
Data Protection
- OAuth 2.0 authentication
- No HubSpot credentials stored
- Encrypted data transmission
- Audit logging of all syncs
Access Control
Control who can:
- Configure integration
- View contract data
- Trigger re-analysis
- Override risk scores
Disconnecting
To disconnect HubSpot:
- Go to Settings → Integrations → HubSpot
- Click Disconnect
- Confirm disconnection
- Custom properties remain, sync stops
Best Practices
Initial Setup
- Audit existing contracts - Gather all active contracts
- Batch upload - Process historical contracts
- Validate extraction - Review a sample
- Configure workflows - Set up alerts
Ongoing Management
- Upload promptly - Add new contracts immediately
- Review high-risk - Weekly risk review
- Track deadlines - Monitor renewal calendar
- Measure outcomes - Report on renewal rates
Next Steps
- Contract Intelligence - AI contract review, risk scoring, obligation tracking, and stopping revenue leakage