Text

action_text · action · Data & Transform · Available · v1.0.0

Description

String Swiss-army knife: nine text operations in pure JavaScript — case transforms, trim, replace, split, extract, pad and slugify — so you stop writing Code nodes for small transformations.

⚙️ Configuration parameters

Fields shown in the editor when configuring the node. Generated directly from the NodeDefconfigFields.

FieldTypeRequiredDefaultDescription
operation
Operazione
enum
uppercaselowercasecapitalizetitletrimslugifytruncatereplaceextractsplitpad
yesuppercaseCosa fare con il testo. Ogni operazione mostra solo i suoi parametri.
value
Testo in ingresso
expressionnoinputIl testo da elaborare. Vuoto = usa l'input del nodo.
length
Lunghezza
numberno50TRUNCATE: caratteri massimi · PAD: lunghezza finale.
suffix
Suffisso / carattere riempimento
stringnoTRUNCATE: testo aggiunto in coda · PAD: carattere di riempimento.
padSide
Lato riempimento
enum
startend
nostart
search
Cerca / pattern / separatore
stringnoREPLACE: testo o regex da cercare · EXTRACT: pattern regex · SPLIT: separatore (\n per a-capo).
replacement
Sostituzione
stringnoTesto con cui sostituire (supporta $1, $2 per i gruppi se usi regex).
useRegex
Usa espressione regolare
booleannoInterpreta "Cerca" come regex invece che testo letterale.
flags
Flag regex
stringnog
g, i, m, s
g=globale i=case-insensitive m=multiline s=dotall. EXTRACT forza sempre g.
trimParts
Trim delle parti
booleannoRimuove gli spazi attorno a ogni parte dopo lo split.

⬆️ Node output

Fields available to downstream nodes via $node.<alias>.json.<field>:

  • default

💡 Configuration example

JSON snippet of the node as it appears in the workflow. Values are derived fromdefaultValue and from required parameters.

{
  "id": "node-action_text-1",
  "defId": "action_text",
  "label": "Text",
  "config": {
    "operation": "uppercase",
    "value": "input",
    "length": 50,
    "suffix": "…",
    "padSide": "start",
    "flags": "g"
  }
}

🔗 Related nodes in the same category

Ready to use Text?

Available now on all FlowForge plans. Try it free without a credit card.

Start freeBrowse all nodes