Superset dashboards Trigger
Certified
Trigger flow on Superset dashboard change
Superset dashboards Trigger
Trigger flow on Superset dashboard change
Polls Apache Superset dashboards and triggers an execution when one or more dashboards are created or modified since the persisted namespace KV Store watermark.
type: io.kestra.plugin.superset.dashboards.TriggerExamples
Watch for dashboard modifications
id: on_superset_change
namespace: company.team
triggers:
- id: watch
type: io.kestra.plugin.superset.dashboards.Trigger
url: "{{ secret('SUPERSET_URL') }}"
username: "{{ secret('SUPERSET_USER') }}"
password: "{{ secret('SUPERSET_PASSWORD') }}"
interval: PT5M
tasks:
- id: handle_event
type: io.kestra.plugin.core.log.Log
message: "Event received: {{ trigger.dashboards[0].dashboard_title }}"
Installation
Our standard Docker images already include this plugin. If you use a -slim image or another setup, install it with the following command:
kestractl plugins get io.kestra.plugin:plugin-superset --compatible-for $KESTRA_VERSION For kestractl, use your Kestra version with --compatible-for, or specify an exact plugin version.
Properties
password *string
The Superset password
Password associated with the Superset username. Always store this value in a Kestra secret.
url *string
The Superset API base URL
Base URL of the Apache Superset API, including the /api/v1 path suffix
(for example https://superset.example.com/api/v1).
username *string
The Superset username
Username used to authenticate against Apache Superset via POST /security/login.
allowConcurrent boolean
falseSpecifies whether a trigger is allowed to start a new execution even if a previous run is still in progress.
interval string
PT5MdurationInterval between polling evaluations
Duration between two consecutive polls of the Superset dashboard endpoint (defaults to 5 minutes).
provider string
dbAuthentication provider
Superset authentication provider passed to /security/login.
Supported values include db (default), ldap, oauth, and oid.
stopAfter array
CREATEDSUBMITTEDRUNNINGPAUSEDRESTARTEDKILLINGSUCCESSWARNINGFAILEDKILLEDCANCELLEDQUEUEDRETRYINGRETRIEDSKIPPEDBREAKPOINTRESUBMITTEDList of execution states after which a trigger should be stopped (a.k.a. disabled).
when string
trueA condition that determines whether the trigger should run.
A Pebble expression evaluated at trigger time. The trigger fires only when the expression evaluates to a truthy value (true, a non-empty string, a non-zero number). Use this to gate trigger execution on dynamic runtime values such as execution labels, flow variables, or environment conditions.
Outputs
count integer
Number of modified dashboards detected
dashboards array
All dashboards modified since the last watermark
io.kestra.plugin.superset.dashboards.Trigger-DashboardItem
Last modification UTC timestamp
Dashboard title
Dashboard ID