Build Custom User Interfaces for Workflows with Apps

For the complete documentation index, see llms.txt. For a full content snapshot, see llms-full.txt. Append .md to any kestra.io/docs/* URL for plain Markdown.

Available on: Enterprise EditionCloud

Build custom UIs to interact with Kestra from the outside world.

What are Apps

Apps let you wrap any Kestra flow in a custom UI — forms for data entry, output displays, approval buttons, progress indicators, and markdown blocks — without writing any frontend code. Building and serving a frontend, connecting it to Kestra’s API, validating user inputs, handling responses, managing workflow outputs, and handling authentication and authorization: Apps take care of all of that.

Flows act as the backend, processing data and executing tasks. Apps act as the frontend, giving anyone — including business users without Kestra access — a clean interface to trigger executions, submit approvals, and view results.

Apps work well for external-facing forms and for internal workflows such as approvals, requests, and guided operations.


Common App patterns

The following patterns illustrate typical App designs:

  • FTP upload portal: give users a simple upload form while Kestra handles the backend credentials and transfer logic. See the business user Apps blog example.
  • Self-serve analytics request: let users choose a dimension and time range, run a query and chart generation flow, and return the generated output on SUCCESS. See the dynamic self-serve example.
  • AI-assisted intake or user research assistant: collect free-form context from a sales, product, or support team member, run an LLM-backed flow, and display the suggested answer or categorization back in the App. See the everyday automation example.
  • VM or infrastructure request: collect the requested environment, size, region, and justification on OPEN, show validation progress on RUNNING, pause for approval on PAUSE, then display the created VM details on SUCCESS. This pattern also fits the infrastructure workflows described in the infrastructure automation blog.
  • Human-in-the-loop review: display task outputs, logs, or model results, then let an approver accept or reject the execution from the same screen.

Mapping the user journey determines which blocks to use for each stage:

  1. What should the user submit?
  2. What should they see while the flow is running?
  3. Does the flow need approval or review?
  4. What is the final outcome you want to show back in the App?

Those answers determine which blocks to choose for each stage.

For more patterns, browse the Apps-focused posts in the blog section and solutions content.


How App stages map to execution progress

The stage-based model lets a single app guide users through the full request lifecycle, from submission through approval to delivery, by rendering different blocks based on the current execution state.

App stageWhat the user seesWhat usually happens in the flow
OPENThe initial form or landing pageNo execution exists yet. The user is about to submit a request.
CREATEDOptional confirmation that the request was acceptedKestra created the execution and is about to start processing it.
QUEUEDA waiting message and a cancel buttonThe execution is waiting for a free slot under a concurrency limit with behavior: QUEUE.
RUNNINGProgress text, logs, loading indicators, or intermediate outputsTasks are actively running.
PAUSEApproval or review screenThe flow is waiting on a paused task or a manual decision.
RESUMEPost-approval confirmation and follow-up detailsThe paused execution was resumed and continues running.
APPROVED, DENIED, EXPIREDThe outcome of an approval requestAn Approval task was approved, denied, or expired. APPROVED applies until the execution ends, then SUCCESS or FAILURE takes over.
SUCCESSFinal outputs, download links, or next-step buttonsThe execution completed successfully.
FAILURE, ERROR, FALLBACKError messages, logs, retry guidance, escalation linksThe execution did not complete as expected.

For example, a VM request app might start with an OPEN form, move to RUNNING while Kestra validates the request, switch to PAUSE while a platform engineer reviews the requested size and environment, then show SUCCESS once the VM has been provisioned.

This stage-based layout is what makes Apps easier for non-technical users: they don’t need to understand workflow internals, only the current step of their request.


Creating Apps in code

If you already have a flow, building an App is a single YAML file: point it at the flow’s namespace and flowId, define what users see at each execution stage with layout blocks, and save. No additional backend code is required — your flow is already the backend.

To create a new app, go to Apps and click + Create. Add your app configuration as YAML and click Save. Like flows, apps have multiple editor views — you can configure the app while viewing documentation, previewing the layout, or searching the blueprint repository.

Set disabled: true to stage an app before release. A disabled app does not appear in the catalog and cannot be opened via its URL until you enable it.

For the full list of available blocks and their properties, see App layout blocks below.

App Editor Views

App to run a Hello World flow

Every app is backed by a flow. The following flow accepts a name input and logs a message when triggered:

id: myflow
namespace: company.team
inputs:
- id: user
type: STRING
defaults: World
tasks:
- id: hello
type: io.kestra.plugin.core.log.Log
message: Hello {{ inputs.user }}

Then add an app that triggers that flow:

id: hello_world_form
type: io.kestra.plugin.ee.apps.Execution
displayName: Hello World Form
namespace: company.team
flowId: myflow
access:
type: PUBLIC
layout:
- on: OPEN
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Markdown
content: |
## Say hello
Enter a name and submit the form.
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionForm
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
text: Submit
- on: SUCCESS
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Alert
style: SUCCESS
showIcon: true
content: Your request completed successfully.
- type: io.kestra.plugin.ee.apps.execution.blocks.Logs

You can find a related example in the enterprise-edition-examples repository.

This app is PUBLIC, so anyone with the URL can access it without logging in. Set access.type to PRIVATE to restrict it to authenticated users.

App to request and download data

A common pattern is to let business users request a filtered dataset and download it as a file — no Kestra access required. The flow fetches data from an external API, filters and sorts it based on user inputs, writes a CSV, and surfaces a summary string and the file as typed flow outputs. The app wraps that flow in a form, shows a loading indicator while it runs, and presents the summary and a download button on success.

Flow:

id: product-report
namespace: company.ops
inputs:
- id: requested_by
type: STRING
displayName: Requested By
- id: category
type: SELECT
displayName: Product Category
values:
- smartphones
- laptops
- fragrances
- skincare
- groceries
- furniture
- id: min_rating
type: FLOAT
displayName: Minimum Rating
defaults: 4.0
- id: sort_by
type: SELECT
displayName: Sort By
values:
- rating
- price
- stock
tasks:
- id: fetch_products
type: io.kestra.plugin.core.http.Download
uri: "https://dummyjson.com/products/category/{{ inputs.category }}?limit=100"
- id: build_report
type: io.kestra.plugin.scripts.python.Script
containerImage: python:3.12-slim
inputFiles:
data.json: "{{ outputs.fetch_products.uri }}"
script: |
import csv
import json
with open("data.json") as f:
products = json.load(f)["products"]
filtered = [p for p in products if p["rating"] >= {{ inputs.min_rating }}]
filtered.sort(key=lambda p: p["{{ inputs.sort_by }}"], reverse=True)
fields = ["title", "brand", "category", "price", "rating", "stock", "discountPercentage"]
with open("report.csv", "w", newline="") as f:
writer = csv.DictWriter(f, fieldnames=fields, extrasaction="ignore")
writer.writeheader()
writer.writerows(filtered)
avg_price = sum(p["price"] for p in filtered) / len(filtered) if filtered else 0
avg_rating = sum(p["rating"] for p in filtered) / len(filtered) if filtered else 0
summary = (
f"Report for {{ inputs.requested_by }}: "
f"{len(filtered)} {{'{{ inputs.category }}'}} products rated ≥ {{ inputs.min_rating }}. "
f"Avg price ${avg_price:.2f} · Avg rating {avg_rating:.2f}/5 · "
f"Sorted by {{ inputs.sort_by }}."
)
print("::" + json.dumps({"outputs": {"summary": summary, "count": len(filtered)}}) + "::")
outputFiles:
- report.csv
outputs:
- id: report_summary
type: STRING
value: "{{ outputs.build_report.vars.summary }}"
- id: report_file
type: FILE
value: "{{ outputs.build_report.outputFiles['report.csv'] }}"

App:

id: product_report
type: io.kestra.plugin.ee.apps.Execution
namespace: company.ops
displayName: Product Report
flowId: product-report
access:
type: PRIVATE
catalog: true
layout:
- on: OPEN
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Markdown
content: "## Submit a request"
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionForm
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
text: Submit
- on: RUNNING
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Markdown
content: "## Keep this page open to see the results"
- type: io.kestra.plugin.ee.apps.core.blocks.Loading
- type: io.kestra.plugin.ee.apps.execution.blocks.Logs
- type: io.kestra.plugin.ee.apps.execution.blocks.CancelExecutionButton
text: Cancel request
style: WARNING
- on: SUCCESS
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Alert
style: SUCCESS
showIcon: true
content: Your request has completed.
- type: io.kestra.plugin.ee.apps.execution.blocks.Outputs
- type: io.kestra.plugin.ee.apps.execution.blocks.Logs
- type: io.kestra.plugin.ee.apps.core.blocks.Button
text: Submit a new request
url: "{{ app.url }}"
style: DEFAULT
- on: FAILURE
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Alert
style: ERROR
showIcon: true
content: The request failed. The logs below show what went wrong.
- type: io.kestra.plugin.ee.apps.execution.blocks.Logs
filter:
logLevel: ERROR

Interactive demo

This pattern works for any reporting or analytics use case where users need to request and download data without accessing Kestra directly.

App to request a VM and get it approved

Self-service infrastructure requests are one of the most common approval-based App patterns. A requester fills out a form with the VM size, environment, region, and business justification. The flow logs and validates the request, then pauses for review. A platform engineer opens the same app in its PAUSE state, sees the original request details, adds reviewer notes, and either approves (resumes the execution) or rejects (cancels it). On approval, the flow continues to provisioning.

This example demonstrates two distinct user roles interacting with the same app at different stages.

Flow:

id: vm-request
namespace: company.ops
inputs:
- id: requested_by
type: STRING
displayName: Requested By
- id: vm_size
type: SELECT
displayName: VM Size
values:
- "small (2 vCPU / 4 GB)"
- "medium (4 vCPU / 8 GB)"
- "large (8 vCPU / 16 GB)"
- id: environment
type: SELECT
displayName: Environment
values:
- dev
- staging
- production
- id: region
type: SELECT
displayName: Region
values:
- us-east-1
- eu-west-1
- ap-southeast-1
- id: justification
type: STRING
displayName: Business Justification
tasks:
- id: validate_request
type: io.kestra.plugin.core.log.Log
message: |
New VM request from {{ inputs.requested_by }}.
Size: {{ inputs.vm_size }}, Environment: {{ inputs.environment }}, Region: {{ inputs.region }}.
Justification: {{ inputs.justification }}
- id: await_approval
type: io.kestra.plugin.core.flow.Pause
onResume:
- id: notes
type: STRING
displayName: Reviewer Notes
required: false
- id: provision_vm
type: io.kestra.plugin.core.log.Log
message: |
Provisioning {{ inputs.vm_size }} in {{ inputs.environment }}/{{ inputs.region }} for {{ inputs.requested_by }}.
Reviewer notes: {{ resume.notes }}

The Pause task’s onResume inputs define what the reviewer submits when approving — in this case, optional notes. Those values are available to downstream tasks as {{ resume.<id> }}.

App:

id: vm_request
type: io.kestra.plugin.ee.apps.Execution
displayName: VM Request
namespace: company.ops
flowId: vm-request
access:
type: PRIVATE
catalog: true
layout:
- on: OPEN
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Markdown
content: |
## Request a Virtual Machine
Fill in the details below. Your request will be validated and sent for approval before provisioning begins.
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionForm
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
text: Submit Request
style: SUCCESS
- on: RUNNING
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Markdown
content: "## Validating your request…"
- type: io.kestra.plugin.ee.apps.core.blocks.Loading
- type: io.kestra.plugin.ee.apps.execution.blocks.Logs
- on: PAUSE
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Markdown
content: |
## Review this VM request
Inspect the request details below, then approve or reject.
- type: io.kestra.plugin.ee.apps.execution.blocks.Inputs
- type: io.kestra.plugin.ee.apps.execution.blocks.ResumeExecutionForm
- type: io.kestra.plugin.ee.apps.execution.blocks.ResumeExecutionButton
text: Approve
style: SUCCESS
- type: io.kestra.plugin.ee.apps.execution.blocks.CancelExecutionButton
text: Reject
style: DANGER
- on: SUCCESS
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Alert
style: SUCCESS
showIcon: true
content: Your VM has been provisioned.
- type: io.kestra.plugin.ee.apps.execution.blocks.Logs
- type: io.kestra.plugin.ee.apps.core.blocks.Button
text: Submit a new request
url: "{{ app.url }}"
style: DEFAULT
- on: FAILURE
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Alert
style: ERROR
showIcon: true
content: The request could not be processed. Review the logs for details.
- type: io.kestra.plugin.ee.apps.execution.blocks.Logs
filter:
logLevel: ERROR

The PAUSE stage shows the original request inputs (ExecutionInputs), the onResume form for reviewer notes (ResumeExecutionForm), and the approve/reject buttons. Clicking Approve resumes the execution; clicking Reject cancels it.

When the flow uses an Approval task instead of Pause, use the ApprovalReview block for the review and the APPROVED and DENIED stages for the outcome. See Review from an App.

This pattern applies directly to database access requests, sandbox environment creation, firewall rule approvals, SaaS account provisioning, and any other workflow that needs a human gate before it continues.

Show a queued execution

When the flow has a concurrency limit with behavior: QUEUE, an execution can wait for a free slot before it starts. Add a QUEUED layout to tell users their request is waiting, and let them cancel it:

layout:
- on: QUEUED
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Markdown
content: "## Your request is queued and will start shortly"
- type: io.kestra.plugin.ee.apps.execution.blocks.CancelExecutionButton
text: Cancel
- on: RUNNING
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Loading

The QUEUED layout follows the execution, so the app moves on by itself once the execution leaves the queue.

Always add a RUNNING layout with a QUEUED one. A new execution starts as CREATED, which the RUNNING stage covers. Without a RUNNING layout, the app shows an empty page right after the user submits the request and never shows the QUEUED layout.

Lay out blocks in a grid

Blocks stack in a single column by default. Use the Grid block to place blocks side by side, for example Outputs next to Logs, or a form next to its button.

- type: io.kestra.plugin.ee.apps.core.blocks.Grid
columns: 2
blocks:
- type: io.kestra.plugin.ee.apps.execution.blocks.Outputs
- type: io.kestra.plugin.ee.apps.execution.blocks.Logs
PropertyApplies toDescription
columnsGridThe number of columns, from 1 to 12. Defaults to 1.
gapGridThe space between cells: NONE, SMALL, MEDIUM, LARGE or EXTRA_LARGE. Defaults to MEDIUM.
blocksGridThe blocks to display. At least one is required.
spanevery blockThe number of columns the block takes in the grid that holds it, from 1 to the columns of that grid. Defaults to 1 and is ignored outside a Grid.

Blocks flow from left to right and wrap when the row is full. A span larger than the columns of its grid is rejected when the app is saved. On a narrow screen, below 40rem of available width, the grid collapses to a single column and every span is ignored.

The example below uses three columns. The second card takes two of them, and the third takes the full row.

- type: io.kestra.plugin.ee.apps.core.blocks.Grid
columns: 3
gap: LARGE
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Markdown
content: "**Card A** - one column"
- type: io.kestra.plugin.ee.apps.core.blocks.Markdown
span: 2
content: "**Card B** - spans two columns"
- type: io.kestra.plugin.ee.apps.core.blocks.Markdown
span: 3
content: "**Card C** - spans the full row"

A cell holds exactly one block. To put several blocks in one cell, nest a Grid in it. The example below shows a form and its submit button in different cells, with the button and two text blocks grouped in a nested grid.

- type: io.kestra.plugin.ee.apps.core.blocks.Grid
columns: 2
blocks:
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionForm
- type: io.kestra.plugin.ee.apps.core.blocks.Grid
columns: 2
gap: SMALL
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Markdown
content: "Nested cell 1"
- type: io.kestra.plugin.ee.apps.core.blocks.Markdown
content: "Nested cell 2"
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
span: 2
text: Submit

App with a grid of blocks

Blocks inside a grid follow the same rules as top-level blocks. For example, ExecutionAssets can only be used on the SUCCESS and FAILURE stages, wherever it sits in the layout.

In the no-code editor, a Grid is added like any other block. Select it to edit its columns and gap, or select a block inside it to edit that block and its span. Blocks inside a grid can be duplicated, deleted and reordered within the grid, and the block list shows the nesting.

Editing a grid in the no-code editor


Creating Apps without code

Apps can also be built using the no-code editor. Every block, property, and configuration option available in YAML is fully supported visually. Changes made in the no-code editor are immediately reflected in the code view, and vice versa — teams can switch between approaches at any time without losing the underlying YAML definition.


App catalog

The App Catalog lists all available apps in a tenant. Filter by name, type, namespace, or tags. From this page you can also create new apps, edit existing ones, enable or disable individual apps, or delete them.

apps_catalog

Kestra provides a direct access URL to the Apps Catalog in the format http://your_host/ui/your_tenant/apps/catalog. Any Kestra user with APP: LIST permission on at least one namespace in that tenant can reach this URL.

The catalog page requires authentication, so it is never publicly accessible. Users see only the apps they are permitted to see based on their RBAC permissions. You can limit visibility to specific groups by setting the groups property in the access block:

access:
catalog: true
type: PRIVATE
groups:
- Admins

Hiding an app from the catalog

Setting catalog: false removes the app from the browseable catalog while keeping its direct URL functional — suited to apps shared with a specific audience via URL.

access:
catalog: false
type: PRIVATE

Managing apps in bulk

From the Apps Catalog, you can select multiple apps and enable, disable, or delete them in a single operation. Bulk operations report partial failures individually so you can see which apps were affected and which were not.

You can also export a selection of apps as a ZIP archive (kestra-{tenant}-apps.zip) and import that archive — or a multi-document YAML file — into another tenant or environment. The export produces one {namespace}-{id}.yaml file per app. On import, each app is validated independently; errors are reported per file so a single bad app does not block the rest.

Customize the Apps Catalog

Customize the catalog’s title, colors, and banner image to match your organization’s look and feel. Go to Instance Owner, then in the left sidebar under your tenant, click Apps Catalog.

Apps Catalog Customization

The configuration panel lets you set a Title, Title Color, Primary Color (used for buttons), Background Color, Tile Color, Button Text Color, and a Banner image displayed at the top of the catalog page.

Once saved, open the Apps Catalog to see your branding:

Apps Catalog Branding

Access these settings any time from the gear icon in the catalog.

App tags

Add custom tags to organize and filter apps in the catalog. For example: DevOps, data-team, project-x.


App URL

Each app has a unique URL — share it with team members, customers, or partners, or embed it in internal tools. Anyone with the link (and appropriate access) can open the app directly.

The URL format is: https://yourHost/ui/tenantId/apps/appUid, for example http://localhost:8080/ui/release/apps/5CS8qsm7YTif4PWuAUWHQ5.

Copy the URL from the Apps Catalog.

App expressions

From within flows, you can generate app URLs using the Enterprise-only appLink expression. See Workflow Functions for parameters and examples.


App access and RBAC permissions

Each app has an access block that controls who can open and submit it. App permissions come from the APP resource on the app’s namespace, not from the flow the app runs.

How apps, flows, and namespaces relate

An app belongs to one namespace and runs one flow in that same namespace. The app’s namespace property sets both: Kestra looks up flowId in the app’s namespace, so an app cannot target a flow in another namespace. To build an app for a flow in company.team, create the app in company.team.

Kestra checks only APP permissions when someone builds or uses an app. It does not check FLOW or EXECUTION permissions:

  • A user with APP: CREATE on a namespace can build an app for any flow in that namespace, including flows they cannot view.
  • A user with APP: EXECUTE on a namespace can open that namespace’s PRIVATE apps and start executions of their flows without any FLOW or EXECUTION permission.
  • Anyone with the URL can open a PUBLIC app and start executions of its flow.

This separation lets you give business users or partners an app without giving them access to the flow’s code or the rest of the Kestra UI. The app limits what its users can reach: through the app, they see only executions of the app’s flow, executions of subflows those executions started, or the single execution set in the app’s executionId property.

Public access

When an app is set to PUBLIC, anyone with the URL can open the form and submit requests without logging in. This is suitable for public-facing forms, surveys, or intake pages you share via email or embed on a website.

Private access for using apps

When an app is set to PRIVATE, only users with APP: EXECUTE permission on the app’s namespace can open or submit it. PRIVATE apps are also only visible in the App Catalog to users with APP: EXECUTE — they do not appear for users who only hold APP: LIST or APP: VIEW. You can further narrow access to specific IAM groups using the groups field:

access:
type: PRIVATE
groups:
- DataOps
- Finance

Group membership is checked at runtime on every request. Users who belong to at least one listed group are granted access; users outside those groups are denied even if they have APP: EXECUTE permission on the namespace. If groups is omitted, any authenticated user with APP: EXECUTE permission on the namespace can use the app. Instance Owners are never restricted by groups: they see the app in the catalog and can open it without belonging to a listed group.

APP: EXECUTE is namespace-scoped. A user with APP: EXECUTE on company.team cannot dispatch an app in company.other, even if both apps appear in the same catalog view.

This makes the PRIVATE + groups combination useful when you want to allow a specific group of business stakeholders or external partners to use an app without giving them access to the broader Kestra UI.

Private access for building apps

The APP resource controls who can create, view, update, or delete apps within a tenant. It can be scoped to specific namespaces. APP: EXECUTE, APP: ACCESS_FILES, and APP: ACCESS_LOGS govern the ability to submit requests through an app and access its artifacts; the remaining APP actions govern the ability to build and manage apps.

Previewing an app in the editor requires APP: CREATE from a role assigned at the tenant level, not scoped to a namespace. A user whose APP: CREATE is scoped to specific namespaces can save apps in those namespaces but cannot preview them.

Permissions reference

Each action below checks only the listed APP permission. No action checks FLOW or EXECUTION permissions.

ActionRequired permissionScope
Open the App CatalogAPP: LISTAny namespace in the tenant
See a PRIVATE app in the catalogAPP: EXECUTE, plus membership in a listed group if groups is setThe app’s namespace
View an app’s sourceAPP: VIEWThe app’s namespace
Create or import an appAPP: CREATEThe app’s namespace
Preview an app in the editorAPP: CREATETenant-wide role
Update, enable, or disable an appAPP: UPDATEThe app’s namespace
Delete an appAPP: DELETEThe app’s namespace
Open or submit a PRIVATE appAPP: EXECUTE, plus membership in a listed group if groups is setThe app’s namespace
Preview or download files from a PRIVATE appAPP: ACCESS_FILESThe app’s namespace
Download logs from a PRIVATE appAPP: ACCESS_LOGSThe app’s namespace
Open or submit a PUBLIC appNoneNot applicable

App executions

Each time a user creates an execution by submitting a form in the app, a new execution is generated with the system label system.app and a value of yourAppId. For example, to filter all executions created by the computeResourcesForm app, you can search for system.app:computeResourcesForm in the label filter.

App executions also carry system.from: app. When a signed-in user submits the app, the execution carries system.username with that user’s username. Executions from anonymous users of a PUBLIC app have no system.username label. Because running an app requires no FLOW or EXECUTION permission, use these labels to audit who started executions through apps.

For every execution, you can track the user inputs, see the current state, view logs, and check the outputs — all from the Kestra UI. This lets you observe, troubleshoot, and manage app executions just as you would any other workflow execution.


App expiration

You can limit an app to a specific time window using the expiration property. Once the window closes, the app is filtered out of the catalog and blocks new submissions — existing executions are unaffected.

id: survey_form
type: io.kestra.plugin.ee.apps.Execution
displayName: Q2 Survey
namespace: company.team
flowId: survey_processor
access:
type: PUBLIC
expiration:
startDate: "2025-06-01T00:00:00Z"
endDate: "2025-06-30T23:59:59Z"
layout:
- on: OPEN
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Markdown
content: "## Please complete the survey before the end of June."
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionForm
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
text: Submit

Both fields are optional:

  • Omit startDate and the app is available immediately.
  • Omit endDate and the app never expires.
  • Omit expiration entirely and the app stays active indefinitely.

startDate and endDate accept any of these formats:

FormatExampleRead as
Date"2025-06-30"Midnight (00
) at the start of that day, in the server time zone
Date-time without offset"2025-06-30T23:59:59"The server time zone
Date-time with offset"2025-06-30T23:59:59+02:00" or "2025-06-30T23:59:59Z"The given offset

A plain date as endDate ends the window at the start of that day. To keep an app available through the whole of a day, use a date-time such as "2025-06-30T23:59:59Z".

Expiration is evaluated against the server clock at the moment a user opens or submits the app. When someone opens an app after its endDate, they see a “This app has expired” page instead of the app.


App thumbnails

Add a thumbnail to give catalog users a visual indicator of what the app does. Upload an image file as a namespace file to the same namespace as the app’s connected flow. Supported formats include .svg, .jpg, and .png. The example below adds kestra-icon.svg.

Namespace Files tab of company.team with kestra-icon.svg open in the editor

In your app code, add the thumbnail string property and point it toward the correct namespace file using nsfiles:///<your-file>. For example:

id: request_data_form
type: io.kestra.plugin.ee.apps.Execution
displayName: Form to request and download data
namespace: company.team
flowId: get_data
thumbnail: "nsfiles:///kestra-icon.svg" # Point this property to the correct namespace file.
access:
type: PRIVATE
tags:
- Reporting
- Analytics

Once added, open the Apps Catalog — a new thumbnail displays on the connected app:

Apps Catalog with the Form to request and download data app showing its Kestra icon thumbnail


App window width

Use the window.width property to choose how wide the app is rendered. Pick a preset that adapts to the screen, or pin the app to a fixed CSS length.

id: survey_form
type: io.kestra.plugin.ee.apps.Execution
displayName: Q2 Survey
namespace: company.team
flowId: survey_processor
access:
type: PUBLIC
window:
width: NARROW
layout:
- on: OPEN
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Markdown
content: "## Please complete the survey."
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionForm
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
text: Submit
ValueBest forBehavior
AUTOMost apps. Same as leaving window out.The app grows with the window up to 1440px. Text, forms, alerts and buttons stay in a centered 768px reading column, while data blocks such as Table, Logs, Gantt and Grid take the full width of the app.
NARROWApps that only hold a form.The app stays at the width of the reading column on large screens, and takes the whole width on small ones.
WIDEApps that show a lot of data, such as tables, logs, charts or multi-column grids.The app uses the whole window on large screens, without the 1440px limit of AUTO. Text and forms stay in the reading column.
A CSS lengthApps that need an exact width.The app is as wide as the value you set, for example 800px, 60rem or 75%. It never gets wider than the window.

Presets are written in upper case. A CSS length is a number followed by one of px, rem, em, ch, vw or %. Any other value is rejected when you save the app, with the message must be AUTO, NARROW, WIDE or a CSS length such as 800px, 60rem or 100%.

The same app and execution on a 2560px wide screen, with NARROW, AUTO and WIDE:

App with width NARROW

App with width AUTO

App with width WIDE


App layout blocks

Each app layout is a list of stage-specific blocks. Each block renders when the execution reaches the matching stage, such as OPEN, QUEUED, RUNNING, PAUSE, or SUCCESS. Combine blocks to guide users through the full lifecycle of a request: a form on OPEN, a progress indicator on RUNNING, and a download link and logs on SUCCESS.

If a layout uses a block on a stage that isn’t listed for it, saving the app fails with Invalid layout. Block '<type>' is not supported for layout on '<stage>'.

Block typeAvailable onPropertiesExample
MarkdownAll stages- content (Pebble template)- type: io.kestra.plugin.ee.apps.core.blocks.Markdown
    content: "## Please validate the request. Inspect the logs and outputs below. Then, approve or reject the request."
ImageAll stages- source: URL or data: URI
- altText
- title
- style: custom CSS
- type: io.kestra.plugin.ee.apps.core.blocks.Image
    source: "{{ dataURL('nsfile:///logo.svg') }}"
    altText: "Company logo"
RedirectToAll stages- url: redirect URL
- delay: delay in seconds
- type: io.kestra.plugin.ee.apps.core.blocks.RedirectTo
    url: "https://kestra.io/docs"
    delay: "PT60S"
CreateExecutionFormOPENNone- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionForm
ResumeExecutionFormPAUSENone- type: io.kestra.plugin.ee.apps.execution.blocks.ResumeExecutionForm
CreateExecutionButtonOPEN- text
- style: DEFAULT, PRIMARY, SUCCESS, INFO, WARNING, DANGER
- size: DEFAULT, SMALL, LARGE
- fullWidth
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
    text: "Submit"
    style: "SUCCESS"
    size: "LARGE"
CancelExecutionButtonQUEUED, RUNNING, PAUSE- text
- style: DEFAULT, PRIMARY, SUCCESS, INFO, WARNING, DANGER
- size: DEFAULT, SMALL, LARGE
- fullWidth
- type: io.kestra.plugin.ee.apps.execution.blocks.CancelExecutionButton
    text: "Reject"
    style: "DANGER"
    size: "SMALL"
ResumeExecutionButtonPAUSE- text
- style: DEFAULT, PRIMARY, SUCCESS, INFO, WARNING, DANGER
- size: DEFAULT, SMALL, LARGE
- fullWidth
- type: io.kestra.plugin.ee.apps.execution.blocks.ResumeExecutionButton
    text: "Approve"
    style: "SUCCESS"
    size: "LARGE"
ApprovalReviewPAUSE- commentLabel
- size: DEFAULT, SMALL, LARGE
- fullWidth
- type: io.kestra.plugin.ee.apps.execution.blocks.ApprovalReview
CancelApprovalRequestButtonPAUSE- text
- style: DEFAULT, PRIMARY, SUCCESS, INFO, WARNING, DANGER
- size: DEFAULT, SMALL, LARGE
- fullWidth
- type: io.kestra.plugin.ee.apps.execution.blocks.CancelApprovalRequestButton
ExecutionInputsQUEUED, PAUSE, RESUME, APPROVED, DENIED, EXPIRED, SUCCESS, FAILURE- filter: include, exclude- type: io.kestra.plugin.ee.apps.execution.blocks.Inputs
    filter:
        include: []
        exclude: []
ExecutionOutputsAPPROVED, DENIED, EXPIRED, SUCCESS, FAILURE- filter: include, exclude- type: io.kestra.plugin.ee.apps.execution.blocks.Outputs
    filter:
        include: []
        exclude: []
ExecutionAssetsSUCCESS, FAILURE- filter: include, exclude (asset types)- type: io.kestra.plugin.ee.apps.execution.blocks.Assets
    filter:
        include:
          - io.kestra.plugin.ee.assets.VM
ExecutionLogsAll stages- filter: logLevel, taskIds- type: io.kestra.plugin.ee.apps.execution.blocks.Logs
    filter:
        logLevel: "INFO"
        taskIds: []
ExecutionGanttRUNNING, PAUSE, RESUME, SUCCESS, FAILURE- filter: include, exclude (task IDs)- type: io.kestra.plugin.ee.apps.execution.blocks.Gantt
    filter:
        exclude: []
ChartAll stages- chart: a dashboard chart definition- type: io.kestra.plugin.ee.apps.core.blocks.Chart
    chart:
        id: executions
        type: io.kestra.plugin.core.dashboard.chart.Bar
LoadingAll stagesNone- type: io.kestra.plugin.ee.apps.core.blocks.Loading
AlertAll stages- style: SUCCESS, WARNING, ERROR, INFO
- showIcon: true, false
- type: io.kestra.plugin.ee.apps.core.blocks.Alert
    style: "WARNING"
    showIcon: true
    content: "An error occurred!"
ButtonAll stages- text
- url
- style: DEFAULT, PRIMARY, SUCCESS, INFO, WARNING, DANGER
- size: DEFAULT, SMALL, LARGE
- fullWidth
- type: io.kestra.plugin.ee.apps.core.blocks.Button
    text: "More examples"
    url: "https://github.com/kestra-io/examples"
    style: "INFO"
TaskOutputsPAUSE, RESUME, APPROVED, DENIED, EXPIRED, SUCCESS, FAILURE- outputs: list of outputs with displayName, value, and type- type: io.kestra.plugin.ee.apps.execution.blocks.TaskOutputs
    outputs:
        - displayName: My Task Output
        value: "{{ outputs.test.value }}"
        type: FILE

Pebble expressions in Markdown blocks

The Markdown block’s content property is a Pebble template. {{ inputs.<id> }} is available in the render context across all layout stages.

On the OPEN stage, when the layout includes a CreateExecutionForm, {{ inputs.<id> }} updates live as the user interacts with the form, useful for context-sensitive descriptions that react to dropdown changes. Before the user interacts with the form, it resolves to each input’s default value.

On all other stages (CREATED, RUNNING, PAUSE, RESUME, SUCCESS, FAILURE), {{ inputs.* }} references the execution’s submitted values.

For example, given a flow with a product SELECT input, the app below renders the current selection inline on OPEN and confirms it on SUCCESS:

id: software_request_form
type: io.kestra.plugin.ee.apps.Execution
displayName: Software Request Form
namespace: company.team
flowId: software_request
access:
type: PRIVATE
layout:
- on: OPEN
blocks:
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionForm
- type: io.kestra.plugin.ee.apps.core.blocks.Markdown
content: "You are requesting access to: **{{ inputs.product }}**"
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
text: Submit
- on: SUCCESS
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Markdown
content: "Access granted for: **{{ inputs.product }}**"
- type: io.kestra.plugin.ee.apps.core.blocks.Alert
style: SUCCESS
content: Your request has been submitted.

Secrets in app blocks

App blocks render their expressions before Kestra sends the page to the browser, including for PUBLIC apps. To keep secrets out of the page, {{ secret('...') }} renders as ****** in every block, as it does in execution logs. This includes the URL of a Button or RedirectTo block. Other functions such as kv() aren’t masked, so don’t use them to read sensitive values in a block.

Embedding images

Image and Markdown blocks render images from a URL or a data: URI. To show an image stored in Kestra, such as a namespace file or a file produced by the flow, use the dataURL() expression function to convert it into a data: URI.

Namespace files

nsfile:// URIs resolve in the top-level thumbnail field but not in block properties such as Image.source or image references inside Markdown content. Passing nsfile:///logo.svg directly to source results in a broken image with no error in the server log. Wrap the URI in dataURL() instead:

# Image block
- type: io.kestra.plugin.ee.apps.core.blocks.Image
source: "{{ dataURL('nsfile:///report.svg') }}"
altText: "Report chart"
# Markdown block
- type: io.kestra.plugin.ee.apps.core.blocks.Markdown
content: |
![Report chart]({{ dataURL('nsfile:///report.png') }})

dataURL() infers the MIME type from the file extension. For files with unrecognized extensions, pass mimeType explicitly:

{{ dataURL('nsfile:///report.unknown', mimeType='image/png') }}

To read from a different namespace, pass namespace:

{{ dataURL('nsfile:///logo.svg', namespace='other.namespace') }}

Files produced by the flow

To show an image that the flow generates, such as a chart or a report preview, expose the file as a flow output. The following flow writes an SVG file and exposes it as the chart output:

id: render_chart
namespace: company.team
tasks:
- id: chart
type: io.kestra.plugin.core.storage.Write
content: '<svg xmlns="http://www.w3.org/2000/svg" width="120" height="40"><rect width="120" height="40" fill="#8405FF"/></svg>'
extension: .svg
outputs:
- id: chart
type: FILE
value: "{{ outputs.chart.uri }}"

On the SUCCESS stage, pass execution.outputs.<id> to dataURL(). The function infers the MIME type from the file extension, so the output file needs an image extension such as .svg or .png:

- on: SUCCESS
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Image
source: "{{ dataURL(execution.outputs.chart) }}"
altText: "Generated chart"
- type: io.kestra.plugin.ee.apps.core.blocks.Markdown
content: |
![Generated chart]({{ dataURL(execution.outputs.chart) }})

Assets emitted by an execution

The Assets block lists the assets an execution emitted or updated, with their display name, type, status, lease, owner and metadata. Use it in self-service provisioning flows where the resource the requester asked for is tracked as an asset rather than a flow output.

- on: SUCCESS
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Markdown
content: "## Your virtual machine is ready"
- type: io.kestra.plugin.ee.apps.execution.blocks.Assets
filter:
include:
- io.kestra.plugin.ee.assets.VM
  • Only assets the execution emitted or updated are listed. Assets it merely read as inputs are left out.
  • filter matches the asset type, so a single Terraform apply or dbt build emitting dozens of assets can be narrowed to the ones the app user cares about. include keeps only the listed types, exclude drops them.
  • Assets and groups follow the order in which the execution emitted them.
  • The layout adapts to the number of assets, so there is nothing to configure:
    • One asset is shown as a summary card with its name, type, status, lease and owner, followed by every metadata key as a label and a value.
    • A few assets (up to 12) get one card each, with the first metadata keys as key facts.
    • Many assets are shown as compact rows that expand to the full details, with a search and filters on type and status. Each group shows its first 10 rows and a button to show the rest.
  • Assets are grouped by the asset they are partOf, for example the deployment their resources belong to. The parent is the header of its group, with its own status, lease and owner, and assets without a parent are listed last.
  • The reserved metadata keys have a renderer of their own: system.status renders as a status pill, system.ttl as a lease countdown and system.owner as the owning user or team. Every other metadata key is shown as a plain value, and other system. keys are hidden.
  • The asset name links to the asset detail page for viewers holding ASSET:VIEW on the asset’s namespace. For an asset without a namespace, the viewer needs ASSET:VIEW across the tenant. Otherwise, and when the app is opened at a URL without a tenant, the name is plain text. The block itself requires no asset permission beyond app access, so a public app can show it to anonymous visitors. It is read-only: day-2 actions stay on the asset page.
  • The block is available on SUCCESS and FAILURE. On failure, a partially provisioned resource is often what explains what went wrong.
  • When the execution emitted no asset, the block says so instead of rendering an empty block.

Execution outputs

Two blocks display execution outputs as a table with one row per output. They differ in where the values come from:

BlockReads fromUse it when
OutputsThe flow’s outputs propertyThe flow declares outputs, or you can add them
TaskOutputsTask outputs that you select in the blockYou want to show task outputs without changing the flow

Flow outputs with the Outputs block

The Outputs block shows only flow outputs. Task outputs aren’t included. If the flow has no outputs property, the block renders nothing and no error is raised.

The following flow downloads a CSV file and exposes it as a flow output:

id: fetch_orders
namespace: company.team
tasks:
- id: download
type: io.kestra.plugin.core.http.Download
uri: https://huggingface.co/datasets/kestra/datasets/raw/main/csv/orders.csv
outputs:
- id: orders_file
type: FILE
displayName: Orders CSV
value: "{{ outputs.download.uri }}"

An app built on this flow can then show the file on SUCCESS:

- on: SUCCESS
blocks:
- type: io.kestra.plugin.ee.apps.execution.blocks.Outputs
filter:
include:
- orders_file
  • Each row is labeled with the output’s displayName, or with its id when no display name is set.
  • filter matches the output id. include keeps only the listed outputs, exclude drops them. Without a filter, the block shows every flow output.
  • The block is available on SUCCESS and FAILURE.

Task outputs with the TaskOutputs block

The TaskOutputs block reads task outputs directly, so the flow doesn’t need an outputs property. List each value to show in the block’s outputs property. The following layout shows the same file as the previous example, read from the download task:

- on: SUCCESS
blocks:
- type: io.kestra.plugin.ee.apps.execution.blocks.TaskOutputs
outputs:
- displayName: Orders CSV
type: FILE
value: "{{ outputs.download.uri }}"
  • Each entry requires displayName, type, and value. description is optional.
  • value expressions can reference task outputs only, using {{ outputs.<task_id>.<property> }}. Referencing any other variable, such as inputs, makes the app fail with an Application Error message.
  • The block is available on PAUSE, RESUME, SUCCESS, and FAILURE. On PAUSE, use it to show intermediate results to an approver before they resume the execution.

File preview and download

The Outputs and TaskOutputs blocks can render file download links for outputs stored in Kestra’s internal storage. File preview, metadata, and download are only available when:

  • The app type is io.kestra.plugin.ee.apps.Execution.
  • The layout includes an Outputs or TaskOutputs block.
  • The storage path belongs to an execution that the app has access to.

By default, file preview shows the first 100 rows. You can change this server-side with kestra.server.preview.initial-rows (default 100) and cap it with kestra.server.preview.max-rows (default 5000).

Log download

The ExecutionLogs block renders an inline log viewer. When a Logs block is present in the layout, users can also download the full log file directly from the app. Log download is only available for Execution-type apps that include a Logs block in their layout.

Execution progress as a Gantt chart

The Gantt block shows a simplified version of the execution Gantt view: one bar per task run, with its state and duration, nested under its parent task. Use it on long-running flows, so app users who cannot log in to Kestra can follow the progress instead of a loading indicator.

- on: RUNNING
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Markdown
content: "Provisioning is in progress, please keep this window open."
- type: io.kestra.plugin.ee.apps.execution.blocks.Gantt
filter:
exclude:
- technical_step
  • On a RUNNING layout, the chart updates as the execution progresses, without any extra configuration.
  • The block shows only task IDs, states and durations. It shows no logs, outputs, iteration values or task actions, so a public app can show it to anonymous visitors.
  • filter matches the task ID. include keeps only the listed tasks, exclude drops them, which is useful to hide technical steps the app user does not need to follow.
  • The block is available on RUNNING, PAUSE, RESUME, SUCCESS and FAILURE. Add it to SUCCESS and FAILURE too to keep the final timings visible once the execution ends.

Dashboard charts

The Chart block displays a dashboard chart in an app. Use it when an app surfaces numbers, such as a cost report, a data quality run or a batch summary, that read better as a chart than as a table of rows.

- on: SUCCESS
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Markdown
content: "## Rows loaded per run"
- type: io.kestra.plugin.ee.apps.core.blocks.Chart
chart:
id: rows_loaded
type: io.kestra.plugin.core.dashboard.chart.TimeSeries
chartOptions:
displayName: Rows loaded per run
column: date
data:
type: io.kestra.plugin.core.dashboard.data.Metrics
columns:
date:
field: DATE
rows:
field: VALUE
agg: SUM
where:
- field: FLOW_ID
type: EQUAL_TO
value: pg-upgrade
- field: NAME
type: EQUAL_TO
value: rows.loaded
  • chart is a verbatim io.kestra.plugin.core.dashboard.chart.* definition with the same properties and the same chart types as in a dashboard.
  • chartOptions.width is ignored, the width of the chart comes from the app layout. Use a Grid block to place several charts side by side.
  • Like in a dashboard, the chart covers the last 7 days unless its where filters say otherwise.
  • The block shows at most 1000 rows. A Table chart pages through them.
  • The data is read for the tenant of the app, using the data sources of dashboards such as Executions, Flows, Triggers or Metrics, with the permissions of the viewer. A user of a private app sees only the data they are allowed to see, and an anonymous visitor of a public app gets no data from a source protected by namespace permissions such as Executions. Use charts in private apps.
  • When the query fails, for example on a timeout, the block renders as empty and the rest of the app keeps working.

Chart block in an app

In the no-code editor, a Chart block is added like any other block. Select it to choose the type of chart and its data source, such as a KPI on Executions, then edit the chart’s properties, and its span inside a Grid. Each chart is listed by its name in the block list, for example Chart · Success ratio, so several charts in one app can be told apart. The name is the displayName of the chart, or its id when it has none.

Editing a chart in the no-code editor

Was this page helpful?