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

Requests rich text input and returns a string of 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.

input.file

Prompts the app user to select and upload a file.

confirm

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

confirmIdentity

Requests multi-factor authentication or password confirmation of the person running the action.

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.grid

Displays data in a grid layout.

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. Can link to an external URL or to another action.

display.markdown

Displays rendered markdown to the action user.

display.metadata

Displays a series of label/value pairs in a variety of layout options.

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.

Was this section useful?