Skip to content

Platform · Integrations

Replicate, don’t proxy.

Most scheduling tools call your CRM and calendar live during booking flows. FlexiScheduler replicates external data into its own DB — continuously, in the background — and reads locally during scheduling. No live API calls in the request path. No third-party outage taking down your scheduler.

The replication model

Why replication beats proxy.

External data is mirrored into the FlexiScheduler DB — initial full sync on first connection, then incremental delta syncs every five minutes plus webhook subscriptions for real-time updates.

Proxy modelWhat most tools do

Booking flow hits your CRM, calendar, and GPS APIs synchronously during a single user request. Slow APIs slow scheduling. Outages break booking. Rate limits become user-facing errors.

  • P99 latency = sum of all upstream P99s
  • Third-party outage = scheduling outage
  • Rate limits hit users, not the system
  • Complex queries impossible across sources
Replication modelWhat FlexiScheduler does

External data is synced into the FlexiScheduler DB on schedule. Scheduling decisions read locally. Third-party services can be slow or temporarily down — scheduling keeps running on the replicated state.

  • P99 dominated by FlexiScheduler, not third parties
  • Third-party outage = sync delay, not outage
  • Rate limits handled by sync layer
  • Joins across sources are local SQL

Three sync patterns

Initial sync, delta polling, and webhooks.

Most integrations use all three. The adapter declares which patterns it supports; FlexiScheduler schedules them according to template configuration.

Initial full sync

On first connection or recovery. Pulls every record from the source system. Runs in the background; can be paused and resumed. Bandwidth-throttled.

Webhook subscriptions

Source-pushed updates land in FlexiScheduler in seconds. Used for time-sensitive data — physician calendar updates, GPS position, payment confirmations.

Delta polling

Periodic incremental sync (every 5 min by default) catches anything webhooks missed. Belt-and-suspenders for systems without reliable push.

Replication flow

Source

External CRM / Calendar

3 patterns

Adapter

Per-source code

normalize

Sync queue

Backpressured workers

upsert

FlexiScheduler DB

Replicated mirror

Supported integrations

What we’ve already built adapters for.

Reference adapters that ship with FlexiScheduler. Most enterprise customers use 4–6 of these; the rest are available when you need them.

Calendar systems

  • Microsoft OutlookBi-directional sync
  • Google CalendarBi-directional sync
  • Apple iCloudRead-only sync
  • CalDAVBi-directional sync

CRM and EMR

  • NetSmart CareTrackerInbound + webhook
  • SalesforceBi-directional
  • Epic FHIRInbound
  • Custom adapterBuild your own

Communication

  • Twilio · SMSOutbound + two-way
  • SendGrid · EmailOutbound
  • SlackOutbound + interactive
  • WebhooksCustom outbound

Operations

  • Google MapsInbound · routing
  • GPS / fleetInbound · streaming
  • StripeBi-directional
  • Auth0 / OktaInbound · SSO

Custom adapters

Source not on the list? Build an adapter in an afternoon.

Adapters are TypeScript modules that implement ISourceAdapter. Three methods to implement: initial sync, delta sync, webhook handler. The integration framework handles queuing, retries, backpressure, and schema mapping.

Once registered, the adapter shows up in the Config Studio alongside built-in integrations. Customer admins enter credentials, set sync frequency, and watch the data flow.

Auto-handles retries and backpressure
Schema validation against FlexiScheduler entities
Credential storage encrypted per organization
Observability via standard tracing
adapters/CustomCrmAdapter.tstypescript
import { ISourceAdapter } from '@flexischeduler/integration-sdk';

export class CustomCrmAdapter implements ISourceAdapter {
  name = 'CustomCrmAdapter';
  version = '1.0.0';

  // Initial full sync on first connection
  async initialSync(ctx) {
    const records = await ctx.crm.fetchAll('/customers');
    return records.map(this.toEntity);
  }

  // Incremental delta sync (called every 5 min)
  async deltaSync(ctx, since: Date) {
    const updates = await ctx.crm.fetchUpdates({ since });
    return updates.map(this.toEntity);
  }

  // Webhook handler for real-time updates
  async handleWebhook(ctx, payload) {
    return [this.toEntity(payload.record)];
  }

  private toEntity(record): EntityChange {
    return {
      entity_type: 'participant',
      external_id: record.id,
      attributes: { name: record.full_name, /* ... */ },
    };
  }
}

Operational concerns

What happens when things go wrong.

The unglamorous infrastructure that keeps replicated data fresh, accurate, and recoverable. Boring is the goal.

Conflict resolution

When the same record changes in two places (e.g., a FlexiScheduler-created event edited in Outlook), conflicts surface to a queue with timestamps, diffs, and one-click resolution.

Sync recovery

Failed syncs retry with exponential backoff. After repeated failures, alerts fire. Manual full-resync available from the Config Studio with one click.

Backfill on schema change

When you add an attribute to an entity in your template, the integration framework can backfill historical records from the source. No data loss on schema evolution.

Replication isn’t free

You’re storing copies of external data, which has cost, freshness, and compliance implications. We work through the replication scope on the demo call — what data needs to come in, how often, with what retention. Most customers’ concerns are addressable; some are not.

Ready to wire it up

See the replication model on your real systems.

Thirty-minute walkthrough. We’ll connect a sandbox CRM and calendar, watch the initial sync, simulate an outage, and show what scheduling looks like during a third-party blip. Bring your integration list.