Skip to main content

Sync NetSuite customers to Salesforce accounts & contacts with auto upserts

Workflow preview

Workflow preview
100%
Sync NetSuite customers to Salesforce accounts & contacts with auto upserts preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Short Description Automatically exports customer records from NetSuite and syncs them into Salesforce — creating or updating Accounts and Contacts depending on whether the NetSuite record represent...

Best for

  • CRM automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.if, n8n-nodes-netsuite-rest.netsuiterest, n8n-nodes-base.stickynote, n8n-nodes-base.salesforce, n8n-nodes-base.splitout, n8n-nodes-base.merge, n8n-nodes-base.noop, n8n-nodes-base.code

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Entech Solutions.

Original n8n.io source

1.1 Workflow description

Title
Sync NetSuite customers to Salesforce accounts & contacts with auto upserts
Workflow name
Sync NetSuite customers to Salesforce accounts & contacts with auto upserts

Short Description

Automatically exports customer records from NetSuite and syncs them into Salesforce — creating or updating Accounts and Contacts depending on whether the NetSuite record represents a company or an individual.

Who is this for / Use case

This template is designed for businesses and integration developers who:

  • Use NetSuite as their ERP or CRM system.
  • Need to automatically sync customer data (both companies and individuals) into Salesforce.
  • Want a reliable, scalable solution that supports pagination and upserts.
  • Prefer a ready-to-use, easily customizable workflow built on n8n.

How it works

  1. Initialize pagination offset.
  2. Fetch customer records from NetSuite in batches via REST API.
  3. Split the retrieved array into individual items.
  4. Check record type — company or individual.
  5. Upsert to Salesforce:
    1. For companies → creates/updates Account records.
    2. For individuals → creates/updates both Account and Contact (linked to the Account).
  6. Merge results from both branches.
  7. Update pagination offset for the next batch.
  8. Repeat until all records are processed, then end the workflow.

Setup / Configuration

  1. Import the workflow into your n8n instance.
  2. Set your NetSuite and Salesforce credentials.
  3. Ensure your Salesforce Account/Contact objects have a matching External ID field.
  4. (Optional) Adjust mapping fields or filters to your data needs.
  5. Execute manually or trigger on a schedule (e.g., daily sync).

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Is Company?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 2 - NS: Customer - Get record

Type / Role
n8n-nodes-netsuite-rest.netSuiteRest - netSuiteRest
Config choices
Version 1

Block 3 - Sticky Note7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - SF: Create or Update Company Account

Type / Role
n8n-nodes-base.salesforce - salesforce
Config choices
Version 1

Block 5 - SF: Create or Update Contact

Type / Role
n8n-nodes-base.salesforce - salesforce
Config choices
Version 1

Block 6 - SF: Create or Update Person's Account

Type / Role
n8n-nodes-base.salesforce - salesforce
Config choices
Version 1

Block 7 - Split Customers Array

Type / Role
n8n-nodes-base.splitOut - splitOut
Config choices
Version 1

Block 8 - Merge Company/Contact Results

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 9 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 10 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Workflow is finished

Type / Role
n8n-nodes-base.noOp - noOp
Config choices
Version 1

Block 12 - Has More Records?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 13 - Retrieve Paging Offset and LastExportDate

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 14 - Update Paging Offset and LastExportDate

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 15 - Execute Workflow Daily

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 16 - Init Offset

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 17 - NS: Customer - Get Delta records

Type / Role
n8n-nodes-netsuite-rest.netSuiteRest - netSuiteRest
Config choices
Version 1

Block 18 - NS: Customer - Get All records

Type / Role
n8n-nodes-netsuite-rest.netSuiteRest - netSuiteRest
Config choices
Version 1

Block 19 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 20 - Update LastExportDate

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

3. Summary Table

Workflow Sync NetSuite customers to Salesforce accounts & contacts with auto upserts
Complexity advanced
Nodes 20
Categories CRM
Author Entech Solutions
Published 15 Oct 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/9695/9695.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Sync NetSuite customers to Salesforce accounts & contacts with auto upserts do?

Short Description Automatically exports customer records from NetSuite and syncs them into Salesforce — creating or updating Accounts and Contacts depending on whether the NetSuite record represent...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your CRM use case.