How it Works
AlgoBridge implements the same state machine, trigger names, and column conventions used by production Salesforce sync deployments. Migrate without changing a single query.
A PostgreSQL trigger (ab_{table}_logtrigger) captures every INSERT, UPDATE, and DELETE into
_trigger_log, storing the changed columns as an hstore diff — the standard format
for Salesforce sync.
The sync worker reads all
NEW
rows from
_trigger_log, marks them
PENDING, then batches to Salesforce via SOAP API (≤200 records) or Bulk API
(>200).
On success,
_ab_lastop
is set to
INSERTED
or
UPDATED. SF→PG writes back with
_ab_lastop = SYNCED, bypassing the trigger to prevent feedback loops.
Under the Hood
Every design decision follows production Salesforce sync conventions. Same trigger names, same column conventions, same API thresholds. Your existing SQL queries run unmodified.
Column diffs stored as hstore — the standard for Salesforce sync. Not JSONB.
CREATE EXTENSION IF NOT EXISTS hstore
applied automatically.
≤200 records → Salesforce SOAP API. >200 records → Bulk API v2. Batch size auto-selected per sync cycle.
Industry-standard state names. PENDING means in-flight. Records never silently dropped
— FAILED rows are retained with
_ab_err
populated.
Processed rows promoted to
_trigger_log_archive, purged after 31 days. Full audit trail, zero unbounded
table growth.
VARCHAR(18)
— lookup columns preserve SF ID directly
Why AlgoBridge
Not configurable — by design. The de facto standard for Salesforce sync is a fixed 10-second batch interval, and we follow it precisely. Predictable latency. No surprise API quota spikes. Production teams can plan around a known upper bound.
PostgreSQL credentials stored in AWS SSM Parameter Store as SecureStrings — never in env files. Bring your own Neon or RDS instance. Your data never leaves your VPC.
Trigger names, system table schemas, column naming, and
_ab_lastop
values match the AlgoBridge sync specification. Move to self-hosted sync without
touching your application queries.
For Developers
Every trigger, function, and column is named to match the de facto Salesforce sync spec. Tools that introspect your schema — BI systems, dbt, Metabase — see the same structure they expect.
ab_{table}_logtrigger
—
CDC trigger per mapped object
ab_{table}_status_trigger
—
Write-back guard (skips on sync)
_abmeta
—
Schema metadata table
sfid
VARCHAR(18)
—
SF ID stored directly, not FK
Pricing
No per-record fees. No Salesforce API surcharges. Pay for the sync engine — your API limits are your own.
Free
For individual developers and personal projects.
Get started freeStarter
For production teams syncing business-critical data.
Start free trialProduction
For large orgs with compliance, SLA, and dedicated infra needs.
Contact usPricing shown is our planned post-launch structure. While in beta, all features are available at no cost. Help us build the best Salesforce sync engine by testing and reporting issues.
Get free beta access →All plans include the full sync engine. No per-record fees. Cancel anytime.
AlgoBridge covers the standard sync pattern. But Salesforce integrations get complex fast — custom objects, multi-org routing, legacy middleware, compliance requirements. CloudAlgo builds those bespoke solutions for you.