Send to a channel
Post a message in a channel or one of its threads, optionally as a reply.
message.send posts a message in a channel you choose, rather than replying to the person.
Settings
| Setting | What it does |
|---|---|
| Channel | Where to post. |
| In a thread of it | A thread to post in instead, such as {thread.id} from Create a thread. |
| As a reply to | A message in the same channel to reply to. See Naming a message. |
| Message | The text to send. |
| Embed | One of your embeds. |
| Buttons and menus | One of your component sets. |
| Attach files | Addresses of files, one per line. See Files. |
| Mentions that notify | Who gets a ping. See Mentions. |
| Ping who's replied to | Whether replying notifies the author of the message replied to. On by default. |
Ways out
out.
Produces
| Token | Value |
|---|---|
{sent.id} | The ID of the message just sent |
{sent.channel} | The ID of the channel it was sent in |
{sent.link} | A link to it |
Keep {sent.link} if you want to edit that message later.
Notes
- The bot needs permission to send messages in that channel.
- It's the right node for event and schedule flows, which have nobody to reply to.
Example
On Member joins, post Welcome, {user.mention}! in a welcome channel.