Acoustic Connect icon

Acoustic Connect

Interact with Acoustic Connect GraphQL API

Data Set → Update Data Set

AI-generated

Summary

Updates an Acoustic Connect data set by renaming it and/or creating, updating, or removing its attributes. The source pack only shows function signatures, so the exact GraphQL mutation and return shape aren't verifiable.

Inputs

  • dataSetId (required) — ID of the data set to update.
  • updateFields — Collection of data set-level changes. Currently only supports Name, the new name for the data set.
  • attributeOperations — Collection of attribute changes. It can contain Create Attributes, Update Attributes and Remove Attributes.
  • attributeOperations.createAttributes — Attributes to add. Each needs a Name and a Type (TEXT, NUMBER, BOOLEAN, DATE, JSON or ARRAY). Optional settings: Category, Decimal Precision (default 2), Identify As (Is Key flag and channels EMAIL, SMS, WHATSAPP), Map As (First Name, Last Name or None), and Validate As (for ARRAY element validation: TEXT, NUMBER, BOOLEAN, DATE, URL or None).
  • attributeOperations.updateAttributes — Existing attributes to modify, identified by Name. Can change Category and Map As.
  • attributeOperations.removeAttributes — Existing attributes to delete, identified by Name.

Output shape

Per input item, most likely the updated data set record as returned by the Acoustic Connect GraphQL API. The data set is probably parsed into a flat JSON object, but this is not confirmed.

The source pack shows only signatures (updateDataSet, makeGraphQLRequest, parseDataSet), so the exact returned fields are unverified. GraphQL errors from the API are likely surfaced as node errors. Attribute names cannot be changed through Update Attributes, only category and mapping.

Examples

Example 1: Rename a data set

Set Data Set ID to the target ID and add Update Fields > Name = 'Customers 2025'.

Example 2: Add a key email attribute

Set Data Set ID; under Attribute Operations > Create Attributes add Name 'email', Type TEXT, Identify As > Is Key true, Channels EMAIL.

Example 3: Clean up attributes

Set Data Set ID; use Update Attributes to set Category and Map As 'FIRST_NAME' on 'fname', and Remove Attributes to delete 'legacy_flag'.

Links

Discussion