Clone
Creates a copy of a JSON object payload.
Common Properties
- Name - The custom name of the node.
- Color - The custom color of the node.
- Delay Before (sec) - Waits in seconds before executing the node.
- Delay After (sec) - Waits in seconds after executing node.
- Continue On Error - Automation will continue regardless of any error. The default value is false.
Inputs
- Payload - JSON object to be cloned.
Options
This node does not have any options.
Outputs
- Clone - Copy of the input JSON object.
How It Works
The Clone node creates an exact copy of a JSON object. When executed, the node:
- Receives a JSON object through the Payload input
- Passes the same object to the Clone output without modification
- Preserves all key-value pairs and nested structures
Requirements
- Valid JSON object as input
Error Handling
The node will return specific errors in the following cases:
- Invalid JSON object in the Payload input
Usage Notes
- This node is useful for creating copies of JSON objects when you need to preserve the original while modifying a copy
- The cloned object is independent of the original, so modifications to one won't affect the other
- Works with nested JSON objects and arrays
- Useful in scenarios where multiple nodes need to work with the same data structure
- Can be used to create backup copies of JSON data before processing
- The node performs a shallow copy of the JSON object
- Works with any valid JSON structure including objects, arrays, strings, numbers, and booleans