Skip to main content

SHOW_RESPONSE

Shows a response to the user in a modal. Can run inline steps before showing and supports HTML and Markdown modes.

Images

step_SHOW_RESPONSE.png

At a glance

  • Category UI
  • Aliases CTX_SHOW_RESPONSE
  • Version: 1.0.0
  • Applications: all
  • Scope: all

Config Options

NameDescriptionDefaultRequiredResolvedConstraintsConditional Rules
inlineStepsSteps to execute while showing an in-place loading UI before the response is displayed.NonefalsefalseNoneNone
modeRender mode for the response. Use "html" to render HTML, "markdown" to render Markdown, or "text" for plain text.NonefalsefalseNoneNone

Inputs

TypeDescriptionDefaultRequiredResolved
textText content to display in the modalNonetruefalse

Examples

Show a text response

 - step: SET
text: "Text to show"
- step: SHOW_RESPONSE

Show HTML response with inline steps

 - step: SHOW_RESPONSE
inlineSteps:
- step: SET
text: "<h2>Processing...</h2>"
mode: "html"

Show Markdown response

 - step: SET
text: |
# Title
This is **bold** and this is *italic*.

- List item 1
- List item 2
- step: SHOW_RESPONSE
mode: "markdown"

See Also

General Resources: