Elementium Sign in
Contents

Logic · Step

Wait for a message

Pause until a message comes in a channel, for up to 10 minutes, then carry on with what it said. From anyone, it's a race: the first to type the answer wins.

Free plan wait.message

In a flow

“When a button is clicked, wait for a message.”

Trivia question → Wait for a message containing the answer, from anyone → Reply: {node.w.member} wins!

What it does

Pause until a message comes in a channel, for up to 10 minutes, then carry on with what it said. From anyone, it's a race: the first to type the answer wins. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. It gives 4 values later steps can use. Find it under Logic in the palette.

When to use it

A race: post a question and the first member to type the answer wins. Or wait for one member's next message.

When not to

Without the Message Content intent the text is empty, so Containing can't match. For one member's answer, Ask is sturdier.

Typical wiring

Sockets: settings you can wire

Wait up to (seconds) Number

How long to wait, at most 600.

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 60.

Connects fromA member's variablesAccept applicationActive membersAddAdd a forum tagAdd a labelAdd a row to a Google SheetAdd a staff noteand 501 more

Channel Channel

Where to listen. Empty is where it happened.

What goes there: Type it in the side panel, or wire in a channel. e.g. #general

If it's empty: Optional. Left empty and unwired, the step runs without it.

Connects fromArchive channelAsk a questionCopy channelCopy permissionsCreate categoryCreate channelCreate forum postCreate threadand 60 more

Containing Text

Only messages with one of these, commas between, like yes, no. Empty takes any.

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

Got one Yes / no

True when it came in time; false when the time ran out. e.g. true

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

Text Text

What the message said. Empty without the Message Content intent, except for mentions of the bot. e.g. Paris

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

From Member

Who reacted or wrote. e.g. @Sam

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toA member's variablesAdd a labelAdd a staff noteAdd answer to formAdd to a counterAdd to a leaderboardAdd to threadAdd to ticketand 647 more

The message Message

The message itself, to reply to or react to. e.g. a link to the message

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAttached filesCancel giveawayClear reactionsDelete and warnDelete messageDelete message laterEdit messageEdit to layoutand 577 more

Often next

Related in Logic

Wires and sockets · Data values · Plans