Getting started
Rules Engine Widgets
Array Processor
4 min
purpose to perform advanced operations on one or more arrays using simple expressions or custom javascript logic this node allows you to map, filter, combine, and extract data from arrays dynamically within workflows — without needing external scripting problem statement workflows often handle arrays of data (from apis, databases, or process loops) processing and transforming these arrays manually requires repetitive nodes or code the array processor node provides a flexible, single step interface to handle complex array transformations easily, using javascript style expressions or functions requirements must accept one or multiple input arrays should support both simple field extractions and custom transformation logic must allow standard javascript array methods (e g , map, filter, find) should return the processed array in a defined result variable must show preview syntax for clarity and debugging use cases extracting specific fields (e g , names, emails) from objects in an array filtering items based on conditions (e g , active users only) combining or merging arrays computing transformed data (e g , totals, formatted objects) running custom javascript logic for flexible array manipulation outcome applies the specified transformation or logic to the input arrays and outputs the resulting array for use in subsequent workflow steps how to use 1\ drag & drop add the array processor node into your workflow canvas 2\ input arrays provide one or more array variable names that contain the data to process click + add array input to include multiple arrays if required 3\ javascript array operation write your transformation logic or expression using the item, index, or arrays context objects you can enter simple expressions or define full javascript functions — depending on your use case auto wrapped simple expressions when you type a short expression such as item name, the node automatically generates and wraps it into a complete function behind the scenes you only need to provide the inner logic — the system handles the full map or filter structure for you