Sync companies from Google Sheets to Salesforce with smart duplicate prevention
Needs changesWhat this workflow does
This workflow has 12 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Salesforce and Google Sheets.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Get row(s) in sheet (Google Sheets): uses Google Sheets
- Search Salesforce accounts (Salesforce): work with search
- Merge: merges the data from its input branches
- Account found? (If): checks a condition and branches into true / false
- Keep new companies (Merge): merges the data from its input branches
- Remove duplicate companies (Item Lists): reshapes item lists (legacy Item Lists node)
- Retrieve new company contacts (Merge): merges the data from its input branches
- Create Salesforce contact (Salesforce): create or update (contact)
- Set Account ID for existing accounts (Rename Keys): uses Rename Keys
- Create Salesforce account (Salesforce): work with account
…plus 1 more step. See the full node list below.
Services it uses
Other Salesforce + Google Sheets templates (20)
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- Item Lists (legacy) in Remove duplicate companies: replace with Split Out, Aggregate, Sort, Limit, Remove Duplicates or Summarize (match the operation used).
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
Published 2025 — 19% of 2025 templates need changes for 3.0. See how template age affects 3.0 readiness →
| Removed in 3.0 | Replace with |
|---|---|
| Item Lists (legacy) Remove duplicate companies | Split Out, Aggregate, Sort, Limit, Remove Duplicates or Summarize (match the operation used) |
Nodes used (8)
- Manual Trigger
n8n-nodes-base.manualTrigger - Salesforce
n8n-nodes-base.salesforce - If
n8n-nodes-base.if - Item Lists
n8n-nodes-base.itemLists - Rename Keys
n8n-nodes-base.renameKeys - Edit Fields (Set)
n8n-nodes-base.set - Google Sheets
n8n-nodes-base.googleSheets - Merge
n8n-nodes-base.merge
From the author
How it works Automatically imports company data from Google Sheets into Salesforce while intelligently preventing duplicate accounts. The workflow searches for existing companies, creates new accounts only when needed, and ensures all contact information is…