Flows
Outflow
Your Postgres → external service. Push computed audiences, scores, or enrichments out to Salesforce, HubSpot, Intercom. Replaces what people used to call reverse ETL. 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.
iE → eL
postgres
T
transformsalesforce
Install
$ npx khotan add outflow <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('outflow').start({ variant: 'full' })Documentation
See the full integration guide — schema, generated files, helper API, and configuration — in the Outflow docs.