Example Node

Basic Example Node

Example Node

AI-generated

Overview

This node processes input data items by adding or updating a JSON property named 'myString' with a user-defined string value. It is useful for scenarios where you want to inject or modify a specific string field in each data item passing through the workflow, such as tagging data or adding custom notes.

Use Case Examples

  1. Adding a custom label to each data item in a workflow.
  2. Injecting a user-defined string into data for further processing or routing.

Properties

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

Output

JSON

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

Troubleshooting

  • If the node fails on a specific item, it throws an error with the item index for easier debugging.
  • If 'Continue On Fail' is enabled, the node will continue processing subsequent items even if one fails, appending error details to the output.

Discussion