Skip to main content

Object

Manipulate JavaScript objects - add, remove, and access properties for data structure operations.

Overview

The Object package provides utilities for working with JavaScript objects in your automation. Use it when you need to create objects, add or remove properties, or inspect object contents.

Key Features

  • Property Management - Add and remove object properties
  • Object Assignment - Create and assign objects
  • Introspection - Get keys, values, and length

Available Nodes

  • Assign - Create or assign an object variable
  • Add Property - Add a new property to an object
  • Remove Property - Remove a property from an object
  • Get Keys - Get all property names from an object
  • Get Values - Get all values from an object
  • Get Length - Get the number of properties in an object

When to Use This Package

  • Data Building: Construct objects for API requests
  • Object Manipulation: Modify objects during processing
  • Data Inspection: Check object contents and structure
  • Dynamic Properties: Add properties based on conditions

Typical Workflow

  1. Assign to create a new object
  2. Add Property to add key-value pairs
  3. Get Keys or Get Values to inspect contents
  4. Remove Property to clean up unneeded data

Use Cases

  • Build request payloads for APIs
  • Transform data structures between formats
  • Create configuration objects dynamically
  • Extract and process object data
  • Validate object structure