Defer Interaction

BlockInteractions

Acknowledge an interaction and show a loading state. Use this when your response will take a while.

  • Only works in flows started by an interaction: a slash command, button, dropdown, modal or context menu.

Inputs

Ephemeral

Makes the eventual response visible only to the user who triggered the interaction.

Optionstruefalse
Response Type

Choose "simple" for text/modal/etc responses, or "advanced" for advanced message responses. Pick based on the type of response you will send later in the flow.

Optionssimpleadvanced
Build a bot using blocks like Defer Interaction

Use this block in our visual flow editor. Bots are hosted 24/7 for free on inventor.bot.

Advanced Documentation

This documentation can be useful when using code mode. View as Markdown

ID: defer_interaction
  • Only works in flows started by an interaction trigger (slash commands, buttons, dropdowns, modals, context menus).

Inputs

FieldInventScript nameValue
Ephemeralephemeral"true", "false"
Response Typeresponse_type"simple", "advanced"

Example InventScript

defer_interaction()

More interactions blocks