Overview
This node, named "Example Node," is a basic transformation node designed to add or overwrite a string property in each input item’s JSON data. It takes an input string from the user and sets this string as the value of the myString field on every incoming data item.
Common scenarios for this node include:
- Adding a static label or tag to all items passing through a workflow.
- Injecting a constant string value into data for further processing or routing.
- Testing or debugging workflows by appending known values to data items.
For example, if you want to mark all records with a status like "Processed" or add a note "Checked by QA", this node can do that simply by setting the My String property accordingly.
Properties
| Name | Meaning |
|---|---|
| My String | The string value to set on each item's myString field. This value will overwrite any existing value in that field. |
Output
The output consists of the same number of items as the input. Each output item contains the original JSON data with an added or updated property:
{
"myString": "<value set by the node>"
}
No binary data is produced by this node.
Dependencies
- No external services or API keys are required.
- This node operates purely on the input data within the workflow.
Troubleshooting
- Error when accessing input data: If the node receives no input items, it may throw errors. Ensure that the previous node outputs data.
- Invalid property name or missing parameter: The node expects the
My Stringproperty to be provided. If omitted, it defaults to an empty string. - Continue on Fail behavior: If enabled, the node will continue processing subsequent items even if one item causes an error, attaching error details to the output item.