Text Processor

Procesa texto de diferentes maneras

Overview

This node processes text data in various ways, making it useful for text transformation tasks within an automation workflow. It supports operations such as converting text to lowercase or uppercase, reversing the order of characters, and counting the number of characters in a given text field.

Practical examples include:

  • Normalizing user input by converting all text to lowercase.
  • Reversing strings for encoding or formatting purposes.
  • Counting characters to validate input length or generate statistics.

Properties

Name Meaning
Text Field The name of the input field containing the text to be processed.
Output Field The name of the output field where the processed result will be stored.
Operation The type of text processing to perform. Options: Uppercase, Lowercase, Reverse, Count Characters

Output

The node outputs JSON objects that contain all original fields plus an additional field (as specified by the "Output Field" property) with the processed text or character count.

  • For Uppercase, Lowercase, and Reverse operations, the output field contains the transformed string.
  • For the Count Characters operation, the output field contains a numeric value representing the length of the input text.

No binary data is produced by this node.

Dependencies

  • No external services or APIs are required.
  • No special credentials or environment variables are needed.
  • This node relies solely on built-in JavaScript string methods.

Troubleshooting

  • Error: The specified text field does not contain text
    This occurs if the input field does not exist or its value is not a string. Ensure the input field name is correct and that it contains valid text data.

  • Error: Unknown operation
    This happens if an unsupported operation is selected. Verify that the operation property is set to one of the supported options: Uppercase, Lowercase, Reverse, or Count Characters.

  • If the node is configured to continue on failure, errors for individual items will be included in the output under an error field instead of stopping execution.

Links and References

Discussion