NetSuite Toolkit

Superglue tools for NetSuite ERP: Customers, Orders, Inventory, and more.

⚠️

Beta: These tools are ready to use but still in testing. You may need to test them locally in your environment before deploying to production.

Quick Setup

1

Get your tool config file

Download or copy the JSON config from the buttons below each tool.

2

Set up authentication

We use API keys, not OAuth, for this integration. Create a Token-Based Authentication (TBA) integration in your NetSuite Setup > Integrations > Manage Integrations. Add NETSUITE_ACCOUNT_ID, NETSUITE_CONSUMER_KEY, NETSUITE_CONSUMER_SECRET, NETSUITE_TOKEN_ID, NETSUITE_TOKEN_SECRET, and optionally NETSUITE_BASE_URL to your environment variables. Uses OAuth 1.0a for authentication. See official docs: NetSuite Token-Based Authentication

3

Install the superglue SDK

npm install @superglue/client

4

Run the tool locally

Load the JSON config into the SDK and execute it.

Drop-In Code Example

The SDK executes the downloaded JSON workflow locally using your environment's NetSuite TBA credentials.

TypeScript
import { SuperglueClient } from "@superglue/client";
import config from "./netsuite_search_customers.json"; // or paste JSON string

const client = new SuperglueClient();

async function run() {
  const result = await client.run(config, {
    env: {
      NETSUITE_ACCOUNT_ID: process.env.NETSUITE_ACCOUNT_ID!,
      NETSUITE_CONSUMER_KEY: process.env.NETSUITE_CONSUMER_KEY!,
      NETSUITE_CONSUMER_SECRET: process.env.NETSUITE_CONSUMER_SECRET!,
      NETSUITE_TOKEN_ID: process.env.NETSUITE_TOKEN_ID!,
      NETSUITE_TOKEN_SECRET: process.env.NETSUITE_TOKEN_SECRET!,
      NETSUITE_BASE_URL: process.env.NETSUITE_BASE_URL || "https://{account_id}.suitetalk.api.netsuite.com",
      SUPERGLUE_REDIRECT_URI: process.env.SUPERGLUE_REDIRECT_URI || "https://app.superglue.cloud/api/auth/callback"
    }
  });
  console.log(JSON.stringify(result, null, 2));
}
run();

Tools in Toolkit

ToolActions

netsuite_search_customers

Find customers by email or name.

👥 1,243 users

netsuite_sync_sales_orders

Sync sales orders and line items.

👥 1,108 users

netsuite_inventory_snapshot

Fetch current on-hand inventory per SKU.

👥 982 users

netsuite_sync_invoices

Retrieve open invoices with due dates.

👥 927 users

netsuite_update_inventory_levels

Push updated stock counts to NetSuite.

👥 864 users

netsuite_search_transactions

Query transactions by type or date.

👥 799 users