# NetSuite trigger - New/updated records (batch)

Triggers every five minutes. Depending on the name of the trigger you selected, the trigger retrieves a list of NetSuite records created and/or updated after the last time the recipe was triggered. The maximum batch size is 100 records.

# Input fields

Select the NetSuite object to monitor. In this example, we select Customer.

Select Netsuite record

Optionally, you can configure these two optional fields:

  • When first started, this recipe should pick up events from

  • Trigger will retrieve NetSuite records created/updated from this date/time. Learn more about this input field.

  • Batch size

  • Trigger may detect many new NetSuite records and process the records in several smaller batches. This field determines how many NetSuite records to retrieve in a batch.

After that, you can proceed to configure the section Output field configuration. This section allows you to shortlist which NetSuite fields you want to use. Only those shortlisted fields are displayed in the trigger's output. This makes it easier to work with complex NetSuite objects with hundreds of fields.

In this example, we use the fields First name, Last name, Email, phone from the Customer record:

Field configuration

The followings are all input fields in this section:

  • Fields

  • The Netsuite record's main fields to be shortlisted.

  • Custom fields

  • The Netsuite record's custom fields to be shortlisted.

  • Custom segment schema

  • If your Netsuite record has custom schema, you can define the custom schema here.

  • Line item custom fields

  • The Netsuite record's line item custom fields to be shortlisted.

  • Line item custom segment schema

  • If your Netsuite line item has a custom schema, you can define the custom schema here.

# Output fields

  • Range

  • Trigger may detect many new NetSuite records and process the records in several smaller batches, based on the configured Batch size. This output field contains the first batch's job ID and last batch's job ID.

  • First batch's job ID

  • Trigger may detect many new NetSuite records and process the records in several smaller batches, based on the configured Batch size. This output field is the job ID of the first batch.

  • Last batch's job ID

  • Trigger may detect many new NetSuite records and process the records in several smaller batches, based on the configured Batch size. This output field is the job ID of the first batch.

  • Records

  • A list data pill that contains all NetSuite records retrieved by the trigger in this batch. You can use this to iterate through all records in the list.

    Expand this data pill to find the NetSuite record's fields. Only fields shortlisted in the Output field configuration section are displayed here.

  • Total number of record

  • Total number of records in this batch.

  • First batch

  • Whether this is the first batch.

  • Last batch

  • Whether this is the last batch.


Last updated: 8/28/2024, 8:43:06 PM