--- alias: user-guide-automation-task-core-mergeobject tags: - automation tasks description: "This task combines multiple input fields into a single object dynamically" --- # Merge Object ![image71][image71] This task merges multiple input fields into a single object. It allows users to combine different inputs dynamically, either by using input names as keys or merging objects directly. ![mainImage][mainImage] ## Inputs | Name | Data Type | Description | |----------|-----------|--------------------------------| | Activate | `any` | Activate the merge object task | ## Outputs | Name | Data Type | Description | |--------------|-----------|--------------------------------------------------------| | MergedObject | `Object` | Final object merged | | Success | `Boolean` | If there was no problem emits a true | | Error | `Error` | Error that occurred during the processing of this task | ## Settings On the *General Tab*, you have the usual settings and the following settings: | Name | Data Type | Default | Description | |---------------|-----------|---------|-----------------------------------------------------------------------| | useInputAsKey | `Boolean` | True | Flag indicating whether inputs should be used as key in merged object | ## Behavior When the task is activated, it will merge all the given inputs into a single merged object. ## Remarks There is no particular remark to be made. [image71]: ../images/arithmeticoperation-lg.svg [mainImage]: ../images/merge_object.png