Live Webinar | Jan 15, 11 AM EST — Search, Import, Automate: How Enterprises Launch AI Workflows in Minutes. Register Now !

Skip to the content

Automate Everything !

🤖 Explore with AI: ChatGPT Perplexity Claude Google AI Grok

For Enterprises | Teams | Start-Ups

eZintegrations – AI Workflows & AI Agents Automation Hub

eZintegrations – AI Workflows & AI Agents Automation Hub

Automate to Innovate

0
$0.00
eZintegrations – AI Workflows & AI Agents Automation Hub

eZintegrations – AI Workflows & AI Agents Automation Hub

Automate to Innovate

Menu
0
$0.00
  • Categories
    • Workflow Automation
    • AI Workflow
    • AI Agent
    • Agentic AI
  • Home
  • Automate Now !
  • About Us
  • Contact
  • Blog
  • Free AI Workflow
  • Free AI Agents

eZintegrations

  • eZintegrations Introduction
  • Integration Bridge
    • Rename Integration Bridge
    • Enable and Disable Integration Bridge
    • Integration Bridge Save
    • Integration Bridge Run Once
    • Clear Logs of An Integration Bridge
    • Integration Bridge Share Feature
    • Copy Operation
    • Integration Bridge Import/Export
    • Integration Bridge Auto Save Feature
    • View An Integration Bridge
    • Copy Integration Bridge
    • Streaming Logs of Integration Bridge
    • Download Logs of An Integration Bridge
    • Status of Integration Bridge
    • Refresh an Integration Bridge
    • Stop An Integration Bridge
    • Start An Integration Bridge
    • Frequency
  • Feedback
    • Feedback: Tell Us What You Think
  • Understanding Session Timeout
    • Understanding Session Timeout and the Idle Countdown Timer
  • Alerts
    • Alerts
  • Marketplace
    • Marketplace
  • DIY Articles
    • 60+ Transformations for Smarter Data: How eZintegrations Powers Operations
    • From SOAP to GraphQL: Modernizing Integrations with eZintegrations
    • Accelerate Growth with eZintegrations Unified API Marketplace
    • Collaborative Integrations: Sharing Bridges in eZintegrations to Foster Cross-Team Innovation
    • Unlocking Hidden Value in Unstructured Data: eZintegrations AI Document Magic for Strategic Insights
    • Workflow Cloning Wizardry: Replicating Success with eZintegrations Integration Duplication for Rapid Scaling
    • Time Zone Triumph: Global Scheduling in eZintegrations for Synchronized Cross-Border Operations
    • Parallel Processing Power: eZintegrations Multi-Threaded Workflows for Lightning Fast Data Syncs
    • From Data Chaos to Competitive Edge: How eZintegrations AI Syncs Silos and Boosts ROI by 40%
    • From Emails to Insights: eZintegrations AI Turns Chaos into Opportunity
    • Handling XML Responses in eZintegrations
    • Text to Action: Shape Data with Plain English or Python in eZintegrations
    • AI Magic: Send Data to Any Database with a Simple English Prompt in eZintegrations
    • Configuring Netsuite as Source
    • Configuring Salesforce as Source
    • Overcoming Upsert Limitations: A Case Study on Enabling Upsert Operations in APIs without Inherent Support
    • Connecting QuickBooks to Datalake
    • Connecting Salesforce to Netsuite
    • Connecting My-SQL to Salesforce Using Bizdata Universal API
    • Effortless Integration Scheduling: Mastering Biweekly Execution with eZintegrations
    • Connecting MS-SQL or Oracle Database to Salesforce Using Bizdata Universal API
    • Establishing Token-Based Authentication within NetSuite
    • Registering a Salesforce App and Obtaining Client ID / Secret (for API Calls / OAuth)
  • Management
    • Adding Users and Granting Organization Admin Privileges : Step-by-Step Guide
    • Security Matrix
    • Adding Users as an Organization Admin (Step-by-Step Guide)
  • Appendix
    • Pivot Operation Use Cases
    • Efficient Column Renaming in eZintegration Using Python Operation
    • Filter Operation Use Cases
    • Connecting any Database to Database
    • Connecting Data Targets
    • Connecting Data Sources
  • Release Notes
    • Release Notes
  • Accounting & Billing
    • Invoices
    • Billing Information
    • Payment Method
    • Current Plan
    • Plans
    • Dashboard
  • My Profile
    • My Profile
  • OnBoarding
    • Microsoft Login
    • Multi-Factor Authentication
    • Login for New Users
  • Pycode Examples
    • Extract Domain Name from Email using Split
    • Split String with Regular Expression
    • Bulk Rename of Keys
    • Form a JSON Object from array of array
    • URL Parsing
    • Form a JSON Object based on the key and values available in JSON Dataset
    • Convert Empty String in a JSON to a “null” value
    • Generate a OAuth 1.0 Signature or Store a Code Response in a User Defined Variable
    • Rename JSON Key based on other key’s value
  • Sprintf
    • Sprintf
  • Data Source Management
    • Data Source Management
  • Data Source API
    • Response Parameters: Text, XML, and JSON Formats
    • Environment Settings for Reusable and Dynamic Configuration
    • API Numeric Parameters for Pagination and Record Limits
    • API Time Parameters for Date and Time Filtering
    • How to test the Data Source API
    • Pre- Request Scripts
      • Pre- Request Scripts for Amazon S3
      • Pre- Request Scripts for Oracle Netsuite
      • Pre-Request Script for Amazon SP API
      • Pre-Request Scripts
    • API Pagination Methods
      • Custom Pagination
      • Encoded Next Token Pagination
      • Cursor Pagination
      • Pagination with Body
      • Total Page Count Pagination
      • Offset Pagination
      • Next URL Pagination
      • API Pagination Introduction
      • Pagination examples
        • SAP Shipment API Pagination
        • Amazon SP API Pagination
    • API Authorization
      • OAuth 2.0 Authorization
      • OAuth 1.0 Authorization
      • Basic Authentication Method
      • API Key Authorization Method
      • Different Types of API Authorization
  • Console
    • Console: Check Your Data at Every Step
  • eZintegrations Dashboard Overview
    • eZintegrations Dashboard Overview
  • Monitoring Dashboard
    • Monitoring Dashboard
  • Advanced Settings
    • Advanced Settings
  • Summary
    • Summary
  • Data Target- Email
    • Data Target- Email
  • Data Target- Bizintel360 Datalake Ingestion
    • Data Target- Goldfinch Analytics Datalake Ingestion
  • Data Target- Database
    • Data Target – Database SQL Examples
    • Database as a Data Target
  • Data Target API
    • Response Parameters
    • REST API Target
    • Pre-Request Script
    • Test the Data Target
  • Bizdata Dataset
    • Bizdata Dataset Response
  • Data Source- Email
    • Extract Data from Emails
  • Data Source- Websocket
    • WebSocket Data Source Overview
  • Data Source Bizdata Data Lake
    • How to Connect Data Lake as Source
  • Data Source Database
    • How to connect Data Source Database
  • Data Operations
    • Deep Learning
    • Data Orchestration
    • Data Pipeline Controls
    • Data Cleaning
    • Data Wrangling
    • Data Transformation

