Skip to content
NetSuite

How to use NetSuite

AccountingCost: 1 credit per runTop 100 · #75Full guide

What it is for

The NetSuite component lets you fetch customers and vendors, run SuiteQL queries and execute datasets in your ERP from flooows. It is useful for syncing master data with other tools, producing scheduled reports or enriching processes with financial information.

NetSuite has no triggers in flooows: use it as an action inside flows started by other triggers, such as a daily schedule.

Set up the connection

Authentication type: Custom credentials

  1. 1In NetSuite enable Token-Based Authentication in the company feature settings.
  2. 2Create an integration record with TBA enabled and save the Consumer Key and Consumer Secret shown on creation.
  3. 3Generate an access token for the integration, user and role to be used, and copy the Token ID and Token Secret.
  4. 4In flooows add a NetSuite step, click "Connect" and fill in "Account ID", "Consumer Key", "Consumer Secret", "Token ID" and "Token Secret".
Connection fieldTypeRequired
Account IDTextYes
Consumer KeyTextYes
Consumer SecretSecret keyYes
Token IDTextYes
Token SecretSecret keyYes

Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.

How to use it in a flow

  • Get Customer and Get Vendor: map the internal "Customer ID" or "Vendor ID" from a previous step to get the full record.
  • Run SuiteQL Query: write the query in "Query" (for example SELECT id, companyname FROM customer) and use "Arguments" to pass dynamic values safely.
  • Execute Dataset: pick a "Dataset" already defined in NetSuite to reuse existing reports.
  • Custom API Call gives you access to other REST endpoints with the same connection.

Tips

  • •Create a dedicated integration role with only the permissions it needs.
  • •The Account ID appears in your account URL; for sandbox environments include the matching suffix.
  • •Limit SuiteQL results to avoid oversized responses.

Actions (5)

Operations available as flow steps. Expand each one to see its fields.

Get Vendor1 fields
FieldTypeRequired
Vendor IDTextYes
Get Customer1 fields
FieldTypeRequired
Customer IDTextYes
Run SuiteQL Query2 fields
FieldTypeRequired
QueryTextYes
ArgumentsList of valuesNo
Execute Dataset1 fields
FieldTypeRequired
DatasetList (from your account)Yes
Custom API Call10 fields
FieldTypeRequired
urlDynamic fieldsYes
MethodFixed listYes
HeadersKey / value pairsNo
Query ParametersKey / value pairsNo
Body TypeList (from your account)No
BodyDynamic fieldsNo
Response is BinaryYes / NoNo
Return Error as OutputYes / NoNo
TimeoutNumberNo
Follow redirectsYes / NoNo

Common errors

INVALID_LOGIN_ATTEMPT

Check all five credentials and the Account ID, and that the token has not been revoked.

Insufficient permission

Add permissions for the records you query and for REST Web Services to the token role.

SuiteQL syntax error

Test the query in parts and review table and field names.

Field types

"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps