Skip to main content
Version: ACE 4

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 doc node you wish the existing doc nodes to be attached to

Examples

Input

{
"name": "John Smith",
"age": 21
}

Step configuration

InputValue
Key to map the input tobody

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
}