Overview
This node is a basic example node designed to demonstrate simple input and output handling in n8n workflows. It takes an input string property from the user, processes each input item by adding this string to the item's JSON data under the key 'myString', and outputs the modified items. This node is useful for learning how to manipulate input data and add custom properties to workflow items.
Use Case Examples
- A user wants to add a custom string to each item passing through the workflow for tagging or identification purposes.
- A developer is testing how to handle input parameters and output modified data in a custom n8n node.
Properties
| Name | Meaning |
|---|---|
| My String | A user-defined string that will be added to each input item's JSON data under the key 'myString'. |
Output
JSON
myString- The string value provided by the user, added to each item's JSON data.
Troubleshooting
- If the input data is empty or not properly formatted, the node might throw an error or produce unexpected results.
- Errors during execution will either stop the workflow or, if 'continueOnFail' is enabled, the node will output the error details alongside the original data for the failed item.