
Slack Open
CertifiedOpen a Slack view
Slack Open
Open a Slack view
Opens a modal view in Slack using a trigger ID.
type: io.kestra.plugin.slack.app.views.OpenExamples
Open a Slack modal
id: slack_open_view
namespace: company.team
tasks:
- id: open_view
type: io.kestra.plugin.slack.app.views.Open
token: "{{ secret('SLACK_TOKEN') }}"
triggerId: "{{ trigger.body.trigger_id }}"
view:
type: modal
title:
type: plain_text
text: Hello
close:
type: plain_text
text: Close
blocks:
- type: section
text:
type: mrkdwn
text: Hello from Kestra!
Properties
token *string
Slack token
triggerId *string
Slack trigger ID
Trigger ID returned by Slack when opening a modal.
view *object
View JSON
JSON definition of the Slack view to open.
assets
Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.
io.kestra.core.models.assets.AssetsDeclaration
IGNOREFAILWARNAsset failure behavior
Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.
Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.
The assets consumed as inputs.
io.kestra.core.models.assets.AssetIdentifier
1The assets produced as outputs.
io.kestra.plugin.ee.assets.Dataset
1150{}1150io.kestra.plugin.ee.assets.File
1150{}1150io.kestra.plugin.ee.assets.Table
1150{}1150io.kestra.plugin.ee.assets.VM
1150{}1150io.kestra.core.models.assets.External
1150{}1150io.kestra.core.models.assets.Custom
11501Custom asset type
{}1150Outputs
hash string
View hash
Hash of the Slack view returned by the API.
viewId string
View ID
Unique identifier of the Slack view.