Example Node

Basic Example Node

Overview

This node is a basic example node designed to transform input data by adding a user-defined string property to each item. 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 in a workflow.
  2. Injecting a static string value into each item for downstream nodes to use.

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 provided by the user, added to each item's JSON data.

Troubleshooting

  • Ensure that the input data is properly formatted as an array of items, as the node processes each item individually.
  • If the 'My String' parameter is left empty, the output will contain an empty string for the 'myString' property, which might not be intended.

Discussion