Almost EVERYONE who tried headless systems said they saw benefits. Download the state of CMS now!

Storyblok now on AWS Marketplace: Read more

O’Reilly Report: Decoupled Applications and Composable Web Architectures - Download Now

Empower your teams & get a 582% ROI: See Storyblok's CMS in action

Skip to main content

User dialog of tasks

When setting up tasks with the tasks app you have the possibility to add a dialog which pops up when when the user wants to execute the task.

Fill out the field with a JSON configuration like in the example below to see how it works.

The provided user input will be available in the webhook payload under the attribute dialog_values.

Section titled Example Example

To show the dialog above following JSON is required:

{
  "name": {
    "type": "text",
    "display_name": "What's your name?"
  },
  "environment": {
    "type": "option",
    "options": [
      {
        "name": "Dev",
        "value": "dev"
      },
      {
        "name": "Staging",
        "value": "staging"
      }
    ],
    "display_name": "Which environment?"
  }
}

Section titled Available types Available types

  • text
  • option