Skip to main content
Version: ACE 5

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 Input transform flow
    tags: []
steps:
- stepType: input-transform
config:
key: body
name: Input Transform
description: ""
condition: ""
sampleData:
name: John Smith
age: 21