Goldfinch AI

  • Goldfinch AI Introduction

Bizdata API

  • Universal API for Database
    • API for PostgreSQL Database – Universal API
    • API for Amazon Aurora Database (MySQL/Maria) – Universal API
    • API for Amazon Redshift Database – Universal API
    • API for Snowflake Database – Universal API
    • API for MySQL/Maria Database – Universal API
    • API for MS-SQL Database-Universal API
    • API for Oracle Database- Universal API
    • Introduction to Universal API for Databases
  • SFTP API
    • SFTP API
  • Document Understanding APIs
    • Document Understanding API- Extract data from Documents
  • Web Crawler API
    • Web Crawler API – Fast Website Scraping
  • AI Workflow Testing APIs
    • Netsuite Source Testing API (Netsuite API Replica)
    • Salesforce Testing API (Salesforce API replica)
    • OAuth2.0 Testing API 
    • Basic Auth Testing API 
    • No Auth Testing API
    • Pagination with Body Testing API
    • Next URL Pagination Testing API 
    • Total Page Count Pagination Testing API
    • Cursor Pagination Testing API 
    • Offset Pagination Testing API
  • Import IB API
    • Import Integration service with .JSON file
  • Linux File & Folder Monitoring APIs
    • Monitor Linux Files & Folder using APIs
  • Webhook
    • Webhook Integration-Capture Events in Real Time
  • Websocket
    • Websocket Integration- Fetch Real Time Data
  • Image Understanding
    • Image Understanding API – Extract data from Images

