Example Node

Basic Example Node

Overview

This node is a basic example node designed to transform input data by adding a user-provided string to each input item's JSON data. It is useful in scenarios where you want to annotate or tag each input item with a custom string value for further processing or identification.

Use Case Examples

  1. Adding a custom label or note to each data item passing through a workflow.
  2. Injecting a user-defined string into each item for tracking or categorization purposes.

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 user-provided string added to each input item's JSON data.

Troubleshooting

  • Ensure that the input data is in the expected format (an array of items with JSON objects) to avoid runtime errors.
  • If the 'My String' parameter is left empty, the output will contain an empty string for the 'myString' key, which might not be intended.

Discussion