Data tables · Step
Save a row
Save a row of named values in a data table, under a key, like a member's profile.
table.set
In a flow
“When a button is clicked, save a row.”
/setprofile ign team → Save a row in profiles, key {user.id}, values {"ign": …, "team": …}.
What it does
Save a row of named values in a data table, under a key, like a 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 1 value later steps can use. Find it under Data tables in the palette.
When to use it
Use a data table when each member (or each thing) has several values together, like a profile with an IGN, a team and a level. Key it by {user.id} for one row a member.
When not to
For a single number per member, a member variable is simpler. Add to a row value is the safe way to count, even when two things happen at once.
Typical wiring
Sockets: settings you can wire
- Key Text
-
The row's key, like {user.id} for one row a member. Variables allowed.
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, it uses {user.id}.
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 Text
-
The row's values as JSON, like {"ign": "Steve", "level": 3}. Variables allowed.
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, it uses {}.
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
- 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 577 more