Sergei

Custom Sergei node for n8n

Process Text

AI-generated

Summary

Transform the provided text by converting it to uppercase, lowercase, or reversing its character order.

Inputs

  • Input Text (required) — The text string you want to transform.
  • Transform Type (required) — Specifies how to transform the input text: convert to uppercase, lowercase, or reverse the characters.

Output shape

a single JSON object containing the original input text, the transform type used, the resulting transformed text, and a timestamp

The output includes fields: operation ('processText'), transformType, input (original text), output (transformed text), and timestamp (ISO string). Processing occurs per item if multiple inputs are provided.

Examples

Example 1: Convert 'Hello World' to uppercase

Set Input Text to 'Hello World' and Transform Type to 'Uppercase'. Output will be the uppercase string 'HELLO WORLD'.

Example 2: Reverse the string 'Example'

Set Input Text to 'Example' and Transform Type to 'Reverse'. Output will be 'elpmaxE'.

Discussion