Core Concepts

Data Flow & Transformations

Understanding how data moves through a riogentix workflow is key to building reliable automations.

The $json Object

Each node receives data from the previous node through the $json object. Use double-curly syntax to reference any field:

{{ $json.email }}
{{ $json.order.items[0].price }}
{{ $json.metadata.createdAt }}

Item-Based Processing

By default, riogentix processes data item by item. If a node returns an array of 5 items, each subsequent node runs 5 times — once per item.

This means you rarely need explicit loops for simple array processing.

Referencing Previous Nodes

Use $node["Node Name"].json to access output from any earlier node:

{{ $node["Get User"].json.name }}
{{ $node["Classify Email"].json.category }}

Transform Nodes

Set Node

Add, rename, or remove fields:

{
  "fullName": "{{ $json.firstName }} {{ $json.lastName }}",
  "isVip": "{{ $json.totalSpend > 1000 }}",
  "source": "riogentix"
}

Filter Node

Keep only items matching a condition:

$json.status == "active" AND $json.score > 80

Code Node (JavaScript)

For complex transformations:

const items = $input.all();
return items
  .filter(item => item.json.amount > 0)
  .map(item => ({
    json: {
      ...item.json,
      amountFormatted: '
  

 + item.json.amount.toFixed(2),
    }
  }));

Expressions

riogentix expressions support: