Example Node

Basic Example Node

Example Node

AI-generated

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 example, you might use it to add a label or note to each data item passing through a workflow.

Use Case Examples

  1. Adding a custom note to each data item in a workflow for tracking purposes.
  2. Tagging input data with a specific string to identify its source or category.

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 input item's JSON data.

Troubleshooting

  • Ensure that the input data is in JSON format, as the node adds the string to the JSON property of each item.
  • 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