hubspot-sync
Syncs HubSpot companies, contacts, and deals. Keep in dry-run until client-matching decisions are settled — see the HubSpot connector page for the alias-matching gap this function's write path is gated behind.
{ "dryRun": true, "fullScan": true }
fullScan: true reports the true match rate across the whole portal, not just an incremental
view. The real write path additionally requires the edge secret
HUBSPOT_SYNC_WRITES_ENABLED=true.
Where the code lives
sable-agents-demo/supabase/functions/hubspot-sync/index.ts