Oracle NetSuite ERP: create, read, update, upsert and delete any record, transform and act on records, and run SuiteQL queries over the SuiteTalk REST Web Services.
NetSuite ships in the w6w first-party pack. It declares 15 actions, 3 health checks, and the host runs its code in a sandbox that never sees the credential.
io.w6w.netsuiteOracle NetSuite is a cloud ERP: financials, orders, inventory, customers and vendors in one system of record. This app gives a workflow the SuiteTalk REST Web Services of one NetSuite account.
The generic record actions work on any record type your account exposes, standard or custom: get, list with a filter, create, update, upsert by external id, and delete. Records can be transformed into another type (a sales order into an invoice) and record actions such as approve can be triggered, mirroring the buttons in the UI. SuiteQL queries run with bound parameters and can page through every result. Typed shortcuts cover the places the raw REST shape is awkward: creating customers, finding customers by email or name, and creating sales orders with their line sublist.
Connect with OAuth 2.0, which Oracle recommends, or with Token-Based Authentication for accounts that already have a TBA integration record; Oracle ends TBA for new integrations from NetSuite 2027.1. Every NetSuite account has its own hostname, so the connection records your account id and the app only ever calls hosts under suitetalk.api.netsuite.com.
Three routes to the same 15 actions. The Workflow tab is generated from NetSuite's own manifest and carries its real ids, so it is copy-pasteable; the Code and CLI examples are the same call for any action on any app, so every app-specific value in them is a blank you fill in.
governance-limits-get Read the account's and this integration's REST concurrency limits (admin roles).
metadata-get List the record types your account exposes, or get one type's JSON Schema.
record-action Trigger a record action such as approve, reject or confirm on a record.
record-list List the ids of records of one type, optionally filtered, one page at a time.
record-transform Create a record of another type from an existing one (e.g. sales order to invoice).
record-upsert Create the record if the external id is new, otherwise update it (PUT).
server-time-get Read NetSuite's server time (UTC) — a clock to anchor incremental syncs on.
suiteql-query Run a SuiteQL (SQL) query over NetSuite records, one page or all pages.
A workflow step names the app and the action, and the editor fills in the
connection when you pick one. This is the Step shape from the
workflow spec, carrying NetSuite's real ids.
{
"manifestVersion": "2",
"name": "netsuite-example",
"steps": [
{
"id": "record-action",
"uses": {
"app": "io.w6w.netsuite",
"action": "record-action",
"connection": "conn_YOUR_CONNECTION_ID"
},
"with": {
"recordType": "<recordType>",
"id": "<id>",
"action": "<action>"
}
}
]
}record-action customer-create customer-find governance-limits-get metadata-get +10 more actions available
Every app-specific value here is a blank you have to fill in. An
app action is reached through the connection that authenticates it, so the
address is a connection id, not the app id — and connections belong to your account,
so a public page cannot know yours. Create one for NetSuite, then fill in
the three blanks: conn_YOUR_CONNECTION_ID, the action key, and the
parameters that action declares. The call itself is real — the shape is transcribed
from the studio's own snippet builder, which prints the same kind of blanks — but
nothing in it is specific to NetSuite. The Workflow tab is where this app's
real ids are.
npm install @w6w/sdkyarn add @w6w/sdkpnpm add @w6w/sdkdeno add npm:@w6w/sdkimport { W6wClient, isActionRun } from "@w6w/sdk";
// Reads W6W_BASE_URL and W6W_TOKEN from the environment when omitted.
const client = new W6wClient();
const envelope = await client.run({
urn: "conn_YOUR_CONNECTION_ID",
action: "record-action",
payload: {
recordType: "<value>",
id: "<value>",
action: "<value>",
// parameters: "<value>",
},
});
if (isActionRun(envelope)) console.log(envelope.value); npm install -g @w6w/cli w6w run conn_YOUR_CONNECTION_ID --action record-action --payload '{"recordType":"<value>","id":"<value>","action":"<value>"}' Give an AI agent NetSuite — without giving it NetSuite's credentials. One MCP endpoint exposes every app, function and workflow the caller is entitled to, as tools it can discover and run. Access is granted per team while we onboard.
One tool call{
"name": "w6w_invoke",
"arguments": {
"ref": "app:io.w6w.netsuite#record-action",
"input": {
"recordType": "<recordType>",
"id": "<id>",
"action": "<action>"
}
}
}
Every tool names its target with a single ref. The
app: form above doesn't name a connection at all — the
host resolves which of the caller's NetSuite connections to sign
with, and refuses rather than guesses when the answer is ambiguous.
The token is attached host-side, at the moment of the call. It is never a tool argument, never in the model's context, and never in a transcript — so a prompt injection has nothing to exfiltrate.
Tools are derived per end user from what that person has actually connected and is entitled to — not one shared bot identity carrying the union of everyone's access.
Multi-step work runs on the workflow engine and returns a run handle the agent can poll — retries, branching and state survive the conversation that started them.
NetSuite's declared health checks are on the surface too, so an agent can tell "the vendor is down" from "your credential expired" before it burns a retry on either.
The MCP surface is part of the hosted platform. NetSuite itself is MIT, and the runtime that executes it is source-available (FSL).
NetSuite declares its own checks, so its health is a property of the app rather than something the host guesses at.
The SuiteTalk (web services) group on status.netsuite.com, across data centers. Reports degraded — never down — because the account's own data center is not knowable.
Unsigned request to this connection's account-specific REST host. A NetSuite error envelope proves it is serving; an unresolvable host means a wrong or retired account id.