NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Campaign Response → Insert record

AI-generated

Summary

Insert a new Campaign Response record in NetSuite.

Inputs

  • Debug Mode — When enabled, includes full request and response details in the output.
  • Authentication Method — Choose between OAuth1 or OAuth2 for authentication (defaults to OAuth1).
  • Additional Fields — Group of fields for the Campaign Response record, including: Campaign Event (internal/external ID), Channel (internal/external ID), Date Created (campaignResponseDate), Entity (internal/external ID), External ID, Internal ID, Lead Source (internal/external ID), New Response Date, New Response Time, Note, Prefer (header for async requests), Reference Name, Replace (sublists to replace), and Response (response type from a predefined list).
  • Responses — List of response items, each containing: Author (internal/external ID), Date/Time (responseDate), Notes, Reference Name, Response (response type from the same predefined list), and an additional Reference Name.
  • Custom Fields — Collection of custom fields to include in the request, each defined by Field Name (loaded dynamically), Field Type (Boolean, Date Time, Multi Select, Number, Select, String), and a corresponding Value.
  • X-NetSuite-Idempotency-Key — Unique idempotency key for asynchronous requests (ignored for synchronous requests).
  • X-NetSuite-PropertyNameValidation — Sets strictness for property name validation (options: Error, Warning, Ignore).
  • X-NetSuite-PropertyValueValidation — Sets strictness for property value validation (options: Error, Warning, Ignore).

Output shape

The response from the NetSuite REST API for the created Campaign Response record. If Debug Mode is enabled, the output includes request and response details.

When Prefer is set to 'respond-async', the request is processed asynchronously and the response includes the 'Preference-applied: respond-async' header.

Examples

Example 1: Log a successful email campaign response

Set External ID to a unique value, Note to 'Email opened', New Response Date and Time to the event timestamp, Response to 'VIEWED', and Entity to the relevant lead or customer reference.

Links

Discussion