🧪 Public Beta — Built for the Salesforce community. Report bugs or request features  ·  See what's planned. A stable production release is coming soon. Not for production data  ·  No liability for data loss  ·  Terms
Sync active — 12 objects
4,291 records synced
Next sync in 8s
Zero data loss
BIDIRECTIONAL SYNC
Open-Source Salesforce Sync Engine

Sync Salesforce
to PostgreSQL.
In Real Time.

Trigger-based, bidirectional Salesforce ↔ PostgreSQL sync with fixed 10-second batch intervals. A drop-in Heroku Connect alternative — self-hosted on your own infrastructure.

10s batch interval
SOAP + Bulk API
hstore change tracking
31-day archive

How it Works

Production-grade sync precision.
Running on your stack.

AlgoBridge implements the same state machine, trigger names, and column conventions used by production Salesforce sync deployments. Migrate without changing a single query.

1
Detect Change

Trigger fires on every write

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.

2
Sync Engine Polls

Every 10 seconds, exactly

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).

3
Confirm & Write Back

SF confirms, PG reflects

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

Sync as a structural
data layer.

Every design decision follows production Salesforce sync conventions. Same trigger names, same column conventions, same API thresholds. Your existing SQL queries run unmodified.

hstore Change Tracking

Column diffs stored as hstore — the standard for Salesforce sync. Not JSONB. CREATE EXTENSION IF NOT EXISTS hstore applied automatically.

SOAP + Bulk API Threshold

≤200 records → Salesforce SOAP API. >200 records → Bulk API v2. Batch size auto-selected per sync cycle.

State Machine: NEW → PENDING → SUCCESS

Industry-standard state names. PENDING means in-flight. Records never silently dropped — FAILED rows are retained with _ab_err populated.

31-Day Trigger Log Archive

Processed rows promoted to _trigger_log_archive, purged after 31 days. Full audit trail, zero unbounded table growth.

Salesforce
PostgreSQL
_trigger_log
id state _ab_lastop 8841 SUCCESS SYNCED 8842 PENDING PENDING 8843 NEW
sfid stored as VARCHAR(18) — lookup columns preserve SF ID directly

Why AlgoBridge

Everything a production sync engine provides.
Nothing you don't own.

Fixed 10-Second Cadence

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.

Your Infra, Your Keys

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.

Zero Migration Friction

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.

-- System tables created on connection
CREATE TABLE _trigger_log (
id SERIAL PRIMARY KEY,
txid BIGINT,
table_name TEXT,
record_id INTEGER,
sfid VARCHAR(18),
action TEXT,
state TEXT DEFAULT 'NEW',
values hstore
);
-- Trigger installed per mapped table
CREATE TRIGGER ab_contact_logtrigger
AFTER INSERT OR UPDATE OR DELETE
ON contact
EXECUTE FUNCTION ab_contact_logger();

For Developers

Named to the
de facto standard.

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

Simple, predictable pricing.

No per-record fees. No Salesforce API surcharges. Pay for the sync engine — your API limits are your own.

Free

Free /mo

For individual developers and personal projects.

Get started free
  • 1 workspace
  • Up to 3 mapped objects
  • 10,000 records/month
  • 10s sync interval
  • Community support
Popular

Starter

$25 /mo

For production teams syncing business-critical data.

Start free trial
  • Unlimited workspaces
  • Up to 10 mapped objects
  • 100,000 records/month
  • SOAP + Bulk API
  • 31-day audit archive
  • Team members + RBAC
  • API access + webhooks
  • Email support

Production

$75 /mo

For large orgs with compliance, SLA, and dedicated infra needs.

Contact us
  • Everything in Starter
  • Unlimited mapped objects
  • Unlimited records
  • Dedicated ECS Fargate deployment
  • SOC 2 audit support
  • Custom SLA + uptime guarantee
  • Slack + dedicated support engineer
🧪 Public Beta

Free during the beta period

Pricing 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.

Open Source · Self-Hosted · Production-Ready

Ready to Sync.

Connect your Salesforce org and PostgreSQL database in minutes. No third-party platform account required.

Create Free Account Read the Docs
CloudAlgo CloudAlgo Consulting

Need a custom
integration built?

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.

  • Custom Salesforce ↔ PostgreSQL mappings & field transforms
  • Multi-org sync architecture & routing
  • Private cloud & on-premise deployment support
  • HIPAA / SOC 2 compliance-aware integration design
Talk to CloudAlgo

Common Engagements

Custom Sync Logic

Field transforms, lookup resolution, conditional sync rules, and upsert logic beyond what standard mapping supports.

Full-Stack Data Platform

Salesforce as your system of record, PostgreSQL as the analytics layer — built, deployed, and maintained by CloudAlgo.

Ongoing Managed Support

Schema changes, API version upgrades, sync monitoring, and incident response — handled by the team that built the engine.

CloudAlgo

CloudAlgo

cloudalgo.com