# Sync NetSuite customers to Salesforce accounts & contacts: n8n workflow

> Started by a clock, and works across Salesforce. 16 steps, 2 branches: a working afternoon to understand properly.

Source: https://millionrounds.com/workflow/sync-netsuite-customers-to-salesforce-accounts-and-contacts (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [CRM](https://millionrounds.com/workflows?category=CRM#library)

# Sync NetSuite customers to Salesforce accounts & contacts

Started by a clock, and works across Salesforce. 16 steps, 2 branches: a working afternoon to understand properly.

Medium

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fsync-netsuite-customers-to-salesforce-accounts-and-contacts)

**16 steps** Medium: a working afternoon

**2** Branches: places the flow splits

**0** Loops or waits

**1** Service it connects to

## The flow

Starts it 1 Logic 9 Service 6

The steps in the order they run, from what starts it.

- 1 **Execute Workflow Daily** Schedule trigger *Starts it*
- 2 **NS: Customer - Get Delta records** Net Suite Rest *Service*
- 3 **Init Offset** Code *Logic*
- 4 **Has More Records?** If *Logic*
- 5 **Retrieve Paging Offset and LastExportDate** Code *Logic*
- 6 **Update LastExportDate** Code *Logic*
- 7 **NS: Customer - Get All records** Net Suite Rest *Service*
- 8 **Workflow is finished** No Op *Logic*
- 9 **Split Customers Array** Split Out *Logic*
- 10 **NS: Customer - Get record** Net Suite Rest *Service*
- 11 **Is Company?** If *Logic*
- 12 **SF: Create or Update Company Account** Salesforce *Service*
- 13 **SF: Create or Update Person's Account** Salesforce *Service*
- 14 **Merge Company/Contact Results** Merge *Logic*
- 15 **SF: Create or Update Contact** Salesforce *Service*
- 16 **Update Paging Offset and LastExportDate** Code *Logic*

## How it's built

- **Starts on:** A clock
- **Steps:** 16, with 2 branches
- **Size:** Medium: a working afternoon
- **Connects to:** Salesforce
- **Model:** None. This is plumbing, not judgement

## Questions

What does it need to run?

An n8n account, plus your own Salesforce account. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a clock.

Does it use AI?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

Plan an afternoon. 16 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 16 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fsync-netsuite-customers-to-salesforce-accounts-and-contacts)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Salesforce](https://millionrounds.com/workflows?service=Salesforce#library)

## Workflows like it

Also crm, with the same services where possible, closest in size first.

- [**Route Placetel AI Voice Agent calls to Salesforce CRM** 16 steps · Salesforce](https://millionrounds.com/workflow/route-placetel-ai-voice-agent-calls-to-salesforce-crm)
- [**Score Salesforce playbook compliance with Google Sheets** 16 steps · calls a model · Google Sheets, Salesforce](https://millionrounds.com/workflow/score-salesforce-playbook-compliance-with-google-sheets)
- [**Detect and escalate Salesforce bottlenecks with Gemini** 17 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/detect-and-escalate-salesforce-bottlenecks-with-gemini)
- [**Predict deal close dates and update Salesforce with Groq** 17 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/predict-deal-close-dates-and-update-salesforce-with-groq)
- [**Back up Salesforce records to Google Drive CSV** 14 steps · Gmail, Google Drive](https://millionrounds.com/workflow/back-up-salesforce-records-to-google-drive-csv)
- [**Automate weekly timesheet reporting with Salesforce and OpenAI** 18 steps · calls a model · Gmail, Salesforce](https://millionrounds.com/workflow/automate-weekly-timesheet-reporting-with-salesforce-and-open)
