Sync NetSuite inventory items between NetSuite and Salesforce products
UnknownWhat this workflow does
This workflow has 14 nodes and runs on a schedule (every day). Along the way it connects Netsuite Rest (community). It also calls entechsolutions4-dev-ed.develop.my.salesforce.com over HTTP.
How it runs
Trigger: On a schedule (every day).
- Salesforce: Get Pricebook values (HTTP Request): calls entechsolutions4-dev-ed.develop.my.salesforce.com
- Init Offset (Code): runs custom JavaScript code
- Has More Records? (If): checks a condition and branches into true / false
- Retrieve Paging Offset and LastExportDate (Code): runs custom JavaScript code
- Update LastExportDate (Code): runs custom JavaScript code
- NS: Inventory Item - Get list of All records (Net Suite Rest): work with inventory item
- Split Customers Array (Split Out): splits a list into separate items
- NS: Inventory Item - Get record (Net Suite Rest): get /inventory item/{id}
- Prepare Salesforce Payload (Code): runs custom JavaScript code
- Salesforce: Add Products (HTTP Request): calls entechsolutions4-dev-ed.develop.my.salesforce.com (POST)
…plus 2 more steps. See the full node list below.
Services it uses
HTTP calls to: entechsolutions4-dev-ed.develop.my.salesforce.com
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that n8n-nodes-netsuite-rest is verified or supports 3.0 (used in NS: Inventory Item - Get record, NS: Inventory Item - Get Delta records, NS: Inventory Item - Get list of All records).
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (7)
- Split Out
n8n-nodes-base.splitOut - No Operation, do nothing
n8n-nodes-base.noOp - If
n8n-nodes-base.if - Code
n8n-nodes-base.code - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Net Suite Rest
n8n-nodes-netsuite-rest.netSuiteRest - HTTP Request
n8n-nodes-base.httpRequest
From the author
Short Description Automatically exports inventory items records from NetSuite and syncs them into Salesforce — creating or updating Products. Who is this for / Use case This template is designed for businesses and integration developers who: - Use NetSuite as…