This guide walks Salesforce administrators, NetSuite administrators, and implementation teams through deploying the Salesforce – NetSuite template. The integration connects your Salesforce org to NetSuite so both systems share the same customer, product, and transaction data. It ships as 53 pre-built flows across 15 flow groups, and it supersedes the earlier Salesforce – NetSuite quickstart template. Unlike the Salesforce – NetSuite integration app, every flow, mapping, search, and script in this template is in your account, and you can change any of them.
Note: This guide assumes working knowledge of both Salesforce (Accounts, Opportunities, Quotes, Cases, Work Orders, Return Orders) and NetSuite (Customers, Sales Orders, Estimates, Item Fulfillments, Return Authorizations). General navigation in either product is out of scope; concepts are explained only where the integration gives them special meaning.
New to this template? Start here
If you only need core lead-to-cash sync (accounts, contacts, products, opportunities, and orders), you don't need every flow group on day one. Work through the sections in order: Prerequisites > Install the template > Initial setup > Settings > core flows > enable and schedule. Add quotes, cases, contracts, work orders, returns, and file sync later, once their prerequisites are met.
What this template does
Opportunities and orders from Salesforce become NetSuite sales orders in real time. Fulfillments, invoices, payments, and returns processed in NetSuite flow back to Salesforce, so sales and service teams see order status and financials without leaving Salesforce. The template reaches full parity with the Salesforce – NetSuite integration app and adds service, contract, field service, asset, and return merchandise authorization (RMA) use cases that were previously unavailable in either offering.
Benefits for sales, operations, finance, service, and returns teams
- Sales sees NetSuite order status, financials, fulfillment, and project status on the Opportunity and Account.
- Operations stops re-keying orders: opportunities, orders, quotes, contracts, and work orders create NetSuite transactions with their lines.
- Finance sees invoices, payments, credit memos, and deposits on the Salesforce Account, plus dated exchange rates for multi-currency orgs.
- Service teams work cases in either system, with attachments, and see the install base (Assets) built from NetSuite fulfillments.
- Returns teams run returns end to end: Salesforce Return Orders become NetSuite return authorizations, and their status flows back.
All 53 flows at a glance
All flows install disabled. You enable them in the sequence described in Enable flows and schedule, after completing setup. The nine flows marked Real-time have no schedule; enabling one starts it listening for record saves in the source system.
| Flow group | Flows | Direction | Trigger |
|---|---|---|---|
| Account | NetSuite Customer to Salesforce Account Add/Update | NetSuite to Salesforce | Real-time |
| Salesforce Account to NetSuite Customer Add/Update | Salesforce to NetSuite | Real-time | |
| Contact | NetSuite Contact to Salesforce Contact Add/Update | NetSuite to Salesforce | Real-time |
| Salesforce Contact to NetSuite Contact Add/Update | Salesforce to NetSuite | Real-time | |
| NetSuite Contact Tasks to Salesforce Contact Tasks | NetSuite to Salesforce | Scheduled | |
| NetSuite Contact Emails to Salesforce Contact Emails | NetSuite to Salesforce | Scheduled | |
| NetSuite Events to Salesforce Events | NetSuite to Salesforce | Scheduled | |
| Salesforce Converted Leads to NetSuite Contact-Customer Link | Salesforce to NetSuite | Scheduled | |
| Salesforce Account Contact Relationships to NetSuite Contact Attach | Salesforce to NetSuite | Scheduled | |
| Customer | NetSuite Customer Tasks to Salesforce Account Tasks | NetSuite to Salesforce | Scheduled |
| NetSuite Customer Emails to Salesforce Account Email Messages | NetSuite to Salesforce | Scheduled | |
| Opportunity | Salesforce Opportunity to NetSuite Sales Order | Salesforce to NetSuite | Real-time |
| NetSuite Sales Order to Salesforce Opportunity Add/Update | NetSuite to Salesforce | Real-time | |
| Salesforce Order to NetSuite Sales Order Add/Update | Salesforce to NetSuite | Real-time | |
| NetSuite Sales Order to Salesforce Order Add/Update | NetSuite to Salesforce | Real-time | |
| NetSuite Sales Order Status to Salesforce Order Status | NetSuite to Salesforce | Scheduled | |
| NetSuite Sales Order Lines to Salesforce Opportunity Products (Line ID Write-back) | NetSuite to Salesforce | Scheduled | |
| Salesforce Opportunities to NetSuite Opportunities | Salesforce to NetSuite | Scheduled | |
| Salesforce Opportunities to NetSuite Projects (Add/Update) | Salesforce to NetSuite | Scheduled | |
| NetSuite Project Status to Salesforce Opportunities | NetSuite to Salesforce | Scheduled | |
| NetSuite Opportunity Tasks to Salesforce Opportunity Tasks | NetSuite to Salesforce | Scheduled | |
| NetSuite Opportunity Emails to Salesforce Opportunity Email Messages | NetSuite to Salesforce | Scheduled | |
| Salesforce Opportunity Attachments to NetSuite Order Attachments | Salesforce to NetSuite | Scheduled | |
| Salesforce Opportunity Contact Roles to NetSuite Sales Order | Salesforce to NetSuite | Scheduled | |
| Salesforce Opportunity Line Schedules to NetSuite Sales Order Lines | Salesforce to NetSuite | Scheduled | |
| Salesforce Discount Item to NetSuite Sales Order | Salesforce to NetSuite | Scheduled | |
| Product | NetSuite Item to Salesforce Product | NetSuite to Salesforce | Scheduled |
| Salesforce Product to NetSuite Item Add/Update | Salesforce to NetSuite | Scheduled | |
| NetSuite Item Group to Salesforce Product Add/Update | NetSuite to Salesforce | Scheduled | |
| NetSuite Item Inventory Levels to Salesforce Product | NetSuite to Salesforce | Scheduled | |
| Financial | NetSuite Customer Financials to Salesforce Account | NetSuite to Salesforce | Scheduled |
| NetSuite Transaction Financials to Salesforce Financials | NetSuite to Salesforce | Scheduled | |
| NetSuite Customer Price Levels to Salesforce Accounts | NetSuite to Salesforce | Scheduled | |
| NetSuite Exchange Rates to Salesforce Exchange Rates | NetSuite to Salesforce | Scheduled | |
| Fulfillment | NetSuite Item Fulfillment to Salesforce Item Fulfillment | NetSuite to Salesforce | Real-time |
| File | Salesforce Files to NetSuite File | Salesforce to NetSuite | Scheduled |
| NetSuite PDFs to Salesforce Files | NetSuite to Salesforce | Scheduled | |
| Quotes & CPQ | Salesforce Quote to NetSuite Estimate Add/Update | Salesforce to NetSuite | Scheduled |
| NetSuite Estimate (Quote) to Salesforce Quote Add/Update | NetSuite to Salesforce | Scheduled | |
| Salesforce Quote Notes to NetSuite Estimate Notes | Salesforce to NetSuite | Scheduled | |
| Contract Renewal | NetSuite Contract to Salesforce Contract Add/Update (SWV) | NetSuite to Salesforce | Scheduled |
| NetSuite Opportunity to Salesforce Opportunity Add (Renewals) | NetSuite to Salesforce | Scheduled | |
| Cases | Salesforce Cases to NetSuite Support Cases (with attachments) | Salesforce to NetSuite | Scheduled |
| NetSuite Support Cases to Salesforce Cases (with attachments) | NetSuite to Salesforce | Scheduled | |
| Contract | Salesforce Contract to NetSuite Sales Order | Salesforce to NetSuite | Scheduled |
| NetSuite Sales Order to Salesforce Contract | NetSuite to Salesforce | Scheduled | |
| Work Orders | Salesforce Work Orders to NetSuite Sales Orders | Salesforce to NetSuite | Scheduled |
| NetSuite Sales Orders to Salesforce Work Orders | NetSuite to Salesforce | Scheduled | |
| Assets & Returns | NetSuite Fulfillment Lines to Salesforce Assets | NetSuite to Salesforce | Scheduled |
| Salesforce Return Orders to NetSuite Return Authorizations | Salesforce to NetSuite | Scheduled | |
| NetSuite Return Authorizations to Salesforce Cases | NetSuite to Salesforce | Scheduled | |
| NetSuite Return Authorization Status to Salesforce Return Orders | NetSuite to Salesforce | Scheduled | |
| Leads | Salesforce Leads to NetSuite Customers (Lead Stage) | Salesforce to NetSuite | Scheduled |
Prerequisites
Note: Complete every item in this section before you install the template. A missing SuiteApp, package, or permission is the most common cause of errors on new installations, and finding one after install means revisiting connections and setup steps.
NetSuite requirements
- Enable required features. Go to Setup > Company > Enable Features. Under Data management, select File Cabinet. Under SuiteCloud, select Custom Records, Client SuiteScript, Server SuiteScript, SOAP Web Services, and Token-Based Authentication, then select Save.
-
Allow the two Celigo SuiteApps. During installation, you install the Celigo integrator.io SuiteApp (
com.celigo.integratorio), which runs every NetSuite step, including the real-time listeners, and the Celigo Salesforce SuiteApp (com.celigo.salesforceio), which provides the fields the template matches on, such ascustentity_celigo_sfio_sf_idandcustbody_celigo_sfio_sf_id. The template uses only the Salesforce SuiteApp's fields; it doesn't call its scripts or use its saved searches. Make sure the NetSuite user who installs the template can install SuiteApps from the SuiteApp Marketplace. The legacy Celigo integrator bundle (ID 20038) isn't required. - Create an integration role. Give integrator.io a role with access to every record type you sync, the File Cabinet, SuiteScript and RESTlets, and token-based authentication.
-
Enable optional features per flow group. Enable only the features for the flows you plan to use:
- Opportunities, required by Salesforce Opportunities to NetSuite Opportunities and by the renewal flows.
- Projects, required by the Projects and Project Status flows.
- Team Selling, required to sync sales teams on orders.
- Return Authorizations, required by the Assets & Returns flow group.
- Software Vertical (SWV) contracts bundle (bundle ID 187488), required only by the SWV Contract flow.
- Note account-specific mandatory fields. If your account makes Order Type, End User, Subsidiary (OneWorld), Location, or an item Tax Schedule mandatory, collect the correct default values now. The NetSuite defaults settings supply them automatically, and flows leave them out when the corresponding setting is blank.
Salesforce requirements
-
Install the integrator.io package. Install the integrator.io distributed adaptor package (
integrator_da) for All Users. The four Salesforce real-time flows (Account, Contact, Opportunity, and Order) depend on it. -
Install the Celigo NetSuite package. Install the Celigo NetSuite package (namespace
celigo_sfnsio) for All Users. It provides the NetSuite ID, NetSuite Record, and status fields, and the Item Fulfillment and NetSuite Financial objects that the mappings and record matching depend on. You can install both packages ahead of time, or when the installer prompts you (steps 3 and 4 of Install the template). - Confirm optional feature availability. Flows for a feature your org doesn't have can stay disabled:
| Salesforce feature | Flows that require it |
|---|---|
| Quotes | Quote and Estimate sync, Quote Notes |
| Orders | Order and Sales Order sync, Order Status |
| Multiple Currencies (irreversible) | Multi-currency item pricing (the Salesforce Multi-Currency enabled setting) |
| Advanced Currency Management (irreversible) | Exchange Rates |
| Opportunity Splits and Opportunity Teams | Team selling on orders |
| Product Schedules | Opportunity Line Schedules |
| Contacts to Multiple Accounts | Account Contact Relationships |
| Field Service (Work Orders) | Work Orders sync |
| Order Management (Return Orders) | Salesforce Return Orders to NetSuite Return Authorizations, and the return authorization status back-sync |
| Contracts | Contract flows |
Note: Orgs without the Return Order object still get returns visibility: the NetSuite Return Authorizations to Salesforce Cases flow doesn't need it.
Celigo requirements
- An active integrator.io account with administrator access and a license with enough flows and endpoints for the flows you plan to enable (up to 53).
- A NetSuite connection using token-based authentication, and a Salesforce connection that signs in with OAuth as a user with API access and visibility to every object referenced in this guide.
Install the template
-
Find the template in the Celigo Marketplace. Go to Marketplace
, select Salesforce or NetSuite, find Salesforce – NetSuite, and select Preview. Review the template contents and the ReadMe, then select Install now.
- Configure the Salesforce connection. Select Configure and select an existing Salesforce connection, or set up a new one and sign in with OAuth.
-
Install the integrator.io package in Salesforce. Select Install. You're redirected to Salesforce to install the integrator.io distributed adaptor package (
integrator_da). Sign in, select Install for All Users, complete the install, then return to integrator.io and select Verify now. - Install the NetSuite package in Salesforce. Select Install and install the Celigo NetSuite package the same way, using Install for All Users.
- Configure the NetSuite connection. Select Configure and select an existing NetSuite connection (Salesforce Integration), or set up a new one with token-based authentication and the integration role.
-
Install the integrator.io SuiteApp in NetSuite. Select Install. Setup checks whether the Celigo integrator.io SuiteApp (
com.celigo.integratorio) is installed in the NetSuite account and opens its SuiteApp Marketplace listing if it isn't. -
Install the Salesforce SuiteApp in NetSuite. Select Install to add the Celigo Salesforce SuiteApp (
com.celigo.salesforceio) if it isn't already installed. - Copy resources. Select Install to create the integration tile with all 53 flows. Everything installs disabled: no data moves until you finish initial setup and enable flows deliberately.
Note: If an install request times out, check whether the integration tile was already created before you retry. Retrying a timed-out install can create a duplicate integration.
Initial setup
Complete these seven one-time steps in order. Steps 1 and 2 prepare NetSuite, steps 3 through 5 prepare Salesforce, and steps 6 and 7 cover the real-time flows. The template's NetSuite searches are defined inside its exports, so there are no saved searches to create in NetSuite, and you can edit any search in integrator.io.
Step 1: Apply the NetSuite fields
The Celigo Salesforce SuiteApp creates these fields. In NetSuite, go to Customization > Lists, Records, & Fields, open Entity Fields, Transaction Body Fields, Transaction Line Fields, or Item Fields, and check that each field is applied to the record types you sync:
| Field | Apply to | Used for |
|---|---|---|
custentity_celigo_sfio_sf_id (Salesforce ID) |
Customer, Contact, Lead/Prospect, Project | Matching accounts, contacts, leads, and projects |
custentity_celigo_sfio_skip_export_to_sf |
Customer, Contact | Stopping a record from syncing back |
custbody_celigo_sfio_sf_id, custbody_celigo_sfio_order_id, custbody_celigo_sfio_quote_id
|
Sales Order, Estimate, Opportunity, Return Authorization, Item Fulfillment | Matching transactions |
custbody_celigo_sfio_sf_originated_ord, custbody_celigo_sfio_skip_export_to_sf, custbody_celigo_sfio_send_so_to_oppty, custbody_celigo_sfio_send_so_to_order
|
Sales Order, Return Authorization | The origin and direction of an order |
custcol_celigo_sfio_sf_id, custcol_celigo_sfio_order_id
|
Transaction item lines | Matching order lines |
custitem_celigo_sfio_sf_id |
Items, including item groups | The product ID written back from Salesforce |
Important: The Salesforce ID field is often not applied to Project records by default. The Salesforce Opportunities to NetSuite Projects and NetSuite Project Status to Salesforce Opportunities flows fail until it is.
Create these fields only if you use the flows listed:
| Field | Type | Needed by |
|---|---|---|
custcol_celigo_schedule_date (transaction column) |
Date | Salesforce Opportunity Line Schedules to NetSuite Sales Order Lines |
custbody_contract_name (from the SWV contracts bundle) |
Provided by the bundle | NetSuite Contract to Salesforce Contract Add/Update (SWV) |
Step 2: Check NetSuite account settings
-
Mandatory transaction fields. If your account makes Order Type (
custbody_order_type) or End User (custbody_end_user) mandatory, enter defaults in the integration Settings, under NetSuite defaults. Otherwise every sales order, estimate, and return from Salesforce fails. - Locations. If locations are mandatory, pick one that belongs to your customers' subsidiary.
- File Cabinet. In NetSuite, go to Documents > Files > File Cabinet, create or choose a folder for files from Salesforce, and note its internal ID.
- Discount item. If you use line discounts, have a NetSuite discount item ready.
- Item prices. Items with no price at all aren't sent to Salesforce. Give every item you sell at least a base price.
Step 3: Create the Salesforce custom fields
In Salesforce, go to Setup > Object Manager, select the object, and then select Fields & Relationships. Create these fields if your org doesn't have them, with the API names exactly as given. Only the flows you plan to use need their fields; a missing field fails its flow.
| Object | Field API name | Type | Needed by |
|---|---|---|---|
| Case | NS_Id__c |
Text(80), External ID, Unique | Cases sync, Return Authorizations to Cases |
| Work Order | NS_Id__c |
Text(80), External ID, Unique | Work Orders sync |
| Return Order | NS_Id__c |
Text(80), External ID, Unique | Return Orders and return authorization sync |
| Quote | NetSuite_Id__c |
Text(80), External ID | Quote and Estimate sync |
| Task | NS_TaskId__c |
Text(80) | Contact, account, and opportunity tasks |
| Event | NS_TaskId__c |
Text(80) | Events |
| Email Message | NS_MessageId__c |
Text(80), External ID | Contact, account, and opportunity emails |
| Email Message | Contact_CMR__c |
Text(18) | Contact emails |
| Asset | NS_Fulfillment_Key__c |
Text(80), External ID | Fulfillment Lines to Assets |
| Account | NS_Price_Level__c |
Text(80) | Customer Price Levels to Accounts |
| Opportunity | NS_Project_Status__c |
Text(80) | Project Status to Opportunities |
| Opportunity | Sync_Update_to_NS_Project__c |
Checkbox | Opportunities to Projects (select it to send updates to an existing project) |
| Product |
NS_Quantity_Available__c, NS_Quantity_On_Hand__c, NS_Quantity_Backordered__c
|
Number(16, 2) | Item Inventory Levels |
Step 4: Grant field-level security
In Salesforce, go to Setup > Permission Sets, open the permission set assigned to the user the connection signs in as, and give it read and edit access to every field in step 3 and to the Celigo NetSuite package fields on the objects you sync.
Note: Grant access to NS_TaskId__c through Task and Event entries. Permission set entries of the form Activity.<field> deploy without an error but aren't applied, and the task, email, and event flows then fail with "No such column 'NS_TaskId__c'".
Step 5: Turn on Salesforce org features
-
Standard Price Book. Note its record ID; it's a required Product setting. To find it, run
SELECT Id FROM Pricebook2 WHERE IsStandard = true. - Multiple currencies. Turn on Salesforce Multi-Currency enabled in the integration Settings, under Products & pricing, only if the org uses multiple currencies. The Exchange Rates flow also needs Advanced Currency Management.
- Work Orders, Return Orders, Contracts, Quotes, and Orders. Turn on the features for the objects you sync.
Step 6: Check the real-time exports
NetSuite and Salesforce can trim these settings during install when the account lacks a feature (Team Selling, Opportunity Splits). Go to Home , select the Salesforce – NetSuite integration tile, open the flow that contains each export, and select the export. Confirm it has the setting listed:
| Export | Setting it must have |
|---|---|
| Get Item Fulfillments from NetSuite | Qualifier Salesforce ID is not empty OR Order ID is not empty; skip-export field custbody_celigo_sfio_skip_export_to_sf; sublists item, package, packageups, packagefedex, and packageusps |
| Get Sales Orders from NetSuite (for Opportunity sync) | Sublists item and salesteam (needs Team Selling in NetSuite) |
| Get Opportunities from Salesforce | Related lists OpportunityLineItem and OpportunitySplit (needs Opportunity Splits in Salesforce) |
Step 7: Activate the real-time syncs
Nine flows are real-time. Five start from NetSuite (Customer, Contact, Sales Order to Opportunity, Sales Order to Order, and Item Fulfillment) and four start from Salesforce (Account, Contact, Opportunity, and Order).
- NetSuite side: the integrator.io SuiteApp's listeners must be working for this integrator.io account. After you enable a flow, edit a synced record in the NetSuite UI; a job should appear within a minute.
- Salesforce side: the integrator.io package's triggers start the flow when a record is saved.
Note: Records saved before you enable a real-time flow aren't sent; save or edit them again. If a NetSuite real-time flow never starts a job, contact Celigo support with the NetSuite account ID.
Global settings for the Salesforce – NetSuite template
Go to Home , select the Salesforce – NetSuite integration tile, and then select Settings. Integration settings apply to every flow. Each flow group with its own settings (Account, Opportunity, Product, and Financial) takes precedence over the integration settings. Leave optional values blank when they don't apply to your org; flows leave those fields out.
General
| Setting | What it does |
|---|---|
| Map NetSuite Currency to Salesforce Currency (optional) | Maps NetSuite currency names to Salesforce ISO currency codes when they differ, for example "US Dollar" to "USD". Leave empty when the names already match. |
| Unique key for an Item in NetSuite (default: itemid) | The NetSuite field matched to Salesforce products. Values must match on both sides. |
| Unique key for a Product in Salesforce (default: ProductCode) | The Salesforce product field matched to NetSuite items. |
| Track discount items using (optional) | The NetSuite discount item that line-level discounts post to. The discount appears on the NetSuite transaction as a separate line below the original line. |
| Enable test mode (off by default) | When on, only Salesforce records with celigo_sfnsio__Test_Mode_Record__c checked sync; when off, only live records sync. Use it to validate the integration before go-live. |
| NetSuite account URL (optional) | For example, https://1234567.app.netsuite.com. Used to write "NetSuite Record" links on Salesforce records. Leave empty to skip the links. |
NetSuite defaults
| Setting | What it does |
|---|---|
| Default Subsidiary (NetSuite internal ID, OneWorld only) | Assigned when creating NetSuite customers and contacts. Required for OneWorld accounts; leave blank otherwise. |
| Default Order Type (NetSuite) (optional) | Supplied on sales orders and estimates if your account makes Order Type mandatory. Enter a valid list value, such as "Contract - New". |
| Default End User (NetSuite internal ID) (optional) | Supplied on transactions if your account makes End User mandatory. |
| Default Location internal ID (conditional) | Applied to transactions that need a location, such as return authorizations, when Location is mandatory. The location must belong to the customers' subsidiary. |
| Default Tax Schedule internal ID (optional) | Set on NetSuite items created from Salesforce products, if your account requires a tax schedule on items. |
Products & pricing
| Setting | What it does |
|---|---|
| Salesforce Multi-Currency enabled (off by default) | Turn on only when Multiple Currencies is active in Salesforce. Product pricing then syncs CurrencyIsoCode on price book entries, and the Exchange Rates flow maintains dated conversion rates. |
| Discount Product Family (Salesforce) (default: Discount) | The Product2.Family value that marks discount products for the Discount Item flow. |
Files
| Setting | What it does |
|---|---|
| NetSuite File Cabinet Folder ID (required for file flows) | Internal ID of the NetSuite File Cabinet folder where files synced from Salesforce are stored. |
Flow group settings
Go to Home , select the Salesforce – NetSuite integration tile, select Settings, and then select the flow group.
Account
| Setting | What it does |
|---|---|
| Map Salesforce Account Type to NetSuite Customer Stage and Status (optional) | The NetSuite customer stage and status applied for each Salesforce Account Type. |
Product
| Setting | What it does |
|---|---|
| Select Price Master (required, default: NetSuite) | NetSuite sends prices to Salesforce price books; Salesforce sends price book entries to NetSuite price levels. |
| Salesforce Standard Price Book (required) | Record ID of the Standard Price Book (see step 5). |
| Map NetSuite Price Level to Salesforce Price Book (optional) | Which price book receives each price level. Unmapped levels go to the Standard Price Book. |
| NetSuite Items to Sync (required) | Item types sent to Salesforce. Select Item Group to use the NetSuite Item Group to Salesforce Product Add/Update flow. |
| Select Salesforce field for mapping products to item types, and Map Salesforce Products to NetSuite Item Type (optional) | A Product picklist field and its value-to-item-type map, used when creating NetSuite items from Salesforce. |
Opportunity
| Setting | What it does |
|---|---|
| Allow Opportunity updates to approved Sales Orders, and Allow Order updates to approved Sales Orders (off by default) | While off, editing a synced Opportunity or Order after its NetSuite sales order is approved returns an error. |
| Sync account with opportunity (on by default) | Creates or updates the NetSuite customer with the order. Select lookup field to be synced as NetSuite customer (default AccountId) picks which Account. |
| Notes, attachments, files, DocuSign, and EchoSign settings (off by default) | Which Salesforce content is copied to the sales order. DocuSign and EchoSign attachments can be limited to agreement statuses. |
| Team selling settings (off by default) | Enable team selling, revenue and overlay split types, team role mapping, members with 0% contribution, and Sync sales teams from NetSuite to Salesforce. |
Financial
| Setting | What it does |
|---|---|
| Sync transaction types to Salesforce (required) | Transaction types sent as NetSuite Financial records: invoices, payments, cash sales, deposits, credit memos, and customer and cash refunds by default. |
| Sync transactions files to Salesforce (empty by default) | Transaction types whose PDFs are copied to Salesforce. Empty means no files. |
| Sync transaction lines to Salesforce (default: invoices, credit memos) | Transaction types whose lines are synced. Each type must also be selected in Sync transaction types to Salesforce. |
Per-flow settings
Five real-time flows have their own settings. The Salesforce Account, Contact, Opportunity, and Order flows take Additional data to export from Lookup fields and Additional data to export from Related Lists or Sublists. The Salesforce Account to NetSuite Customer Add/Update flow also has Account Types to create in NetSuite and Always sync Accounts already linked to NetSuite.
The NetSuite Sales Order to Salesforce Opportunity Add/Update flow adds three order-origin settings:
| Setting | What it does |
|---|---|
| Advanced Settings for Opportunity Sync (off by default) | When on, the flow uses your own sync criteria instead of the two settings that follow. |
| Sync updates on NetSuite Originated Orders (off by default) | Sends later edits of sales orders created in NetSuite to their Opportunities. When off, a NetSuite-created order syncs once, on creation. |
| Sync Salesforce Originated Orders (off by default) | Sends NetSuite edits of orders that came from an Opportunity back to it. When off, NetSuite edits don't overwrite the Opportunity. |
Core flows: accounts, contacts, and products
Account: NetSuite Customer and Salesforce Account (bidirectional)
The NetSuite Customer to Salesforce Account Add/Update and Salesforce Account to NetSuite Customer Add/Update flows are a real-time pair that keeps customer master data in sync. A company customer created or updated in NetSuite appears as a Salesforce Account within seconds, and the reverse holds too. Both directions carry name, phone, billing and shipping addresses, description, and the cross-system ID links. The NetSuite Customer Emails and NetSuite Customer Tasks flows add the customer's activity history to the Account.
- Salesforce to NetSuite matches an existing customer by the Salesforce ID stored on the customer or the NetSuite ID stored on the Account (
celigo_sfnsio__NetSuite_Id__c). Accounts linked before you enabled the flow are matched and linked again on their first sync, not duplicated. - Account Types to create in NetSuite (default Customer - Direct, Customer - Channel) decides which new Accounts become NetSuite customers. Always sync Accounts already linked to NetSuite (on by default) keeps linked Accounts in sync whatever their type.
- NetSuite to Salesforce skips individual (person) customers by default.
- OneWorld accounts: set Default Subsidiary before you enable Salesforce to NetSuite. Use the Account flow group setting Map Salesforce Account Type to NetSuite Customer Stage and Status to set the stage and status of new customers.
- Parent-account hierarchies sync when the parent account is itself linked; parentless accounts sync without a parent.
- If your NetSuite account requires an address on customer records, a Salesforce account synced without any street errors until an address is added.
Contact: sync and activities
NetSuite Contact and Salesforce Contact sync bidirectionally in real time. A Salesforce contact syncs only when its Account is already linked to a NetSuite customer, and a NetSuite contact syncs when its company has a Salesforce ID. When a new NetSuite contact syncs, the flow writes its Salesforce ID back to the NetSuite contact.
Scheduled flows bring NetSuite activity history onto the matching Salesforce record: contact tasks, contact emails, and calendar events. They need the Task and Event field NS_TaskId__c and the Email Message fields NS_MessageId__c and Contact_CMR__c. The Events flow reads only contacts synced with Salesforce; events of other contacts aren't sent.
When a Salesforce lead converts, the resulting contact is linked to its NetSuite counterpart. Orgs with Contacts to Multiple Accounts enabled can also attach one NetSuite contact to several customers, mirroring Salesforce Account Contact Relationships.
Product: items, item groups, and inventory
NetSuite items and Salesforce products sync with their prices. Set the Product flow group settings Select Price Master, Salesforce Standard Price Book, and NetSuite Items to Sync first, and match Salesforce Multi-Currency enabled to your org.
- Price master. NetSuite (the default) sends prices to Salesforce price books; Salesforce sends price book entries to NetSuite price levels. Enable only the direction that matches.
- Base price. NetSuite's base price level (internal ID 1) always goes to the Standard Price Book. Single-currency orgs sync only the base price.
- Items with no price aren't sent to Salesforce.
- Item groups sync only when Item Group is selected in NetSuite Items to Sync. A group's price for a level is the sum of its members' prices times their quantities, and the level syncs only when every member has a price in it.
-
Inventory levels update the three
NS_Quantity_*fields on Product. - Items created from Salesforce get the Default Tax Schedule when it's set.
Note: Every order, quote, asset, and return flow finds its lines through the product's NetSuite ID (Product2.celigo_sfnsio__NetSuite_Id__c). Complete a full product sync before you enable any transaction flow.
Leads
Unconverted Salesforce leads become lead-stage customers in NetSuite, so marketing and sales pipelines are visible to NetSuite users before conversion. The flow matches on the Salesforce lead ID, so a lead isn't created twice; company name falls back to the lead's last name for person leads. OneWorld accounts must set the Default Subsidiary before enabling this flow.
Transaction flows: opportunities, orders, and quotes
Opportunity and Order to Sales Order (bidirectional)
The Opportunity and Order to Sales Order sync, in both directions, carries the main transaction data. Closed-won opportunities and activated orders create NetSuite sales orders with line items in real time; NetSuite sales orders create or update Salesforce opportunities and orders with priced line items. When a customer doesn't exist yet, the Salesforce Opportunity to NetSuite Sales Order flow creates it, its contact, and its parent and grandparent customers. Before you enable these flows, complete the Account and Product syncs, set the Opportunity flow group settings, and set the NetSuite defaults for Order Type and End User if they're mandatory.
- Updates to approved orders. Allow Opportunity updates to approved Sales Orders and Allow Order updates to approved Sales Orders are off by default. While they're off, editing a synced Opportunity or Order after its NetSuite order is approved returns an error instead of changing the order. With Allow Order updates to approved Sales Orders on, lines removed in Salesforce are also removed from the NetSuite order, except on orders with item groups.
-
Line IDs. Salesforce opportunity and order lines store the NetSuite line as
<NetSuite transaction ID>_<line>. The NetSuite Line ID field is unique across the org, so the bare line number can't be used. - Order origin. Custom fields on the NetSuite sales order decide which direction applies: a sales order with Send SO to Order checked goes to the Order flow, and one with Send SO to Opportunity checked and no Salesforce ID goes to the Opportunity flow. The per-flow settings of the NetSuite Sales Order to Salesforce Opportunity Add/Update flow control updates on NetSuite-originated and Salesforce-originated orders.
Important: Sales teams and splits sync only when NetSuite has Team Selling and Salesforce has Opportunity Splits. After installing, check the two real-time exports listed in step 6.
Scheduled flows handle the rest of the order lifecycle: NetSuite order status posts back to Salesforce; NetSuite line IDs write onto Opportunity Products; Salesforce discount line items, identified by the discount item or Discount Product Family setting, post to the NetSuite order; Opportunity Contact Roles land on the sales order; Opportunity Product schedules populate line-level schedule dates; and NetSuite opportunity tasks and emails sync to the Salesforce Opportunity.
For services businesses, Salesforce opportunities can also create NetSuite Opportunities (requires the Opportunities feature) or Projects. To send later changes to an existing project, select Sync_Update_to_NS_Project__c on the Opportunity. The Project Status flow closes the loop: NetSuite project status, such as "In Progress" or "Won," appears on the originating Salesforce Opportunity in NS_Project_Status__c.
Quote and Estimate sync (bidirectional)
Quotes and their line items sync to NetSuite estimates with quantity, rate, and description, and the NetSuite estimate ID writes back to the Quote (NetSuite_Id__c). NetSuite estimates come back as Salesforce Quotes, and Quote Notes post to the estimate as user notes. This flow group needs Salesforce Quotes enabled and the Account and Product syncs completed.
Note: Salesforce CPQ quote sync isn't included.
Financial, fulfillment, and file flows
Financials
Invoices, credit memos, payments, deposits, and refunds sync as NetSuite Financial records related to the Account, carrying amounts, balances, due dates, and status, and customer-level balances (balance, overdue balance, credit limit) land on the Account. Customer price levels sync to Account.NS_Price_Level__c.
- Sync transaction types to Salesforce decides which transactions become NetSuite Financial records.
- Sync transactions files to Salesforce lists the types whose PDFs are copied. Empty means no files.
- Only transactions of customers synced with Salesforce are sent.
Important: The Exchange Rates flow writes dated conversion rates. Enable it only in multi-currency orgs with Advanced Currency Management; otherwise Salesforce refuses every record.
Fulfillment and assets
Fulfillments saved in NetSuite update the linked Salesforce Order within seconds, including status, ship dates, and tracking context, through a real-time flow. This requires the parent Order to be synced first.
A separate scheduled flow builds the install base automatically: every shipped fulfillment line becomes, or updates, a Salesforce Asset with product, quantity, serial numbers, and install date, linked to the correct Account. Credit and negative-quantity lines are skipped, and the flow matches on the Asset field NS_Fulfillment_Key__c, so a line isn't added twice.
Note: Against a large fulfillment history, scope the first run, for example by adding a date or customer filter to the export. Every line belonging to an account that isn't yet synced reports the standard parent-record lookup error until accounts are loaded.
File sync flows
Files uploaded in Salesforce land in the configured File Cabinet folder, named with their original extension, on a schedule; the flow needs the NetSuite File Cabinet Folder ID setting. Files attached to Opportunities are copied to the File Cabinet and attached to the linked NetSuite sales order. NetSuite transaction PDFs are attached to the transaction's NetSuite Financial record in Salesforce, which the Transaction Financials flow creates. A PDF waits until that record exists, and isn't added twice.
Service and field flows
Cases
Service teams can work cases in either system. Cases sync in both directions with subject, description, status, priority, origin, and attachments, matched on the Case field NS_Id__c. Complete the Account and Contact syncs first.
Contracts and work orders
Contracts and Field Service work orders convert to NetSuite sales orders and back. Work orders need Salesforce Field Service and the Work Order field NS_Id__c, and contracts need Salesforce Contracts.
Important: Every sales order created in NetSuite (not from Salesforce, and not linked to an Opportunity or Order) becomes a Salesforce Work Order when the Work Orders flow group is enabled. If it has an end date, it also becomes a Contract when the Contract flow group is enabled. Leave those flow groups disabled if you don't want that.
Contract renewals
For accounts running the NetSuite Software Vertical (SWV) contracts bundle (bundle ID 187488), NetSuite contracts sync to Salesforce Contracts, and NetSuite renewal opportunities appear in the Salesforce pipeline. These flows need the bundle's custbody_contract_name field and the NetSuite Opportunities feature. Review the SWV field mappings against your bundle configuration before enabling them.
Returns (RMA)
The Assets & Returns flow group covers the return lifecycle:
-
Salesforce Return Orders to NetSuite Return Authorizations: service agents start returns from Salesforce using the standard Return Order object, which create NetSuite return authorizations with line-level detail, including product, expected quantity, unit price, and reason. The flow needs the Return Order field
NS_Id__cand, when Location is mandatory, the Default Location setting. - NetSuite Return Authorizations to Salesforce Cases: returns visibility without Order Management. Every NetSuite return authorization becomes a Salesforce Case on the correct Account, carrying the RMA number and NetSuite status.
- NetSuite Return Authorization Status to Salesforce Return Orders: for returns started from Salesforce, this flow writes the NetSuite return authorization number and status progression, from pending approval to pending receipt to refunded or closed, back onto the originating Return Order.
Note: When locations are mandatory, the Default Location must belong to the customers' subsidiary. A location from another subsidiary fails return authorizations.
Enable flows and schedule
Enable one flow group at a time and check its first runs before moving on. Scheduled flows read only records changed since their last run; set each schedule in the flow's settings.
First-time enablement sequence
- Products: Salesforce Product to NetSuite Item, or NetSuite Item and Item Group to Salesforce Product, depending on your price master. Run this first so orders find their items.
- Accounts and contacts: the Account, Customer, and Contact flow groups.
- Leads: Leads to NetSuite customers (lead stage). Converted Leads links the contact and customer after conversion in Salesforce.
- Opportunities and orders: Opportunity to Sales Order or Order to Sales Order; then Discount Item, Contact Roles, Attachments, and Line Schedules; then NetSuite Sales Order to Opportunity or Order; then Order Status and the line ID write-back.
- Quotes: the Quotes & CPQ flow group.
- Fulfillment and service: Fulfillment, Assets & Returns, Work Orders, Contract, and Contract Renewal.
- Financials and the rest: Financial, File, and Cases.
Each object matches on the NetSuite or Salesforce ID it stores, so a re-run updates a record, or skips an email or file, instead of adding it again.
Check the first runs
- Create or edit one test record. If Enable test mode is on, select Test Mode Record on it.
- Run the scheduled flow, or save the record for a real-time flow.
- Check the record on the other side, and that the ID and the "NetSuite Record" link were written back.
- Run the flow again, and check that nothing was duplicated.
Initial data load
- Use each flow's Run now with a start date for historical loads; scheduled runs after that pick up changes automatically.
- Expect parent-record lookup errors on the first pass of child-record flows while the parent set is still loading; they resolve on the next run.
- Flows that update existing records skip unsynced records by design.
Troubleshooting
Most integrator.io error messages explain themselves and suggest a fix. The following patterns cover the errors specific to this template.
"Unable to find lookup value..."
The parent record (account, contact, product, or order) isn't synced yet. This is the standard dependency signal, not a defect. Run the parent flow group's flows, then retry the errors, or let the next scheduled run pick the records up.
"No such column '...' on entity '...'"
A Salesforce custom field is missing, or the connection's Salesforce user can't see it. Create the field (step 3) and grant access (step 4). For NS_TaskId__c, grant access through Task and Event entries, not Activity.*.
"An nlobjSearchColumn contains an invalid column … custentity_celigo_sfio_sf_id"
The Celigo Salesforce SuiteApp field isn't applied to that NetSuite record type, often Project. Apply it (step 1).
"Please enter value(s) for: Order Type, End User" (NetSuite mandatory fields)
| Field named in the error | Fix |
|---|---|
| Order Type or End User | Set the Default Order Type or Default End User setting. |
| Subsidiary | OneWorld account: set the Default Subsidiary. |
| Location | Set the Default Location internal ID. The location must belong to the transaction customer's subsidiary. |
| Tax Schedule (item save) | Set the Default Tax Schedule internal ID. |
| Address (customer save) | The Salesforce account has no street address; add one, or relax the NetSuite address requirement. |
| Posting period errors on dated transactions | The transaction date falls outside an open accounting period; open the period or adjust the date. |
"… can't be updated once it is past Pending Approval"
The NetSuite sales order is approved, and updates to approved orders are off. This is expected. To allow the updates, turn on Allow Opportunity updates to approved Sales Orders or Allow Order updates to approved Sales Orders in the Opportunity flow group settings.
A NetSuite item never reaches Salesforce
The item has no price, or its type isn't selected in NetSuite Items to Sync. Give it a price, or select the type.
Real-time flow not firing
- Confirm the flow is enabled. Real-time flows only listen while enabled.
- Edit the record in the UI after you enable the flow; records saved earlier aren't sent. NetSuite-side triggers ignore writes made by integration flows, so test with a genuine UI edit.
- Check the export settings listed in step 6.
- Check that the record qualifies: the contact's company must be linked, the sales order must have Send SO to Order or Send SO to Opportunity checked, and records with the skip-export field checked are skipped.
- If a NetSuite real-time flow never starts a job, the listeners aren't reaching integrator.io. Contact Celigo support with the NetSuite account ID.
Records don't sync during testing
If Enable test mode is on in Settings, only Salesforce records with celigo_sfnsio__Test_Mode_Record__c checked sync, and live records are skipped. Turn test mode off before go-live.
File-sync errors
| Symptom | Cause and fix |
|---|---|
| SAXException: Invalid type: null on file import | The file name reached NetSuite without an extension, and NetSuite derives the file type from it. The shipped mapping appends the extension; if you customized the name mapping, preserve {{data.FileExtension}}. |
| Job succeeds but no file appears | The File Cabinet Folder ID setting is blank or points to a folder that doesn't exist. Verify the folder ID first. |
| Attachment lands but isn't attached to the transaction | The parent Opportunity or Order isn't yet linked to a NetSuite sales order; sync the parent first. |
| Transaction PDF doesn't appear in Salesforce | The transaction's NetSuite Financial record doesn't exist yet. Run the Transaction Financials flow, and check that the transaction type is selected in Sync transactions files to Salesforce. |
Currency and exchange rate errors
- "Dated Conversion Rate cannot be inserted": Salesforce Advanced Currency Management is off. Turn it on, or leave the Exchange Rates flow disabled.
- CurrencyIsoCode query errors on pricing flows: the Multi-Currency setting is on but the org is single-currency, or the reverse. Match the setting to your org.
- "duplicate value found: celigo_sfnsio__NetSuite_Line_Id__c": a customized line mapping is using the item internal ID instead of the unique NetSuite line key. Restore the shipped mapping.
Location or subsidiary mismatch on returns
The Default Location belongs to another subsidiary. Choose a location in the customers' subsidiary.
General debugging
- Verify content, not only job counts. A completed job with wrong data usually means a mapping references a field the source record no longer carries; inspect a failed or sampled record's retry data to see exactly what reached the import.
- Check both systems' audit trails. NetSuite script execution logs and the Salesforce setup audit trail reveal listener-side issues that never reach integrator.io.
- Errors passed through from Salesforce or NetSuite, such as governor limits, validation rules, or workflow interference, are documented by the respective platform; the integration surfaces them verbatim.
Changing the template
- Matching rules and field mappings are on each import.
- Searches (record types, filters, and columns) are on each export. None depend on saved searches you have to create.
- Before you change a step, keep a copy of it, and use integrator.io revisions to roll back if needed.
- Change one thing at a time: fix a mapping, retry the errored records (retry keeps the original data), and confirm the fix before moving to the next error group.