Goldfinch Analytics

  • Visualization Login
    • Enabling Two Factor Authentication
    • Visualization login for analytics users
  • Profile
    • Profile
  • Datalake
    • Datalake
  • Discover
    • Discover
  • Widgets
    • Filter
    • Widget List
    • Widgets Guide
    • Creating Widgets & Adding Widgets to Dashboard
  • Dashboard
    • Dashboard
  • Views
    • Views
  • Filter Queries
    • Filter Queries for Reports and Dashboard
  • Alerts
    • Alerts
  • Management
    • Management
  • Downloading Reports with Filtered Data
    • Downloading Reports with Filtered Data in Goldfinch Analytics
  • Downloads
    • Downloads – eZIntegrations Documents & Resources | Official Guides & Manuals
View Categories

Connecting Salesforce to Netsuite

User Guide: Configuring Source as Salesforce and Target as Netsuite.

This guide offers a detailed walkthrough for configuring Salesforce as the source and NetSuite as the target. By following these steps, you’ll seamlessly establish a connection, retrieve desired data from the source, and efficiently transmit it to your chosen destination.

Data Source :

Step 1:

  • In the Data Source page, Select the source type as API

Step 2:

  • Now select the “Salesforce” as your product

Step 3:

  • Choose the appropriate business object based on your needs.

Note: In the event the desired product or business object isn’t available, you have the option to select ‘Create New’ in the product name field. Provide the necessary details for the new product and the business object you intend to configure as the source.

Note: Opting for ‘Create New’ requires the user to furnish all necessary details essential for configuring the API as the source.

Step 4:

  • After selecting the business object (such as Account Information in this example), the system loads all prerequisites.
  • Next, enter the instance identifier and Authorization details into the provided placeholders.


Note : We have the flexibility to make requests not just through standalone APIs but also by leveraging SOQL queries within the REST API.

Sample SOQL Format

 

https://{{instance identifier}}-dev-ed.my.salesforce.com/services/data/{{Version}}/query/?q={{query}}

Instances of queries could look like:

To apply filtering based on custom field values, we can utilize the following query format :

 

https://{{instance identifier}}-dev-ed.my.salesforce.com/services/data/{{Version}}/query/?q=SELECT+id__c,backorder__c,Brand__c,Category__c,Created_Date__c,Supplier__c,Location__c,Item_Name__c,Item_Number__c+FROM+Item__c+WHERE+Location__c = ‘New-York’

To apply filtering based on minimum and maximum time values, we can utilize the following query format :

 

https://{{instance identifier}}-dev-ed.my.salesforce.com/services/data/{{Version}}/query/?q=SELECT+Id,Backorder__c,Brand__c,Category__c,Created_Date__c,Supplier__c,Location__c,Item_Name__c,Item_Number__c+FROM+Item__c+WHERE+Location__c=’New-York’+AND+Created_Date__c >= ‘2023-01-01T00:00:00Z’+AND+Created_Date__c <= ‘2023-12-31T23:59:59Z’

Refresh Token Endpoint Body

