Connectors
Connectors
Connectors are pre-built integrations that sync data between your platforms and Brevo. They handle authentication, data mapping, and real-time synchronization.
What are Connectors?
A Connector is a bi-directional data bridge that:
- Authenticates securely with external platforms
- Syncs Data in real-time or batch mode
- Maps Fields between platform schemas and Brevo
- Enables Skills to act on synchronized data
Available Connectors
E-commerce Platforms
Shopify Official
ShopifyComplete Shopify integration with customers, orders, products, and cart tracking
WooCommerce Official
WordPressWordPress/WooCommerce integration with REST API and webhook support
Magento
Adobe CommerceAdobe Commerce (Magento 2) integration for enterprise e-commerce
BigCommerce
BigCommerceBigCommerce storefront integration with multi-channel support
CRM Systems
Salesforce
SalesforceSalesforce CRM integration for leads, contacts, and opportunities
HubSpot
HubSpotHubSpot CRM integration for contacts, deals, and marketing automation
Pipedrive
PipedrivePipedrive CRM integration for persons, deals, and organizations
Payments
Stripe
StripeStripe payments integration for subscriptions, invoices, and transactions
PayPal
PayPalPayPal integration for transactions and payment events
Connector Architecture
graph LR A[Your Platform] <-->|OAuth/API Key| B[Tajo Connector] B <-->|Real-time Webhooks| C[Event Processing] C --> D[Field Mapping] D --> E[Brevo API] B <-->|Batch Sync| F[Scheduled Jobs] F --> DData Flow
- Authentication: Secure connection via OAuth 2.0 or API keys
- Real-time Events: Webhooks capture changes instantly
- Batch Sync: Scheduled jobs for historical data
- Field Mapping: Configurable mapping to Brevo attributes
- Brevo API: Data synced to contacts, events, and lists
Configuration
Basic Setup
connectors: shopify: enabled: true shop_url: "your-store.myshopify.com" api_key: "${SHOPIFY_API_KEY}" api_secret: "${SHOPIFY_API_SECRET}"
# Data sync settings sync: customers: true orders: true products: true carts: true
# Field mappings field_mapping: email: email first_name: FIRSTNAME last_name: LASTNAME total_spent: TOTAL_SPENTSync Modes
| Mode | Description | Use Case |
|---|---|---|
| Real-time | Instant sync via webhooks | Critical customer updates |
| Batch | Scheduled sync (hourly/daily) | Historical data, reports |
| Hybrid | Real-time + batch fallback | Best of both worlds |
Quick Start
1. Choose Your Connector
Select the connector for your platform from the catalog above.
2. Authenticate
Connect your platform using OAuth or API credentials:
tajo connectors connect shopify \ --shop-url your-store.myshopify.com \ --api-key $SHOPIFY_API_KEY3. Configure Field Mapping
Map platform fields to Brevo contact attributes:
field_mapping: email: email firstName: FIRSTNAME lastName: LASTNAME totalOrders: ORDER_COUNT totalSpent: TOTAL_REVENUE lastOrderDate: LAST_ORDER_DATE4. Enable Data Sync
Start syncing data:
tajo connectors sync shopify --full5. Activate Skills
Enable skills that use the synced data:
tajo skills enable abandoned-carttajo skills enable customer-syncCustom Connectors
Build your own connector for platforms not in the catalog:
Custom Connector
Any PlatformBuild a custom connector using the Tajo Connector SDK
Connector SDK
import { ConnectorSDK } from '@tajo/connector-sdk';
const connector = new ConnectorSDK({ name: 'my-platform', version: '1.0.0',
// Authentication auth: { type: 'oauth2', authorizationUrl: 'https://api.myplatform.com/oauth/authorize', tokenUrl: 'https://api.myplatform.com/oauth/token' },
// Data mappings resources: { customers: { endpoint: '/api/customers', mapping: { email: 'contact.email', name: 'contact.full_name' } } },
// Webhooks webhooks: { customer_created: '/webhooks/customer', order_placed: '/webhooks/order' }});
export default connector;Next Steps
- Shopify Connector - Get started with Shopify
- Data Mapping Guide - Learn field mapping
- Connector SDK - Build custom connectors
- Authentication Patterns - Secure your connections