Messages · Step
Find message
Look a message up by its link or id, and read who wrote it, what it says and when.
message.fetch
In a flow
“When a button is clicked, find message.”
Read the message linked in {answer.link} and post who wrote it.
What it does
Look a message up by its link or id, and read who wrote it, what it says and when. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. It gives 10 values later steps can use. Find it under Messages in the palette.
When to use it
Use it when the flow needs to look a message up by its link or id, and read who wrote it, what it says and when.
When not to
If nothing should change in Discord, a value node or a check is lighter.
Typical wiring
Sockets: settings you can wire
- Message Message
-
A link to the message, like https://discord.com/channels/…, its id, or wire one in.
What goes there: Type it in the side panel, or wire in a message. e.g. a link to the message
If it's empty: Optional. Left empty and unwired, the step runs without it.
Connects fromCountdown messageCreate pollCreate poll from a listExport form recordsForward messagePinned messagesPoll with resultsPost anonymouslyand 526 more
- Channel Channel
-
Where the message is, when you give only its id. Leave empty for here.
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
Values it gives
- Message Message
-
The message, to wire into React, Pin or Edit message. 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
- Found Yes / no
-
False when there's no such message (or I can't see it). 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 573 more
- Text Text
-
What it says. Empty without the Message Content intent, unless the bot wrote it. e.g. See you at 6!
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
- Author Member
-
Who wrote it. 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 648 more
- Written by a bot Yes / no
-
True when a bot or webhook posted it. 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 573 more
- Embeds Number
-
How many embeds it has. 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 719 more
- Files Number
-
How many files are attached. e.g. 0
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 719 more
- Posted at Number
-
When it was posted, as a Unix timestamp. e.g. 1760000000
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 719 more
- Is pinned Yes / no
-
True when it is pinned in its channel. 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 573 more
- Link Text
-
A link that jumps to the message. e.g. https://discord.com/channels/1/2/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