Skip to content

Task Manager

The Task Manager app defines tasks that send a POST request to an endpoint you choose. Users with the right permission run a task manually. Common uses are triggering a build on a deployment platform and calling a serverless function that syncs content between spaces through the Management API.

  • Run a task manually, restricted by permission.
  • Send the request to any endpoint.
  • Describe what a task does.
  • Collect input before running a task through a custom dialog.
  1. Install the app and open Tasks.
  2. Select + Create Task.
  3. Enter a task name and the webhook endpoint. Both are required. A description is optional.

To collect input before the task runs, provide a JSON object describing the dialog fields. Fields are of type text or option. What the user enters arrives in the POST payload under the dialog_values property.

The following example asks for a project name and the environment:

{
"project_name": {
"type": "text",
"display_name": "What is the project name?"
},
"environment": {
"type": "option",
"options": [
{
"name": "Development",
"value": "dev"
},
{
"name": "Production",
"value": "prod"
}
],
"display_name": "Which environment?"
}
}

Was this page helpful?

What went wrong?

This site uses reCAPTCHA and Google's Privacy Policy (opens in a new window).Terms of Service (opens in a new window) apply.