Discord icon

Discord

Interact with Discord API - users, messages, webhooks, guilds, interactions, and more

Actions193

Message → Send

AI-generated

Summary

Send a Discord message to the specified channel, with optional content, embeds, interactive components, attachments, mentions, flags, and message-reference settings. The node builds the message payload and uploads any selected input binary files alongside it.

Inputs

  • Authentication — Choose Bot Token (default) or OAuth2 (User Token).
  • Channel (required) — Discord channel snowflake ID to send the message to.
  • Content — Message text. The UI says it is required unless embeds, components, or attachments are provided.
  • Embeds — Add up to 10 embeds with titles, descriptions, links, timestamps, colors, footers, images, thumbnails, authors, and fields.
  • Buttons — Add button rows with up to 5 buttons per row and 5 rows per message. Configure style, label, custom ID or link URL, emoji, and disabled state.
  • String Select — Add a string select menu with options, selection limits, placeholder, and disabled state.
  • Entity Select — Add a user, role, mentionable, or channel select menu, with selection limits, placeholder, and optional channel types.
  • Components — Raw Discord message components JSON, including layouts not covered by the guided builders.
  • Text Displays — Add V2 text display components; markdown is supported.
  • Separators — Add V2 separators with optional divider lines and small or large spacing.
  • Media Gallery — Add a V2 media gallery with up to 10 media items, each with a URL or attachment reference and optional alt text or spoiler setting.
  • V2 Files — Add V2 file components that reference uploaded files using attachment:// filenames.
  • Attachments — Upload files from named binary properties on each input item. You can override filename, description, and content type.
  • Allowed Mentions — Control whether message mentions ping users, roles, or everyone, and optionally whether to ping the author of a replied-to message.
  • Flags — Set message flags for suppressing embeds, suppressing notifications, or using the Components V2 layout.
  • Message Reference — Raw Discord message_reference JSON, such as a reply or forward reference.
  • Nonce — Optional nonce for Discord message deduplication, up to 25 characters.
  • TTS — Send the message as text-to-speech when enabled.
  • Request Options — Configure batching, SSL certificate validation, proxy, and request timeout.

Output shape

A single Discord message record returned by the send request.

The source pack shows the message operation's optional-attachment pre-send handler; it does not expose the full request or response handling, so additional output fields cannot be established from the supplied source.

Links

Discussion