Elementium Sign in
Contents

Data tables · Check

Has a row

Whether a table has a row under a key, like whether a member made a profile yet.

Free plan table.has_row

In a flow

“When a button is clicked, if “Has a row” is true, reply with a message.”

If Has a row in profiles, key {user.id} → Get a row · else Reply: Make one with /setprofile.

What it does

Whether a table has a row under a key, like whether a member made a profile yet. It's a check: put it in an If, and the flow goes one way when it's true and the other when it isn't. Find it under Data tables in the palette.

When to use it

Use it to keep rows of data, like a spreadsheet: whether a table has a row under a key, like whether a member made a profile yet.

When not to

To pick between more than two outcomes, Switch or Random reads better than a chain of checks.

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 845 more

Often next

Wires and sockets · Data values · Plans