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.
action_text · action · Data & Transform · Available · v1.0.0
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.
Fields shown in the editor when configuring the node. Generated directly from the NodeDefconfigFields.
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
operationOperazione | enumuppercaselowercasecapitalizetitletrimslugifytruncatereplaceextractsplitpad | yes | uppercase | Cosa fare con il testo. Ogni operazione mostra solo i suoi parametri. |
valueTesto in ingresso | expression | no | input | Il testo da elaborare. Vuoto = usa l'input del nodo. |
lengthLunghezza | number | no | 50 | TRUNCATE: caratteri massimi · PAD: lunghezza finale. |
suffixSuffisso / carattere riempimento | string | no | … | TRUNCATE: testo aggiunto in coda · PAD: carattere di riempimento. |
padSideLato riempimento | enumstartend | no | start | — |
searchCerca / pattern / separatore | string | no | — | REPLACE: testo o regex da cercare · EXTRACT: pattern regex · SPLIT: separatore (\n per a-capo). |
replacementSostituzione | string | no | — | Testo con cui sostituire (supporta $1, $2 per i gruppi se usi regex). |
useRegexUsa espressione regolare | boolean | no | — | Interpreta "Cerca" come regex invece che testo letterale. |
flagsFlag regex | string | no | gg, i, m, s | g=globale i=case-insensitive m=multiline s=dotall. EXTRACT forza sempre g. |
trimPartsTrim delle parti | boolean | no | — | Rimuove gli spazi attorno a ogni parte dopo lo split. |
Fields available to downstream nodes via $node.<alias>.json.<field>:
defaultJSON 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"
}
}Available now on all FlowForge plans. Try it free without a credit card.
Start freeBrowse all nodes