Integrazione BigCommerce + Brevo
BigCommerce + Brevo
Collega i dati del negozio BigCommerce alla piattaforma di engagement di Brevo tramite MCP. Sincronizza i clienti, attiva campagne basate sugli ordini, recupera i carrelli abbandonati e stimola gli acquisti ripetuti, tutto orchestrato da agenti IA in Claude.
Server MCP utilizzati
| Server | Pacchetto/URL | Autenticazione | Scopo |
|---|---|---|---|
| BigCommerce MCP | Server MCP della community | Token API (V3) | Clienti, ordini, prodotti, carrelli, canali |
| Brevo MCP | mcp.brevo.com/v1/brevo/mcp | Token | Contatti, campagne email, SMS, WhatsApp, tracciamento eventi |
Tip
BigCommerce espone una API REST V3 molto completa. Usa un server MCP della community oppure lo schema API personalizzata + Brevo per collegare i dati di BigCommerce a Claude insieme al server MCP di Brevo.
Configurazione
Passaggio 1: crea le credenziali API di BigCommerce
- Nell’amministrazione di BigCommerce, vai su Settings > API > API Accounts
- Crea un account API V3 con questi ambiti: Customers (lettura), Orders (lettura), Products (lettura), Carts (lettura)
- Annota Store Hash, Client ID e Access Token
Passaggio 2: collega entrambi i server 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" } }, "bigcommerce": { "command": "npx", "args": ["-y", "bigcommerce-mcp-server"], "env": { "BIGCOMMERCE_STORE_HASH": "your-store-hash", "BIGCOMMERCE_ACCESS_TOKEN": "your-access-token" } } }}Passaggio 3: verifica la connessione
Chiedi a Claude:
> How many customers does my BigCommerce store have?> How many contacts are in my Brevo account?Claude dovrebbe usare il server MCP di BigCommerce per la prima domanda e quello di Brevo per la seconda.
Caso d’uso 1: agente di sincronizzazione dei clienti
Sincronizza i clienti di BigCommerce con i contatti Brevo, cronologia degli acquisti inclusa:
---name: bigcommerce-customer-syncdescription: Sync BigCommerce customers to Brevo contacts with order dataversion: 1.0.0temperature: 0.1tools: - bigcommerce - brevo_contacts - brevo_attributes - brevo_liststriggers: - schedule: "0 */6 * * *" - event: customer_created - event: order_completed---
# BigCommerce Customer Sync Agent
Synchronize customer data from BigCommerce to Brevo contacts.
## Strategy
1. Query BigCommerce for customers modified since last sync2. For each customer, fetch order history from BigCommerce3. Create or update Brevo contact with profile + commerce attributes4. Segment into Brevo lists: - New registrations → "Welcome Series" list - Repeat buyers (2+ orders) → "Loyal Customers" list - High-value (>$500 LTV) → "VIP" list - Inactive (no order in 90 days) → "Win-Back" list
## Field Mapping
| BigCommerce Field | Brevo Attribute ||------------------|-----------------|| email | EMAIL || first_name | FIRSTNAME || last_name | LASTNAME || phone | SMS || company | COMPANY || date_created | SIGNUP_DATE || orders_count (computed) | ORDER_COUNT || total_spent (computed) | TOTAL_SPENT || last_order_date (computed) | LAST_ORDER || customer_group_id | BC_SEGMENT || accepts_product_review_abandoned_cart_emails | OPT_IN |
## Rules- ONLY sync customers who have accepted marketing emails- NEVER overwrite Brevo data if BigCommerce field is empty- ALWAYS validate phone numbers to E.164 format before sync- Track events: bc_sync_success, bc_sync_errorCaso d’uso 2: agente per le campagne post-acquisto
Attiva sequenze post-acquisto personalizzate a partire dai dati degli ordini BigCommerce:
---name: bigcommerce-post-purchasedescription: Orchestrate post-purchase campaigns based on BigCommerce order eventsversion: 1.0.0temperature: 0.3tools: - bigcommerce - brevo_contacts - brevo_email_campaign_management - brevo_templates - brevo_sms_campaignstriggers: - event: order_completed - event: order_shipped---
# BigCommerce Post-Purchase Agent
When a BigCommerce order completes or ships, trigger the appropriate engagement sequence in Brevo.
## Sequence Logic
### First-Time Buyers1. Immediate: Order confirmation (transactional)2. Day 3: Welcome email with brand story and product care tips3. Day 7: How-to guide for purchased product category4. Day 14: Review request with direct link5. Day 30: Cross-sell based on purchased category
### Repeat Buyers1. Immediate: Order confirmation2. Day 3: Loyalty reward notification3. Day 14: "Restock" reminder if consumable product4. Day 21: Early access to new arrivals in preferred category
### High-Value Orders (>$200)1. Immediate: Premium order confirmation2. Day 1: Personal thank-you email3. Day 3: SMS with tracking + styling/usage tips4. Day 7: VIP program invitation
### Order Shipped1. Immediate: Shipping confirmation with tracking link2. +2 days: SMS tracking update3. +5 days (estimated delivery): "How's your order?" check-in
## Rules- ALWAYS check order status before sending, skip if cancelled/refunded- NEVER send marketing to customers who haven't opted in- Personalize with: product name, order number, customer first name- Use Brevo template variables for dynamic contentCaso d’uso 3: recupero dei carrelli abbandonati
Collega i dati dei carrelli BigCommerce alla messaggistica di Brevo:
---name: bigcommerce-cart-recoverydescription: Recover BigCommerce abandoned carts via Brevo email, SMS, and WhatsAppversion: 1.0.0temperature: 0.2tools: - bigcommerce - brevo_contacts - brevo_email_campaign_management - brevo_templates - brevo_sms_campaignstriggers: - event: cart_abandoned conditions: - cart_value: "> 30" - time_since_activity: "> 1h"---
# BigCommerce Cart Recovery Agent
Monitor BigCommerce abandoned carts and execute recovery sequences through Brevo.
## Recovery Sequence
1. **+1 hour**: Reminder email with cart contents and product images2. **+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 > $150 and no recovery → WhatsApp with personal message
## Cart Data to Include- Product images and names (from BigCommerce)- Cart total with currency formatting- Direct checkout recovery URL- Discount code (generated dynamically for step 3)
## Rules- NEVER send to customers who already completed checkout- ALWAYS check cart status before each step- Maximum 4 touchpoints per abandoned cart- Respect opt-out preferences per channelEsempio: orchestrazione in linguaggio naturale
Con entrambi i server MCP collegati:
You: "Find BigCommerce customers who bought more than twice in the last 3 months but aren't in my Brevo 'Loyal Customers' list. Add them and trigger a loyalty reward email."
Claude: Querying BigCommerce for repeat customers...[Uses bigcommerce MCP to fetch customers with 2+ orders in last 90 days]
Found 67 repeat customers.Checking Brevo list membership...[Uses brevo_contacts to check "Loyal Customers" list]
29 customers are missing from the list. Processing...[Creates/updates 29 contacts with ORDER_COUNT and TOTAL_SPENT][Adds 29 to "Loyal Customers" list][Triggers loyalty reward email template]
Done:- 29 customers added to "Loyal Customers" list- Loyalty reward emails sent to all 29- ORDER_COUNT and TOTAL_SPENT attributes updated- 38 were already in the list (skipped)Passaggi successivi
- Server MCP di Brevo, elenco completo dei moduli MCP di Brevo
- Specifica degli agenti, personalizza il comportamento degli agenti
- Shopify + Brevo, l’integrazione con Shopify
- API personalizzata + Brevo, crea connettori per qualsiasi piattaforma