Discord Buttons icon

Discord Buttons

Send Discord interactive messages with Approve / Edit / Reject buttons for approval workflows

Send Approval Links

AI-generated

Summary

Send approval link buttons to a Discord channel via a webhook URL.

Inputs

  • channelId (required) — The ID of the Discord channel to send the message to
  • content — The text content of the message
  • useEmbed — Whether to include a rich embed in the message
  • embedTitle — Title of the embed
  • embedDescription — Description text inside the embed
  • embedColor — Left-border color of the embed (hex)
  • webhookBaseUrl (required) — Base URL of the n8n Webhook node that will receive button clicks
  • ticketId — Unique ticket ID passed along with the interaction
  • approveState — State value returned when Approve is clicked
  • editState — State value returned when Edit is clicked
  • rejectState — State value returned when Reject is clicked

Output shape

An array of items; each item's json property contains the Discord API response.

May include error objects when continueOnFail is enabled; otherwise errors are propagated.

Examples

Example 1: Send an approval message to a support channel

Set Channel ID, Message Content, Webhook Base URL, optionally enable Embed and fill Ticket ID and state values; operation set to Send Approval Links.

Links

Discussion