Salesforce Commerce Cloud + Brevo 연동
Salesforce Commerce Cloud + Brevo
MCP를 통해 Salesforce Commerce Cloud(SFCC) 스토어프런트 데이터를 Brevo의 인게이지먼트 플랫폼과 연결합니다. 고객을 동기화하고, 주문 라이프사이클 이벤트를 추적하고, 탐색 행동을 기반으로 리타기팅하고, 엔터프라이즈급 멀티채널 캠페인을 운영할 수 있습니다.
사용하는 MCP 서버
| 서버 | 패키지/URL | 인증 | 용도 |
|---|---|---|---|
| Salesforce MCP | @anthropic/salesforce-mcp | OAuth (Connected App) | 고객 레코드, 주문 데이터, 상품 카탈로그, 커스텀 오브젝트 |
| Brevo MCP | mcp.brevo.com/v1/brevo/mcp | 토큰 | 연락처, 이메일 캠페인, SMS, WhatsApp, 이벤트 추적, 딜 |
Tip
Salesforce의 MCP 서버는 SOQL을 통해 표준 오브젝트와 커스텀 오브젝트에 접근할 수 있게 해 줍니다. Brevo MCP와 함께 사용하면 SFCC 커머스 이벤트를 이메일, SMS, WhatsApp 전반의 실시간 인게이지먼트로 전환할 수 있습니다.
설정
1단계: Salesforce Connected App 구성하기
- Salesforce Setup에서 OAuth가 활성화된 Connected App을 생성합니다
api,refresh_token,offline_access스코프를 부여합니다- Consumer Key와 Consumer Secret을 기록해 둡니다
2단계: 두 MCP 서버 연결하기
{ "mcpServers": { "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" } }, "salesforce": { "command": "npx", "args": ["-y", "@anthropic/salesforce-mcp"], "env": { "SALESFORCE_INSTANCE_URL": "https://your-instance.salesforce.com", "SALESFORCE_CLIENT_ID": "your-consumer-key", "SALESFORCE_CLIENT_SECRET": "your-consumer-secret" } } }}3단계: 연결 확인하기
Claude에게 다음과 같이 물어보세요.
> Query Salesforce for the most recent 5 orders> How many contacts do I have in Brevo?Claude는 첫 번째 질문에 Salesforce MCP를, 두 번째 질문에 Brevo MCP를 사용해야 합니다.
활용 사례 1: 고객 동기화 에이전트
SFCC 고객 프로필을 전체 커머스 데이터와 함께 Brevo 연락처로 동기화합니다.
---name: sfcc-customer-syncdescription: Sync Salesforce Commerce Cloud customers to Brevo with order historyversion: 1.0.0temperature: 0.1tools: - salesforce - brevo_contacts - brevo_attributes - brevo_liststriggers: - schedule: "0 */4 * * *" - event: customer_created - event: order_completed---
# SFCC Customer Sync Agent
Synchronize customer data from Salesforce Commerce Cloud to Brevo contacts.
## Strategy
1. Query SFCC for customer profiles updated since last sync via SOQL: `SELECT Id, Email, FirstName, LastName, Phone, CreatedDate FROM Contact WHERE LastModifiedDate > {last_sync}`2. For each customer, query related order data: `SELECT TotalAmount, OrderNumber, Status, CreatedDate FROM Order WHERE AccountId = '{account_id}' ORDER BY CreatedDate DESC`3. Create or update Brevo contact with profile + commerce attributes4. Segment into Brevo lists based on purchase behavior: - New registrations → "Welcome Series" list - Active buyers (order in last 30 days) → "Active Customers" list - High-value (>$1000 LTV) → "VIP" list - Lapsed (no order in 90+ days) → "Win-Back" list
## Field Mapping
| SFCC Field | Brevo Attribute ||-----------|-----------------|| Email | EMAIL || FirstName | FIRSTNAME || LastName | LASTNAME || Phone | SMS || MailingCountry | COUNTRY || Account.Name | COMPANY || Total Orders (computed) | ORDER_COUNT || Total Revenue (computed) | TOTAL_SPENT || Last Order Date | LAST_ORDER || Customer Tier (custom) | SFCC_TIER || Preferred Language | LANGUAGE |
## Rules- ONLY sync contacts with valid email and marketing consent- NEVER overwrite Brevo data if SFCC field is null- ALWAYS validate phone to E.164 format- Compute ORDER_COUNT and TOTAL_SPENT from order history- Track events: sfcc_sync_success, sfcc_sync_error활용 사례 2: 주문 라이프사이클 캠페인 에이전트
SFCC 주문 상태 변경을 기준으로 멀티채널 캠페인을 실행합니다.
---name: sfcc-order-lifecycledescription: Orchestrate engagement campaigns based on SFCC order lifecycle eventsversion: 1.0.0temperature: 0.3tools: - salesforce - brevo_contacts - brevo_email_campaign_management - brevo_templates - brevo_sms_campaignstriggers: - event: order_placed - event: order_shipped - event: order_delivered - event: order_cancelled - event: order_refunded---
# Order Lifecycle Campaign Agent
Monitor SFCC order status transitions and trigger the appropriate engagement in Brevo.
## Sequence Logic
### Order Placed1. Immediate: Transactional order confirmation email2. +2 hours: SMS with order number and estimated delivery3. Track event: order_placed with order value
### Order Shipped1. Immediate: Shipping confirmation with tracking link2. +1 day: SMS with tracking update3. Track event: order_shipped
### Order Delivered1. +2 days: Product review request email2. +7 days: Cross-sell recommendations based on purchased category3. +14 days: Replenishment reminder (if consumable product)4. +30 days: Loyalty program invitation (if order > $100)
### Order Cancelled1. Immediate: Cancellation confirmation email2. +1 day: "Still looking?" email with similar products3. Track event: order_cancelled with reason
### Order Refunded1. Immediate: Refund confirmation with timeline2. +3 days: Feedback survey3. +7 days: Win-back offer (10% discount)4. Track event: order_refunded with amount
## Rules- ALWAYS check current order status before sending (avoid stale triggers)- NEVER send marketing messages for cancelled/refunded orders until feedback step- Personalize with: customer name, order number, product names, tracking URL- Respect channel preferences: check SMS and WhatsApp opt-in before sending- Multi-language: use LANGUAGE attribute to select correct template활용 사례 3: 행동 기반 리타기팅 에이전트
SFCC의 탐색 및 장바구니 데이터를 활용해 Brevo에서 리타기팅을 실행합니다.
---name: sfcc-behavioral-retargetdescription: Retarget SFCC visitors based on browse and cart behavior via Brevoversion: 1.0.0temperature: 0.2tools: - salesforce - brevo_contacts - brevo_email_campaign_management - brevo_templates - brevo_sms_campaignstriggers: - event: cart_abandoned conditions: - cart_value: "> 50" - time_since_activity: "> 1h" - event: product_viewed conditions: - view_count: "> 3"---
# Behavioral Retargeting Agent
Use SFCC commerce events to trigger targeted recovery and engagement sequences in Brevo.
## Abandoned Cart Recovery
1. **+1 hour**: Reminder email with cart contents, product images, and checkout link2. **+24 hours**: If no open → SMS with short link to cart3. **+48 hours**: If no recovery → Email with 10% discount code4. **+72 hours**: If cart > $200 → WhatsApp with personal message from support
## Browse Abandonment (3+ views, no cart)
1. **+4 hours**: "Still browsing?" email with viewed products2. **+48 hours**: Related products email based on viewed categories3. **+7 days**: Category sale notification if products go on promotion
## Product Data to Include
| SFCC Data | Email Usage ||-----------|------------|| Product Name | Hero text, subject line || Product Image URL | Email hero image || Product Price | Price display || Category | Cross-sell matching || Inventory Status | Urgency messaging ("Only 3 left") || Cart Total | Value display, discount threshold || Checkout URL | CTA button link |
## Rules- NEVER send to customers who already completed checkout- ALWAYS check cart/order status before each step in sequence- Maximum 4 touchpoints per abandoned cart- Respect opt-out preferences per channel (email, SMS, WhatsApp)- Do not retarget if customer has made a purchase in last 48 hours예시: 자연어 오케스트레이션
두 MCP 서버를 모두 연결하면 실시간으로 오케스트레이션할 수 있습니다.
You: "Find all SFCC customers who placed orders over $200 last month but aren't in my Brevo VIP list. Add them and trigger the VIP welcome sequence."
Claude: Querying Salesforce Commerce Cloud for high-value orders...[Uses salesforce MCP with SOQL: SELECT Account.Email, SUM(TotalAmount) FROM Order WHERE CreatedDate = LAST_MONTH GROUP BY Account.Email HAVING SUM(TotalAmount) > 200]
Found 89 customers with $200+ orders last month.Checking Brevo VIP list membership...[Uses brevo_contacts to check list membership for each]
34 customers are not yet in the VIP list. Processing...[Updates 34 contacts with SFCC_TIER=VIP][Adds all 34 to "VIP" list in Brevo][Triggers VIP welcome email template for each]
Done:- 34 customers added to Brevo "VIP" list- VIP welcome email sequence triggered for all 34- SFCC_TIER attribute updated to "VIP"- 55 were already VIP members (skipped)다음 단계
- Brevo MCP 서버, Brevo MCP 모듈 전체 목록
- 에이전트 명세, 에이전트 동작 커스터마이징
- Shopify + Brevo, Shopify 연동
- Stripe + Brevo, 결제 이벤트 연동