Overview
This node, named "AutoGfx Node," is a basic example node designed to process input data items by adding or updating a JSON property called myString on each item. It takes an input string parameter and assigns it to the myString field of every incoming data item. This node is useful in scenarios where you want to enrich or annotate existing data with a static or dynamic string value for further processing or filtering downstream.
Practical examples:
- Tagging all incoming data items with a specific label or note.
- Adding a user-defined comment or identifier to each data record.
- Setting a default string value that can be used later in workflows.
Properties
| Name | Meaning |
|---|---|
| My String | A string value to assign to each item's myString field. The user can enter any text here. |
Output
The output consists of the same number of data items as the input. Each output item contains the original JSON data plus a new or updated property:
json.myString: The string value provided via the node's input property "My String".
No binary data is produced by this node.
Dependencies
- No external services or API keys are required.
- This node relies solely on n8n's internal workflow data handling.
Troubleshooting
- Common issue: If the input data is empty or not properly formatted, the node will still run but output will be identical to input without changes.
- Error handling: If an error occurs during processing an item, and the node is configured to continue on failure, the error details will be attached to the output item under an
errorproperty. - Typical errors: Errors may arise if the node parameter retrieval fails or if input data is malformed. These errors include context about the item index to help identify problematic data.