NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Employee → Insert record

AI-generated

Summary

Create a new employee record in NetSuite via the SuiteTalk REST API.

Inputs

  • isDebugMode — Optional flag to include full request and response data in the node output.
  • additionalFields — Optional collection of employee attributes. Pass values for any employee field you wish to set, such as identifiers, names, contact details, addresses, roles, payroll limits, and custom fields. Each component of this collection is represented by a separate property in the node UI.

Output shape

An object representing the newly created employee record, including internal ID and all fields returned by NetSuite.

When debug mode is enabled, the object also contains request and response objects with full HTTP payloads. Out of the box, the operation returns a single record; no pagination is involved.

Examples

Example 1: Create a basic employee

Set isDebugMode to false. In Additional Fields, provide entityId, firstName, lastName, and email. Execute the node to create the employee and return the created record.

Example 2: Add address and roles

Provide entityId, firstName, lastName along with nested addressBook entries (address, city, country, zip) and roles entries (selected roles). This will create the employee with address and role assignments.

Example 3: Enable debug mode

Toggle isDebugMode to true and include any desired fields. The node output will contain request, response, and returnData for troubleshooting.

Discussion