Data tables · Step
Random row
One row of a table picked at random, like a random quote or a random member's profile.
table.random
In a flow
“When a button is clicked, random row.”
/quote → Random row of quotes → Reply {node.r.row}.
What it does
One row of a table picked at random, like a random quote or a random member's profile. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. It gives 3 values later steps can use. Find it under Data tables in the palette.
When to use it
Use it to keep rows of data, like a spreadsheet: one row of a table picked at random, like a random quote or a random member's profile.
When not to
If nothing should change in Discord, a value node or a check is lighter.
Typical wiring
Sockets: settings you can wire
- Most rows Number
-
The most to give back, newest keys last.
What goes there: Type it in the side panel, or wire in a number. e.g. 42
If it's empty: Optional. Left empty and unwired, it uses 50.
Connects fromA member's variablesAccept applicationActive membersAddAdd a forum tagAdd a labelAdd a row to a Google SheetAdd a staff noteand 501 more
Values it gives
- Found Yes / no
-
On when the table has rows. e.g. on
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAdd a forum tagAdd onboarding questionAdd to a counterAlarms that are dueAndAutoMod: Discord's word listsBluesky latest postBoard as emojiand 573 more
- Key Text
-
Its key. e.g. 12
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 578 more
- Row Text
-
The row as JSON, for Get from object or Object as lines. e.g. {"ign": "Steve", "level": 3}
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 578 more