Skip to main content

I/O methods

Use I/O methods to collect input from and display output to the people running your actions. For a primer on I/O methods, check our our guide to rendering UIs.

group

Combines multiple I/O method calls into a single form.

input.text

Requests a string value.

input.boolean

Requests a boolean value.

input.number

Requests a numeric value.

input.email

Requests an email address.

input.richText

Allows rich text input and returns HTML.

input.url

io.input.url is available on SDK versions v0.24.0 and higher.

input.date

Requests a date.

input.time

Requests a time.

input.datetime

Requests a date & time.

confirm

Requests confirmation of an action using a full-screen dialog box.

search

Allows searching for arbitrary results from a search box.

select.single

Prompts the app user to select a single value from a set of provided values.

select.multiple

Prompts the app user to select any number of values from a set of provided values.

select.table

Prompts the app user to select any number of values from an array of tabular data.

display.code

Displays a block of code to the action user.

display.heading

Displays a heading to the action user.

display.image

Displays an image to the action user. One of url or buffer must be provided.

display.link

Displays a button-styled action link to the action user.

display.markdown

Displays rendered markdown to the action user.

display.object

Displays an object of nested data to the action user.

display.table

Displays tabular data.

display.video

Displays a video to the action user. One of url or buffer must be provided.

experimental.input.file

Prompts the app user to select and upload a file.

Was this section useful?