Discord Interaction Trigger icon

Discord Interaction Trigger

Receives Discord button interactions via Interactions Endpoint URL (POST) or Link Buttons (GET)

Discord Interaction Trigger

AI-generated

Summary

Trigger Discord button clicks, handling GET link‑button requests and POST native interactions, and return a configurable response type (acknowledge, reply, or deferred reply).

Inputs

  • responseType — How Discord should respond to the button click (deferredUpdate, reply, or deferredReply); default is deferredUpdate.
  • ignoreSignature — Whether to skip verifying the Discord Ed25519 signature; useful for troubleshooting signature errors.
  • replyMessage — Message content to send when responseType is set to "reply"; optional, defaults to empty.
  • ephemeral — Whether the reply should be visible only to the user who clicked the button; defaults to true.

Output shape

An array of interaction objects containing fields such as action, ticketId, state, customId, interactionId, interactionToken, channelId, guildId, userId, username, and messageId.

The webhook returns no response body (noWebhookResponse true); data is passed to the workflow via workflowData. Signature verification may cause a 401 error if ignoreSignature is false and verification fails. GET requests return an HTML success page but still use noWebhookResponse true.

Examples

Example 1: Acknowledge a button click without sending a visible reply.

responseType: deferredUpdate, ignoreSignature: false, replyMessage: "", ephemeral: true

Example 2: Reply with a custom message to the user.

responseType: reply, replyMessage: "Approved!", ephemeral: false

Links

Discussion