Discord Interaction (Lisboa) icon

Discord Interaction (Lisboa)

Send a Discord message with optional Confirm/Cancel buttons and wait for a response

Discord Interaction (Lisboa)

AI-generated

Summary

Send a Discord message, wait for a Confirm or Cancel button response, or fetch recent channel messages using the selected action. Requires Discord bot credentials and a channel ID; prompt actions route items to Confirm, Cancel, or No Response outputs.

Inputs

  • Action (required) — Choose Send Prompt (Confirm / Cancel), Send Message, or Get Messages.
  • Channel ID (required) — Discord channel ID for the message or message lookup.
  • Message (required) — Message content for Send Prompt or Send Message.
  • Confirm Button Label — Prompt action only; label for the Confirm button. Defaults to “Confirm”.
  • Cancel Button Label — Prompt action only; label for the Cancel button. Defaults to “Cancel”.
  • Timeout (seconds) — Prompt action only; wait duration before routing to No Response. Defaults to 30 seconds; UI range is 5–300.
  • Restrict to User ID — Prompt action only; only this Discord user can respond when set. Empty allows anyone.
  • Delete Message After Response — Prompt action only; delete the prompt after a button click when enabled. Otherwise, the buttons are disabled.
  • Timeout Message — Prompt action only; optional channel message sent when the prompt times out.
  • Limit — Get Messages action only; maximum number of recent messages to fetch. Defaults to 10; UI range is 1–100.

Output shape

Three output branches: Confirm, Cancel, and No Response.

Send Prompt routes a button response to Confirm or Cancel and includes the message and response details; on timeout it routes an item with timedOut and timeoutSeconds to No Response. It disables buttons after a response or timeout; it deletes the prompt after a response only when configured. Send Message posts plain text and routes an item with messageId, channelId, and content to Confirm. Get Messages routes one item per fetched message to Confirm, with id, content, authorId, authorUsername, timestamp, and channelId. Errors route to No Response as an error item when Continue On Fail is enabled; otherwise execution throws.

Links

Discussion