n8nv1.3.0Productivity

Enterprise CRM Sync

Keep Salesforce and your internal data warehouse in lockstep — without the brittle middleware.

Overview

This workflow runs on a 5-minute trigger, polling both Salesforce and your SQL warehouse for record changes. A diff resolver decides which side wins (Salesforce as source-of-truth by default), and any conflicts are dropped into a Slack channel for human review. Error nodes auto-retry transient failures up to 3 times with exponential backoff.

Bidirectional Sync

Records flow both ways with a configurable winner-policy per object type.

Conflict Surfacing

When two systems disagree, the row goes to Slack with a one-click resolve action.

Setup Guide

1

Install n8n & import the workflow

Self-hosted or cloud — both work. Use the import button and paste the JSON, then map credentials.

npm install -g n8n
n8n start
2

Configure Salesforce OAuth

Create a connected app in Salesforce, enable refresh tokens, and paste client ID + secret into the n8n credential.

3

Point at your SQL warehouse

Update the SQL node host/db/user. The workflow ships with Postgres dialect — switch to MySQL by toggling the node type.