Đăng ký quyền truy cập sớm

Nhập tên của bạn cùng email hoặc số điện thoại. Chúng tôi sẽ liên hệ và gửi thông tin truy cập Tajo.

Tích Hợp HubSpot + Brevo

HubSpot + Brevo

Kết nối dữ liệu CRM của HubSpot với nền tảng tương tác Brevo. Sử dụng HubSpot làm nguồn dữ liệu tin cậy cho liên hệ và giao dịch, Brevo để thực thi chiến dịch đa kênh, email, SMS, WhatsApp.

Máy Chủ MCP Được Sử Dụng

Máy chủURLXác thựcMục đích
HubSpot MCPmcp.hubspot.comOAuth/PKCEDữ liệu CRM: liên hệ, công ty, giao dịch, vé, sản phẩm, đơn hàng (chỉ đọc)
Brevo MCPmcp.brevo.com/v1/brevo/mcpTokenLiên hệ, email, SMS, WhatsApp, chiến dịch, theo dõi sự kiện

Caution

Máy chủ MCP của HubSpot hiện chỉ đọc (BETA). Bạn có thể đọc dữ liệu CRM từ HubSpot và dùng nó để thực hiện các hành động trong Brevo, nhưng không thể ghi lại vào HubSpot qua MCP. Để đồng bộ hai chiều, hãy dùng REST API của HubSpot kết hợp với kết nối MCP.

Thiết Lập

Bước 1: Tạo Ứng Dụng HubSpot MCP Auth

  1. Trong HubSpot, đến Development > MCP Auth Apps
  2. Nhấp Create MCP auth app
  3. Đặt URL chuyển hướng của bạn (để thử nghiệm Claude Desktop: http://localhost:6274/oauth/callback/debug)
  4. Ghi lại Client IDClient Secret

Bước 2: Kết Nối Cả Hai Máy Chủ MCP

Đối với các công cụ hỗ trợ 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 yêu cầu OAuth với PKCE. Các công cụ như Cursor xử lý điều này một cách tự nhiên. Với Claude Desktop/Code, bạn có thể cần lấy token riêng và truyền nó dưới dạng Bearer token.

Bước 3: Xác Minh

> Show me my HubSpot deals in the Negotiation stage
> How many contacts do I have in Brevo?

Trường Hợp Sử Dụng 1: Tác Nhân Đồng Bộ Liên Hệ CRM

Đồng bộ liên hệ HubSpot sang Brevo với dữ liệu giai đoạn giao dịch được làm phong phú:

---
name: hubspot-contact-sync
description: Sync HubSpot CRM contacts to Brevo with deal data enrichment
version: 1.0.0
temperature: 0.1
tools:
- hubspot
- brevo_contacts
- brevo_attributes
- brevo_lists
- brevo_segments
triggers:
- 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 sync
2. For each contact, fetch associated deals and company
3. Create/update Brevo contact with enriched data:
- CRM lifecycle stage → Brevo attribute
- Deal amount → Brevo attribute
- Deal stage → Brevo segment
4. 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

Trường Hợp Sử Dụng 2: Tác Nhân Chiến Dịch Theo Giai Đoạn Giao Dịch

Kích hoạt chiến dịch Brevo dựa trên thay đổi giai đoạn giao dịch HubSpot:

---
name: hubspot-deal-campaigns
description: Trigger targeted Brevo campaigns when HubSpot deals change stages
version: 1.0.0
temperature: 0.3
tools:
- hubspot
- brevo_contacts
- brevo_email_campaign_management
- brevo_templates
- brevo_segments
triggers:
- schedule: "0 9 * * *"
---
# Deal-Stage Campaign Agent
Monitor HubSpot deal stages and trigger appropriate
engagement 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

Ví Dụ: Truy Vấn Ngôn Ngữ Tự Nhiên

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 now
in Brevo's onboarding sequence.

Các Bước Tiếp Theo

Đăng ký quyền truy cập sớm

Nhập tên của bạn cùng email hoặc số điện thoại. Chúng tôi sẽ liên hệ và gửi thông tin truy cập Tajo.

tự động nhận diện
Trợ lý AI

Xin chào! Hãy hỏi tôi về tài liệu.