Input Transform
Overview
Input Transform allows taking all the values that are in the doc context and attaching them to a dedicated doc node.
Configuration
- Key to map the input to- the- docnode you wish the existing- docnodes to be attached to
Examples
Input
{
  "name": "John Smith",
  "age": 21
}
Step configuration
| Input | Value | 
|---|---|
| Key to map the input to | body | 
Result
{
  "doc": {
    "body": {
      "name": "John Smith",
      "age": 21
    }
  },
  "errors": []
}
Example flow
""Sample
{
  "name": "exampleInputTransform",
  "flow": {
    "name": "exampleInputTransform",
    "description": "",
    "steps": [
      {
        "stepType": "input-transform",
        "color": "rgba(154,183,211,0.6)",
        "displayName": "Input Transform",
        "isSelected": false,
        "config": {
          "key": "body"
        }
      }
    ]
  },
  "inputSchema": {
    "name": "John Smith",
    "age": 21
  },
  "createDate": "2021-10-08T18:37:59.062Z",
  "id": 1633718279199
}