NewTideTestNode

A simple test node for NewTide POC

NewTideTestNode

AI-generated

Overview

This node processes input text strings and checks whether each string contains the substring "demo" (case-insensitive). It is useful for scenarios where you want to filter or flag text data based on the presence of a specific keyword. For example, it can be used in workflows that analyze user comments, product descriptions, or any textual input to detect mentions of "demo".

Properties

Name Meaning
Input String The string to process; the node checks if this string contains the word "demo" (case-insensitive)

Output

The node outputs an array of JSON objects, one per input item, with the following structure:

  • inputString: The original input string provided.
  • containsDemo: A boolean indicating whether the input string contains the substring "demo" (true if found, false otherwise).

Example output JSON for one item:

{
  "inputString": "This is a demo text",
  "containsDemo": true
}

Dependencies

No external services, API keys, or environment variables are required. This node operates entirely on the input data provided within the workflow.

Troubleshooting

  • Empty or missing input string: If the input string is empty or not provided, the node will return containsDemo as false since there is no text to check.
  • Case sensitivity: The search for "demo" is case-insensitive, so variations like "Demo", "DEMO", or "deMo" will all be detected.
  • Input data format: Ensure that the input data items contain the property expected by the node (inputString). Otherwise, the node may throw errors or produce unexpected results.

Links and References

Discussion