Configuration Keys in Refresh Token Endpoint Body :

  1. grant_type: Specifies the grant type being used for authentication. Common types include “password” for resource owner password credentials and “client_credentials” for client credentials.
  2. client_id: Represents the unique identifier assigned to the client (application) by the authorization server during the registration process.
  3. client_secret: Serves as a confidential key known only to the application and the authorization server. It’s used to authenticate the identity of the client application.
  4. username: Refers to the username or identifier of the user accessing the API. This is typically used in combination with the password grant type.
  5. password: Represents the user’s password associated with the provided username for authentication purposes when using the password grant type.

These keys are utilized in constructing the API endpoint URL to exchange credentials securely and obtain an access token required for accessing protected resources through the API.

 Note: Various API endpoint URLs feature distinct placeholders, therefore, users need to input all relevant details based on their specific requirements. Please refer to the Salesforce API documentation for further information.


Data Operations :

Step 6:

 

Single Line to Multiline

This ‘Single Line to Multiline’ operation facilitates the transformation of JSON data from a single-line format to a multiline format. It’s particularly beneficial when handling responses received in a single-line JSON structure. By converting it to multiline JSON, it separates and organizes records, enabling easier application of subsequent operations on each individual record.

Reference Link:   Single line to Multiline

Filter

     If else is called as the filter operation in eZintegrations, basically it has 1 parameter : Conditional Statement

  1. Source has the JSON data of the previous operation
  2. Target is the JSON data after performing the filter operation
  3. Conditional Statement is the parameter where we include logical operators (and ,or, not),Identity operators(is ,is not),membership operators (iin,not in),comparisional operators(==,!=,>, <,<=,>=)

Within this process, we apply a filter operation to sort and extract records based on specific user-defined conditions.

Note : ‘data’ is fixed in the statement, we can change name of key and value as per requirement.

List of Operators that can be used : [==, !=, <, >, =<, =>, or, and]

Example 1 : Filtering data where Order Status is pending

 

data[‘Order Status’]==‘pending’

Example 2 : Filtering data where vale of “id” is 5 or 6.

 

data[‘id’]==5 or data[‘id’]==6

Example 3 : Filtering data where order status is not failed and placed before a specific date.

 

data[‘Order Status’]!= ‘failed’ and data[‘Date’]<‘6/03/2022’

Reference Link:  Filter

Append

This operation allows for the addition of a new key-value pair within your dataset by providing a comma-separated list of key-value pairs enclosed in double quotes. The ‘Append’ feature facilitates mapping these keys to target keys, thereby composing the payload intended for transmission to the Data Target.

Here’s an example illustrating the construction of a JSON payload by mapping keys, ensuring these keys are transmitted to the designated target.

 

“keyname”: {

 

“id”: “{%id%}”,

 

“email”: “{%email%}”,

 

“first_name”: “{%first_name%}”

 

}

Reference Link:   Append

Sample constructed payload Intended for sending to Netsuite :

 

“payload”: {

 

“companyName”: “{%Name%}”,

 

“custentity_ch_website_cust_id”: “{%Id%}”,

 

“subsidiary”: {

 

“id”: “2”

 

}

 

}

Note : When crafting the payload for Netsuite, it’s essential to include specific mandatory keys. Omitting these keys will result in Netsuite rejecting the data

Data Target :

Step 7 : Choose the Target Type as ‘API’.

Step 8 : Enter ‘Oracle NetSuite’ in the target name field and select ‘Oracle NetSuite’ from the dropdown options.

 

Step 9 : According to the requirements, pick the Oracle NetSuite business object from the available dropdown menu.

Note : In case the desired business object isn’t listed in the dropdown, users have the option to create both a new product and a new business object by selecting the ‘Create New’ option within the target name dropdown menu.


Step 10 : 
After selecting the business object, all relevant details pertaining to the Oracle NetSuite API corresponding to the chosen business object will populate across the required fields within the API section.

For example, upon selecting ‘Customer’ as the designated business object, all pertinent information linked to the Oracle NetSuite API specifically tailored for the ‘Customer’ category will populate within the respective fields (Headers and Pre-request script are populated in this case)

From the image above, it’s evident that the HTTP method is configured as POST, and the API endpoint URL field is populated with a value :

 

