Quester Studio

transform

Build a new object by mapping keys to JMESPath expressions

Creates an object where each key is the result of a JMESPath expression over the previous output (body.id, not previous.body.id). Run fields: {{input.*}} in other nodes — see How flows work.

in ×1 transform out ×1
Build object via JMESPath map. Multiple outgoing edges (fan-out) share the same output.

Data

FieldTypeDefaultDescription
labelstringOptional UI label
mapobject{}Output key → JMESPath expression

Input / output

Value
Execute inputPrevious node output (JMESPath root)
OutputNew object with mapped keys

Examples

Pick fields from nested data

Previous input:

{ "user": { "id": 1, "name": "Ada", "role": "admin" } }
{
  "id": "shape",
  "type": "transform",
  "data": {
    "map": {
      "id": "user.id",
      "name": "user.name"
    }
  }
}

Output:

{ "id": 1, "name": "Ada" }

From HTTP body

{
  "map": {
    "id": "body.id",
    "email": "body.email",
    "status": "status"
  }
}

Array projection

{
  "map": {
    "names": "body.users[*].name",
    "firstId": "body.users[0].id"
  }
}

Empty map

{
  "map": {}
}

Output: {}.