HubSpot + Brevo इंटीग्रेशन
HubSpot + Brevo
HubSpot के CRM डेटा को Brevo के एंगेजमेंट प्लेटफ़ॉर्म से कनेक्ट करें. कॉन्टैक्ट और डील डेटा के लिए HubSpot को अपना सोर्स ऑफ़ ट्रुथ बनाएं, और मल्टी-चैनल कैम्पेन चलाने के लिए Brevo का उपयोग करें, यानी ईमेल, SMS, व्हाट्सऐप.
उपयोग किए गए MCP सर्वर
| सर्वर | URL | ऑथ | उद्देश्य |
|---|---|---|---|
| HubSpot MCP | mcp.hubspot.com | OAuth/PKCE | CRM डेटा: कॉन्टैक्ट, कंपनियां, डील, टिकट, प्रोडक्ट, ऑर्डर (केवल पढ़ने के लिए) |
| Brevo MCP | mcp.brevo.com/v1/brevo/mcp | टोकन | कॉन्टैक्ट, ईमेल, SMS, व्हाट्सऐप, कैम्पेन, इवेंट ट्रैकिंग |
Caution
HubSpot का MCP सर्वर फ़िलहाल केवल पढ़ने के लिए है (BETA). आप HubSpot से CRM डेटा पढ़कर उसके आधार पर Brevo में कार्रवाई चला सकते हैं, लेकिन MCP के ज़रिए HubSpot में वापस नहीं लिख सकते. दोनों दिशाओं में सिंक के लिए, MCP कनेक्शन के साथ-साथ HubSpot के REST API का उपयोग करें.
सेटअप
चरण 1: HubSpot MCP ऑथ ऐप बनाएं
- HubSpot में, Development > MCP Auth Apps पर जाएं
- Create MCP auth app पर क्लिक करें
- अपना रीडायरेक्ट URL सेट करें (Claude Desktop टेस्टिंग के लिए:
http://localhost:6274/oauth/callback/debug) - अपनी Client ID और Client Secret नोट कर लें
चरण 2: दोनों MCP सर्वर कनेक्ट करें
उन टूल के लिए जो OAuth सपोर्ट करते हैं (Cursor, VS Code):
{ "mcpServers": { "hubspot": { "url": "https://mcp.hubspot.com/", "headers": { "Authorization": "Bearer your-hubspot-oauth-token" } }, "brevo": { "command": "npx", "args": [ "mcp-remote", "https://mcp.brevo.com/v1/brevo/mcp", "--header", "Authorization: Bearer ${BREVO_MCP_TOKEN}" ], "env": { "BREVO_MCP_TOKEN": "your-brevo-mcp-token" } } }}Tip
HubSpot MCP के लिए PKCE के साथ OAuth ज़रूरी है. Cursor जैसे टूल इसे मूल रूप से संभाल लेते हैं. Claude Desktop/Code के लिए, आपको टोकन अलग से लेना पड़ सकता है और उसे Bearer टोकन के रूप में भेजना होगा.
चरण 3: पुष्टि करें
> Show me my HubSpot deals in the Negotiation stage> How many contacts do I have in Brevo?उपयोग का मामला 1: CRM कॉन्टैक्ट सिंक एजेंट
HubSpot कॉन्टैक्ट को डील-स्टेज संवर्धन के साथ Brevo में सिंक करें:
---name: hubspot-contact-syncdescription: Sync HubSpot CRM contacts to Brevo with deal data enrichmentversion: 1.0.0temperature: 0.1tools: - hubspot - brevo_contacts - brevo_attributes - brevo_lists - brevo_segmentstriggers: - schedule: "0 */4 * * *"---
# HubSpot Contact Sync
Read contacts and associated deal data from HubSpot,sync to Brevo with enriched attributes for segmentation.
## Strategy
1. Query HubSpot for contacts modified since last sync2. For each contact, fetch associated deals and company3. Create/update Brevo contact with enriched data: - CRM lifecycle stage → Brevo attribute - Deal amount → Brevo attribute - Deal stage → Brevo segment4. Auto-segment in Brevo: - "SQL" contacts → Sales Qualified list - "Opportunity" contacts → Active Pipeline list - "Customer" contacts → Customer list
## Field Mapping
| HubSpot Property | Brevo Attribute ||-----------------|-----------------|| email | EMAIL || firstname | FIRSTNAME || lastname | LASTNAME || phone | SMS || lifecyclestage | LIFECYCLE_STAGE || hs_lead_status | LEAD_STATUS || company (associated) | COMPANY || deal amount (sum) | DEAL_VALUE || deal stage (latest) | DEAL_STAGE |
## Rules- NEVER sync contacts without email addresses- ALWAYS preserve existing Brevo data if HubSpot field is empty- Track sync with events: hubspot_sync_success, hubspot_sync_error- Log contact count per lifecycle stage for reportingउपयोग का मामला 2: डील-स्टेज कैम्पेन एजेंट
HubSpot की डील स्टेज बदलने पर Brevo कैम्पेन ट्रिगर करें:
---name: hubspot-deal-campaignsdescription: Trigger targeted Brevo campaigns when HubSpot deals change stagesversion: 1.0.0temperature: 0.3tools: - hubspot - brevo_contacts - brevo_email_campaign_management - brevo_templates - brevo_segmentstriggers: - schedule: "0 9 * * *"---
# Deal-Stage Campaign Agent
Monitor HubSpot deal stages and trigger appropriateengagement campaigns in Brevo.
## Stage-to-Campaign Mapping
| HubSpot Deal Stage | Brevo Action ||-------------------|--------------|| Appointment Scheduled | Send meeting prep email with company info || Qualified to Buy | Add to "Nurture" drip sequence || Presentation Scheduled | Send case study relevant to their industry || Decision Maker Bought-In | Send ROI calculator + pricing guide || Contract Sent | Send "What to expect" onboarding preview || Closed Won | Trigger welcome sequence + onboarding || Closed Lost | Add to "Win-back" sequence (30-day delay) |
## Rules- ONLY send to contacts associated with the deal- Check if contact has opted in to marketing before sending- One campaign trigger per deal stage change (no duplicates)- Log all campaign triggers for deal attributionउदाहरण: सामान्य भाषा में क्वेरी
You: "Find all HubSpot deals that closed this month and make sure those contacts are getting our onboarding email sequence in Brevo."
Claude: Querying HubSpot for deals closed this month...[Uses hubspot MCP to search deals with closeddate in current month]
Found 12 deals closed this month, involving 18 contacts.Checking Brevo for these contacts...[Uses brevo_contacts to look up each email]
Results:- 14 contacts already in Brevo and receiving onboarding sequence- 4 contacts not yet in Brevo
Creating 4 new Brevo contacts and adding to onboarding list...[Uses brevo_contacts to create contacts][Uses brevo_lists to add to "Onboarding" list]
Done. All 18 contacts from this month's closed deals are nowin Brevo's onboarding sequence.अगले कदम
- Shopify + Brevo, ई-कॉमर्स इंटीग्रेशन
- Stripe + Brevo, पेमेंट इवेंट इंटीग्रेशन
- एजेंट स्पेसिफ़िकेशन, एजेंट के व्यवहार को कस्टमाइज़ करें