Flows
Relay
External service → external service. Transit data between two SaaS systems, optionally transforming on the way. Useful when one service needs another's data without staging it in your DB. Declare named variants (run modes), each independently schedulable with onError/onComplete hooks, and branch on `ctx.variant`. Tracked in the standard `khotan_runs` table — status, durations, batch counts, create/update/delete/fail tallies, plus a metadata JSON for component-specific stats. Toggle off with --no-runs.
eE → eL
stripe
T
transformslack
Install
$ npx khotan add relay <source> <destination>Variants
Named run modes, each independently schedulable with onError/onComplete hooks. The variant name is the mode — flow code branches on ctx.variant. Click a variant above to see the flow change, then select one when triggering.
await khotanData.flow('relay').start({ variant: 'full' })Documentation
See the full integration guide — schema, generated files, helper API, and configuration — in the Relay docs.