DatriseAI-first ETL

CallRail to PlanetScale Integration

AI-first ETL from CallRail into PlanetScale. Governed entities, incremental sync, typed landing tables.

How Datrise loads CallRail into PlanetScale

Datrise syncs CallRail's calls, trackers, form submissions, sources, call outcomes, and recordings into PlanetScale as a typed table per source entity. Flexible or custom fields land in JSON columns, and timestamps such as created, updated, and status changes are typed as DATETIME.

Sync is incremental: Datrise uses a watermark on updated-at, applied with INSERT … ON DUPLICATE KEY UPDATE, so re-runs update only what changed. Vitess sharding by tenant or entity key for very large tables. PlanetScale disallows foreign-key constraints by default, so Datrise models relationships by stable id columns rather than enforced FKs.

Ideal for horizontally scalable MySQL apps on Vitess.

Endpoints

CallRail: Call tracking and marketing attribution.

PlanetScale: Serverless MySQL platform with safe schema workflows.

How CallRail entities map to PlanetScale

CallRail entityPlanetScale objectNotes
callscallrail_callsid PK · custom fields → JSON columns
trackerscallrail_trackersid PK · linked to callrail_calls
form submissionscallrail_form_submissionsid PK · linked to callrail_calls
sourcescallrail_sourcesid PK · linked to callrail_calls

FAQ

How does Datrise handle CallRail's custom fields in PlanetScale?

Flexible values are stored as JSON columns, so new fields don't require a migration; strongly-typed fields — dates, numbers, and references — are promoted to native PlanetScale types.

How does the CallRail to PlanetScale sync stay up to date?

It runs incrementally — Datrise uses a watermark on updated-at, applied with INSERT … ON DUPLICATE KEY UPDATE.

Related pipelines

Early access

Connect CallRail to PlanetScale the easy way

Skip brittle scripts and manual exports. Join the waitlist to get a guided setup, AI-assisted mapping, and reliable incremental sync for this integration.