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.
Features
Section titled “Features”- 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.
- Install the app and open Tasks.
- Select + Create Task.
- Enter a task name and the webhook endpoint. Both are required. A description is optional.
Custom dialogs
Section titled “Custom dialogs”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?" }}Further resources
Section titled “Further resources”Was this page helpful?
This site uses reCAPTCHA and Google's Privacy Policy (opens in a new window).Terms of Service (opens in a new window) apply.
Get in touch with the Storyblok community