Discord icon

Discord

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

Actions193

Interaction Response → Edit Original Response

AI-generated

Summary

Edits the original message associated with a Discord interaction using its application ID and interaction token. Set the message content and optional embeds, components, attachments, mentions, flags, or raw JSON payload; incoming binary properties can provide files for upload.

Inputs

  • Application (required) — Discord application snowflake ID.
  • Interaction Token (required) — Token from the Discord interaction payload.
  • Content — Message text.
  • Embeds — Up to 10 guided embeds, including titles, descriptions, fields, images, and other embed metadata.
  • Components — Message controls and layouts: buttons, select menus, V2 text displays, separators, media galleries, and files. Use raw component JSON for shapes not covered by the guided builders.
  • Attachments — Files to upload, each sourced from a named binary property on the input item. Filename, description, and content type can be overridden.
  • Allowed Mentions — Controls which mentions in the message ping users or roles.
  • Flags — Discord message flags bitfield.
  • Payload — Optional raw Discord JSON body; its keys override matching guided fields.
  • Request Options — Optional batching, SSL certificate handling, proxy, and timeout settings.

Output shape

A single Discord message response for the edited original interaction message.

The supplied source pack shows this operation's helper structure but omits function bodies, so it does not establish the exact response envelope or whether the response is returned as a message object or wrapped by n8n. Guided builders and raw payload fields are optional; incoming binary data is only used when configured under Attachments.

Links

Discussion