AI agents for NetSuite: a blueprint on REST web services and OAuth 2.0, reading first

Flowlayers builds AI infrastructure for businesses: a structured workspace where AI agents work the way a team does, with their own tasks, records and reviews inside your systems. This page describes a design for agents that work with NetSuite through its REST web services with OAuth 2.0. It is a blueprint: we have not connected a NetSuite account, built a NetSuite connector or tested anything against NetSuite. It covers what an agent could do, how access would work and what we confirm before we promise anything.

A blueprint for AI agents that read NetSuite through its REST web services and OAuth 2.0 first and write only after a named person approves. Designed, not yet connected to a NetSuite account.

What an agent could do with NetSuite

This is the design, not shipped work. Each line is what we would build and confirm for your account.

  • Create and read records through REST

    An agent could create and read NetSuite records through the REST record service, for example create a customer record from a signed contract after a person approves the fields.

  • Read what it needs with a query

    An agent could run a SuiteQL query through REST to read what it needs, such as open invoices, without a custom script in NetSuite.

  • Hold a change for a named person

    A change to NetSuite data would wait for a named person's yes, and the approval would be recorded with the change.

  • Record every call

    Each call the agent makes would be recorded with the agent that made it, so a change can be traced to one agent.

How the connection would work

An agent would reach NetSuite through REST web services, with a role of its own and never a shared login.

  • NetSuite's SuiteTalk REST web services include a REST record service, with create, read, update and delete on NetSuite records, and SuiteQL queries run through REST. Oracle says REST web services are the technology intended to replace SOAP.
  • SuiteScript RESTlets are custom scripts your NetSuite administrators deploy for cases REST web services do not cover. Oracle recommends them only when an object or method is missing in REST.
  • We do not build on SuiteTalk SOAP web services. Oracle says all SOAP endpoints are disabled with the 2028.2 release.
  • Authentication is OAuth 2.0. Oracle says all newly built integrations should use REST web services with OAuth 2.0 from the 2026.1 release, and from 2027.1 new integrations cannot be built on token-based authentication.
  • The design uses one NetSuite integration role per agent role, with the narrowest permissions. It starts read-only, and write permissions would be added one record type at a time, after approval.
  • The credentials would sit in the agent's own environment on our side and never be written in a task, a comment, a file in git or a message. This is the design for NetSuite, and we have not run it against a NetSuite account.

Example payload (made up to show the shape): an n8n workflow tells an agent that a vendor bill needs a decision

{
  "example": true,
  "event": "vendor_bill.pending_approval",
  "bill": {
    "id": "EXAMPLE-BILL-1",
    "vendor": "Example Supplies Ltd",
    "currency": "USD"
  },
  "request": "summarise the bill and queue it for approval",
  "note": "Invented example. Not from a real system."
}

Arabic and English data

NetSuite holds names, addresses, numbers and dates as fields in your account. How Arabic names and local date and number formats are held varies by account and by subsidiary, so we check your data before we promise how an agent will read or write them.

What we confirm before we promise

Because this is a blueprint, these checks come before anything is scoped.

  • The NetSuite release and edition, and whether REST web services are enabled for your account. REST web services do not match SOAP feature for feature, so we check that each record and field we need is reachable.
  • Your licence, and what Oracle lets an outside system call under it.
  • Which record types and fields the agent needs, and whether REST web services cover them or a RESTlet is needed.
  • Which integration role and permissions the agent gets, and who on your side approves them.
  • How you set up OAuth 2.0 for the integration, and which of your administrators does it.

Where it fits

An agent that works with NetSuite would be part of these services:

Related integrations

Integrations

Questions about AI agents and NetSuite

Has this been tested on a NetSuite account?

No. We have a blueprint for how an agent would work with NetSuite: read first, writes only after approval, every call logged. We build the connection for your account after we check your release, licence and permissions, and we promise nothing before that.

Do you use NetSuite's SOAP or REST web services?

REST. Oracle's own plan says all SOAP endpoints are disabled with the 2028.2 release, and that REST web services are the technology intended to replace SOAP, so we do not build new work on SOAP.

How would the agent log in to NetSuite?

With OAuth 2.0 through REST web services. Oracle says new integrations should use it from the 2026.1 release, and from 2027.1 new integrations cannot use token-based authentication. The agent gets its own role with the narrowest permissions.

Does it need custom scripts in our NetSuite?

Usually not. REST web services need no custom script in NetSuite. When something is not available in REST, Oracle recommends a RESTlet, which is a script your administrators deploy. We tell you before we scope it.

Can the agent read our data with queries?

Yes, NetSuite's REST web services can run SuiteQL queries. Which records and fields a query can reach depends on your account, so we check that first.