Flikk
Building flows

Transform

Reshape upstream data into a new output object.

The transform node maps fields from earlier nodes into a new output object for the next step.

Spec

FieldMeaning
mappingsRequired. An array of field mappings from upstream to output.
mappings[].fromSource path, such as trigger.repo.
mappings[].toTarget field name in the output object.
mappings[].expressionOptional. A transform expression applied to the source value.
{
  "slug": "shape",
  "type": "transform",
  "spec": {
    "mappings": [
      { "from": "trigger.repo", "to": "repository" },
      { "from": "trigger.action", "to": "event" }
    ]
  }
}

Each mapping reads the value at from and writes it to to on the output object.

On this page