Variables and expressions

Inputs, variables, built-in values, the {{ }} expression language, its functions, and secrets stored with Windows protection.

RPA PlusApplies to Quin Camoufox 0.7Updated 2 November 2026

Workflows pass data between nodes through variables. Any node field can read them with an expression in double braces, for example {{ row.email }}.

Inputs and variables

Open Inputs, variables & settings in the designer toolbar.

  • Inputs are asked for when a task starts (or a test run begins). Each has a name, type, optional default, Required flag and a description shown in the run dialog. Inputs are available by name ({{ query }}) and under inputs ({{ inputs.query }}).
  • Variables are named values with a default, available to every node.

Types: string, number, boolean, datetime, array, object, null, secret, any. Names start with a letter or _, then letters, digits or _, up to 64 characters (names starting with _ cannot be used in expressions).

A node's result is stored with Save to: type a variable name and the result is written there. Set variable, Increment (starting from 0), Append to list (starting from an empty list) and Merge object create the variable if it does not exist yet; Delete variable removes it.

JSON
{
  "inputs": [{"name": "query", "type": "string", "default": "", "required": false}],
  "variables": [{"name": "results", "type": "array", "default": []}]
}

Built-in values

NameValue
inputsAll task inputs; with a dataset, inputs.row is the current row
profile.id, profile.name, profile.tags, profile.groupThe profile this run uses (group is its group id)
task.id, run.id, run.index, run.attemptThe task, this run, its position in the task and the attempt number
item, indexThe current loop item and position (or the names you chose)
errorThe last error: {code, message, node}
lastThe result of the most recent browser node

Each profile's run has its own copy of every variable, so runs that execute in parallel never see each other's values. Loop variables exist only inside the loop body.

Expressions in fields

  • {{ … }} inside text is replaced by the value: Hello {{ profile.name }} → Hello Shop A. Lists and objects are inserted as JSON, null as empty text and booleans as true/false.
  • A field that is exactly one {{ … }} keeps the value's type: {{ rows }} passes the list itself, {{ max_pages }} a number.
  • Condition and expression fields — the condition of If / Else, While, Wait until condition, Validate value and Filter list, and the expression of Map list and Calculate — take a bare expression without braces: total > 0 and status == 'ok'.

The expression language

Expressions are a small, safe language. They are parsed and checked against a whitelist — never executed as code — so a workflow imported from elsewhere cannot run anything on your computer.

Allowed:

  • literals: 'text', "text", 42, 3.5, true, false, null (also True, False, None), lists [1, 2], objects {'a': 1};
  • names and access: row.email, row['e-mail'], items[0], items[-1], slices items[1:3] (. works on objects);
  • arithmetic + - * / // % (+ joins text; a number added to text becomes text);
  • comparisons == != < <= > >=, in, not in, is, is not;
  • and, or, not, and x if condition else y;
  • the built-in functions below.

Not allowed: method calls (text.upper()), keyword arguments, imports, assignments, names beginning with _, and anything else outside the list. An expression is at most 2,000 characters, and results are size-limited.

Functions

GroupFunctions
Typesstr(x), int(x), float(x), number(x), bool(x), list(x)
Textlower(s), upper(s), trim(s), contains(a, b), startswith(s, p), endswith(s, p), replace(s, a, b), split(s, sep), join(list, sep), regex_match(s, pattern, group)
Numbersround(x, n), abs(x), min(…), max(…), sum(list), floor(x), ceil(x), range(…)
Lists and objectslen(x), first(list), last(list), keys(obj), values(obj)
JSONjson(x) — parses text, or turns a value into JSON text
Datesnow() (ISO date-time; now('%H:%M') formats it), today() (YYYY-MM-DD), date_format(value, format)
Defaultsdefault(x, fallback) — the fallback when x is undefined, null or empty
Secretssecret('name')

Examples:

Text
{{ len(found.items) }}
{{ lower(trim(row.email)) }}
{{ default(row.phone, 'n/a') }}
{{ 'reports/' + today() + '.xlsx' }}
{{ round(number(row.price) * 1.1, 2) }}
{{ regex_match(order_text, '#(\d+)', 1) }}

Undefined values

A name that does not exist is undefined. In a condition it counts as false, and comparing it gives the result for null; using it as a value (in arithmetic, or inserted into a field) fails the step with expression_error — wrap it in default(). The Problems tab warns about names used but never defined. Comparing different types with == is false ('5' == 5 is false), so convert first with number() or str().

Secrets

Store passwords, API keys and tokens in RPA Plus → Variables & Data → Secrets → Add secret. Names use letters, digits, _, . and - (up to 64). Values are sealed for your Windows user with Windows data protection; Quin shows only the names afterwards, and you can replace or delete a secret.

Use a secret in any field with {{ secret('crm_password') }}. Secret values are redacted from run logs, step details and outputs, and workflow exports carry only the reference, never the value. A secret-typed input has no default: when a task asks for it, type {{ secret('name') }}, never the secret itself. If a secret does not exist, the step fails and names it.