DatriseAI-first ETL

Referral Saasquatch to PlanetScale Integration

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

How Datrise loads Referral Saasquatch into PlanetScale

Datrise syncs Referral Saasquatch's users, referrals, rewards, programs, redemptions, and account balances 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

Referral Saasquatch: Referral and loyalty program tracking.

PlanetScale: Serverless MySQL platform with safe schema workflows.

How Referral Saasquatch entities map to PlanetScale

Referral Saasquatch entityPlanetScale objectNotes
usersreferral_saasquatch_usersid PK · custom fields → JSON columns
referralsreferral_saasquatch_referralsid PK · linked to referral_saasquatch_users
rewardsreferral_saasquatch_rewardsid PK · linked to referral_saasquatch_users
programsreferral_saasquatch_programsid PK · linked to referral_saasquatch_users

FAQ

How does Datrise handle Referral Saasquatch'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 Referral Saasquatch 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 Referral Saasquatch 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.