https://{{account_id}}.suitetalk.api.netsuite.com/services/rest/record/v1/customer

Please include all the important information about the instance you want to connect to Oracle NetSuite in the API endpoint URL.

Note : In the Headers tab, please observe that the value “{%signature%}” undergoes string interpolation. Avoid making any modifications to this value.

 

In body, we pass the payload which create in the Data operations section.

In Pre-request Script tab, ensure to input all necessary details including oauth_consumer_id, oauth_consumer_key, oauth_consumer_secret, oauth_token, oauth_token_secret.

 

 

import datetime

 

import random

 

import string

 

import hashlib

 

import base64

 

import hmac

 

import urllib.parse

 

request_method = ‘POST’

 

url = ‘https://{{account_id}}.suitetalk.api.netsuite.com/services/rest/record/v1/customer’

 

oauth_consumer_id = ‘xxxxxxxxxxxxxxx’ # Provide Values

 

oauth_consumer_key = ‘xxxxxxxxxxxxxx’ # Provide Values

 

oauth_consumer_secret =‘xxxxxxxxxxxx’ # Provide Values

 

oauth_token =‘xxxxxxxxxxxx’ # Provide Values

 

oauth_token_secret =‘xxxxxxxxxxxxx’ # Provide Values

 

oauth_signature_method = ‘HMAC-SHA256’

 

oauth_timestamp = str(int(datetime.datetime.now().timestamp()))

 

oauth_nonce = ”.join(random.choices(string.ascii_letters + string.digits, k = 11))

 

oauth_version = ‘1.0’

 

normalized_request_method = request_method.replace(‘ ‘, ”)

 

normalized_string_url = urllib.parse.quote(url, safe = ”)

 

normalized_params = {‘oauth_consumer_key’: oauth_consumer_key,‘oauth_token’: oauth_token,‘oauth_signature_method’: oauth_signature_method,‘oauth_timestamp’: oauth_timestamp,‘oauth_nonce’: oauth_nonce,‘oauth_version’: oauth_version}

 

sorted_params = dict(sorted(normalized_params.items()))

 

normalized_string_parmas = [k+‘=’+v for k,v in sorted_params.items()]

 

normalized_string_parmas = ‘&’.join([str(elem) for elem in normalized_string_parmas])

 

normalized_string_parmas.replace(‘ ‘,”)

 

normalized_string_parmas = urllib.parse.quote(normalized_string_parmas, safe = ”)

 

base_string = request_method + ‘&’ + normalized_string_url + ‘&’ + normalized_string_parmas

 

base_string = str.encode(base_string)

 

signature_key = oauth_consumer_secret + ‘&’ + oauth_token_secret

 

signature_key = str.encode(signature_key)

 

oauth_signature = hmac.new(signature_key, base_string, hashlib.sha256)

 

oauth_signature.hexdigest()

 

oauth_signature = base64.b64encode(oauth_signature.digest())

 

oauth_signature = oauth_signature.decode(‘UTF-8’)

 

oauth_signature = urllib.parse.quote(oauth_signature, safe = ”)

 

signature =‘OAuth realm=”‘f’{oauth_consumer_id}“,oauth_consumer_key=”‘f’{oauth_consumer_key}“,oauth_token=”‘f’{oauth_token}“,oauth_signature_method=”‘f’{oauth_signature_method}“,oauth_timestamp=”‘f’{oauth_timestamp}“,oauth_nonce=”‘f’{oauth_nonce}“,oauth_version=”‘f’{oauth_version}“,oauth_signature=”‘f’{oauth_signature}“‘

After completing all the required details, the user can establish the connection to Oracle NetSuite.

Updated on December 29, 2025

What are your Feelings

  • Happy
  • Normal
  • Sad

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest
Connecting QuickBooks to DatalakeConnecting My-SQL to Salesforce Using Bizdata Universal API
© Copyright 2026 Bizdata Inc. | All Rights Reserved | Terms of Use | Privacy Policy