Values · Value
Text statistics
Characters, words, sentences, lines and how long it takes to read.
text.word_stats
In a flow
“Works out text statistics whenever a step wired to it needs the answer.”
"Hello there. How are you?" → 5 words, 2 sentences
What it does
Characters, words, sentences, lines and how long it takes to read. It's a value node: no white pins, it works out its answer when a step wired to it needs it. It gives 5 values later steps can use. Find it under Values in the palette.
When to use it
Use it when a step needs a value worked out first: characters, words, sentences, lines and how long it takes to read.
When not to
For a value that never changes, type it into the setting instead of wiring a node.
Typical wiring
Sockets: settings you can wire
- Text Text
-
The text to read, like a message.
What goes there: Type it in the side panel, or wire in text. e.g. Hello there
If it's empty: Optional. Left empty and unwired, the step runs without it.
Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 844 more
Values it gives
- Characters Number
-
Characters in all. e.g. 26
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 718 more
- Words Number
-
Words. e.g. 5
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 718 more
- Sentences Number
-
Sentences. e.g. 2
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 718 more
- Lines Number
-
Lines. e.g. 1
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 718 more
- Reading seconds Number
-
About how long to read it aloud, at 200 words a minute. e.g. 2
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 718 more