NetSuite Trigger icon

NetSuite Trigger

Starts the workflow when NetSuite records are created or updated

NetSuite Trigger

AI-generated

Summary

Poll NetSuite for specified record types to detect when records are created, updated, or both, triggering the workflow with matching records' data.

Inputs

  • Poll Times — Schedule defining how often the trigger should poll NetSuite for changes (e.g., every minute, hour, day, week, month, custom cron). Multiple poll times can be configured.
  • Record Type (required) — The type of NetSuite record to monitor, chosen from a dynamic list or custom ID.
  • Event (required) — The event to listen for: record created, updated, or both.
  • Return Fields — Comma-separated list of fields to return for found records (e.g., "id,companyname,email"). Use '*' to return all fields.
  • Options — Optional settings including SuiteQL date field names for creation/modification dates, additional filters as SuiteQL WHERE clause fragments, and manual test lookback hours to define the polling window when running the trigger manually.

Output shape

a list of records matching the polling criteria, each enriched with a _triggerMeta object containing query details, event type, record type, and polling timestamps

The trigger polls NetSuite SuiteQL endpoint using a timestamp-based WHERE clause reflecting the selected event type and the last successful poll time. Pagination is handled up to a maximum number of pages. On manual test runs, it looks back the configured number of hours. If no matching records are found on manual runs, it returns a single item with _triggerMeta carrying a summary message. Errors during poll throw descriptive errors containing the failed query and parsed NetSuite error messages.

Links

Discussion