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
- 1In NetSuite enable Token-Based Authentication in the company feature settings.
- 2Create an integration record with TBA enabled and save the Consumer Key and Consumer Secret shown on creation.
- 3Generate an access token for the integration, user and role to be used, and copy the Token ID and Token Secret.
- 4In flooows add a NetSuite step, click "Connect" and fill in "Account ID", "Consumer Key", "Consumer Secret", "Token ID" and "Token Secret".
| Connection field | Type | Required |
|---|---|---|
| Account ID | Text | Yes |
| Consumer Key | Text | Yes |
| Consumer Secret | Secret key | Yes |
| Token ID | Text | Yes |
| Token Secret | Secret key | Yes |
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
| Field | Type | Required |
|---|---|---|
| Vendor ID | Text | Yes |
Get Customer1 fields
| Field | Type | Required |
|---|---|---|
| Customer ID | Text | Yes |
Run SuiteQL Query2 fields
| Field | Type | Required |
|---|---|---|
| Query | Text | Yes |
| Arguments | List of values | No |
Execute Dataset1 fields
| Field | Type | Required |
|---|---|---|
| Dataset | List (from your account) | Yes |
Custom API Call10 fields
| Field | Type | Required |
|---|---|---|
| url | Dynamic fields | Yes |
| Method | Fixed list | Yes |
| Headers | Key / value pairs | No |
| Query Parameters | Key / value pairs | No |
| Body Type | List (from your account) | No |
| Body | Dynamic fields | No |
| Response is Binary | Yes / No | No |
| Return Error as Output | Yes / No | No |
| Timeout | Number | No |
| Follow redirects | Yes / No | No |
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
