Example icon

Example

Basic Example Node

Example

AI-generated

Summary

For each incoming item, sets the json.myString field to the value of the node parameter My String and returns the modified items.

Inputs

  • Main (required) — Data items to process. Each item may contain any JSON data in its json property.

Output shape

Main

Each output item is a copy of the corresponding input item with its json.myString property set to the value of the My String parameter.

Examples

Example 1: Add a static string to each item

My String = 'hello'

Example 2: Forward items unchanged when My String is empty

My String = ''

Discussion