Process list parameters in Genie

Artificial IntelligenceRecipe ToolsWorkato

What it does

When someone starts a function on list parameters in Genie, this automation creates a variable list and returns the response. The function processes list data in real time.

Who it's for

Engineering teams who need to manipulate list parameters within Genie functions.

How teams use this

Process array data in real time

Accept a list of items as function input, transform it into a variable list, and return the structured data immediately. Teams can call this function from other workflows without manual data formatting.

Reuse list logic across functions

Build a reusable function that handles list parameters so other automations can call it instead of duplicating the logic. Add error handling for empty or malformed lists to keep list handling consistent.

Enable nested list operations

Extend the function to accept and return nested lists so complex data structures can be processed in a single step. Include support for multi-level arrays and filtering conditions.

How it works

  1. Start function on list parameters. Initiate a function in Genie that accepts list parameters as input for processing and transformation.
  2. Create variable list. Build a variable list from the input parameters in Genie to structure the data for downstream use.
  3. Return response to Genie. Send the processed list back to Genie so the function completes and returns the result to the caller.