Integrations Feature Documentation

Connect with popular email marketing platforms

Features

Overview

The Integrations feature allows users to connect Lystica with popular email marketing platforms to sync campaigns, contacts, lists, and events. This enables seamless data flow between Lystica and other marketing tools.

Supported Platforms

Currently Supported

Omnisend

Ecommerce email & SMS marketing automation

HubSpot

CRM, marketing, sales & customer service

MailChimp

All-in-one marketing platform

ActiveCampaign

Customer experience automation

ConvertKit

Email marketing for creators

Sendinblue

Email marketing & automation

Klaviyo

Ecommerce marketing automation

Constant Contact

Email marketing & online marketing

AWeber

Email marketing & automation

GetResponse

Online marketing platform

Drip

Ecommerce CRM & marketing automation

Campaign Monitor

Email marketing & automation

Features

Core Functionality

  1. Add Integrations - Connect new platforms using API credentials
  2. Manage Integrations - Edit, test, and delete existing integrations
  3. Sync Data - Automatic and manual synchronization options
  4. Connection Testing - Verify API credentials work correctly
  5. Sync Settings - Granular control over what data to sync

Sync Options

  • Contacts - Sync contact lists and subscriber data
  • Campaigns - Sync email campaigns and their status
  • Lists - Sync audience segments and groups
  • Events - Sync engagement events (opens, clicks, etc.)

User Interface

Studio Dashboard Card

  • Location: /dashboard/studio
  • Card Display: Shows integration status and quick access
  • Action: Links to integrations management page

Integrations Management Page

  • Location: /dashboard/studio/integrations
  • Features:
    • View all connected platforms
    • Add new integrations
    • Quick actions (test, sync, edit, delete)
    • Platform status indicators

Add Integration Page

  • Location: /dashboard/studio/integrations/new?platform={platform}
  • Features:
    • Platform-specific setup instructions
    • API credential input forms
    • Sync settings configuration
    • Links to platform documentation

Edit Integration Page

  • Location: /dashboard/studio/integrations/{id}/edit
  • Features:
    • Update API credentials
    • Modify sync settings
    • Test connection
    • Manual sync trigger
    • Activate/deactivate integration

Technical Implementation

Database Schema

integrations: {
  clerkUserId: Id<"clerkUsers">,
  platform: "omnisend" | "hubspot" | "mailchimp" | ...,
  platformName: string,
  apiKey?: string,
  apiSecret?: string,
  accessToken?: string,
  accountId?: string,
  webhookUrl?: string,
  isActive: boolean,
  isConnected: boolean,
  lastSyncAt?: number,
  syncEnabled: boolean,
  syncSettings: {
    syncContacts: boolean,
    syncCampaigns: boolean,
    syncLists: boolean,
    syncEvents: boolean,
  },
}

Setup Instructions

Getting Started

  1. Navigate to Dashboard > Studio > Integrations
  2. Click "Add Integration" and select your platform
  3. Follow the platform-specific setup instructions
  4. Enter your API credentials
  5. Configure sync settings
  6. Test the connection
  7. Activate the integration

Best Practices

  • Always test your integration after setup
  • Start with manual sync before enabling automatic sync
  • Monitor sync logs for any issues
  • Keep your API credentials secure and up to date
  • Review sync settings periodically to ensure they meet your needs
  • Use webhooks when available for real-time sync

Troubleshooting

Connection Failed

Check that your API credentials are correct and that your account has the necessary permissions.

Sync Not Working

Verify that sync is enabled and check the sync logs for error messages. API rate limits may also affect sync performance.

Missing Data

Ensure that the correct sync options are enabled and that the data exists in the source platform.