Example Node

Basic Example Node

Overview

This node, named 'Example Node', is a basic transformation node designed to add or update a string property in the input data. It takes an input string from the user and assigns it to a field named 'myString' in each input item's JSON data. This node is useful for scenarios where you want to inject or modify a string value across multiple data items, such as tagging data with a specific label or adding a custom note.

Use Case Examples

  1. Adding a custom label to each data item before further processing.
  2. Injecting a user-defined string into each record for identification or categorization.

Properties

Name Meaning
My String A user-defined string that will be added to each input item's JSON data under the property 'myString'.

Output

JSON

  • myString - The string value set by the user, added to each input item's JSON data.

Troubleshooting

  • Ensure that the input data is in JSON format, as the node modifies the JSON property of each item.
  • If the 'myString' parameter is left empty, the output will contain an empty string for the 'myString' property, which might not be intended.

Discussion