
Slack AppendStream
CertifiedAppend to a Slack stream
Slack AppendStream
Certified
Append to a Slack stream
Adds markdown to an active streaming message started with StartStream. Requires the original channel and timestamp and chat: write; fails if the stream is already stopped.
yaml
type: io.kestra.plugin.slack.app.chats.AppendStreamExamples
Append to an existing stream
yaml
id: slack_append_stream
namespace: company.team
tasks:
- id: start_stream
type: io.kestra.plugin.slack.app.chats.StartStream
token: "{{ secret('SLACK_TOKEN') }}"
channel: "#general"
markdownText: "Processing workflow..."
- id: append_stream
type: io.kestra.plugin.slack.app.chats.AppendStream
token: "{{ secret('SLACK_TOKEN') }}"
channel: "{{ outputs.start_stream.channel }}"
timestamp: "{{ outputs.start_stream.timestamp }}"
markdownText: "Step 1 completed successfully"
Multiple appends to a stream
yaml
id: slack_multi_append_stream
namespace: company.team
tasks:
- id: start_stream
type: io.kestra.plugin.slack.app.chats.StartStream
token: "{{ secret('SLACK_TOKEN') }}"
channel: "#general"
markdownText: "Starting data processing..."
- id: append_step1
type: io.kestra.plugin.slack.app.chats.AppendStream
token: "{{ secret('SLACK_TOKEN') }}"
channel: "{{ outputs.start_stream.channel }}"
timestamp: "{{ outputs.start_stream.timestamp }}"
markdownText: "\\nFetching data from source..."
- id: append_step2
type: io.kestra.plugin.slack.app.chats.AppendStream
token: "{{ secret('SLACK_TOKEN') }}"
channel: "{{ outputs.start_stream.channel }}"
timestamp: "{{ outputs.start_stream.timestamp }}"
markdownText: "\\nProcessing 1000 records..."
- id: stop_stream
type: io.kestra.plugin.slack.app.chats.StopStream
token: "{{ secret('SLACK_TOKEN') }}"
channel: "{{ outputs.start_stream.channel }}"
timestamp: "{{ outputs.start_stream.timestamp }}"
markdownText: "\\nā
Processing complete!"
Stream progress updates
yaml
id: slack_stream_progress
namespace: company.team
tasks:
- id: start_stream
type: io.kestra.plugin.slack.app.chats.StartStream
token: "{{ secret('SLACK_TOKEN') }}"
channel: "#general"
markdownText: "Starting long-running process..."
- id: update_progress
type: io.kestra.plugin.slack.app.chats.AppendStream
token: "{{ secret('SLACK_TOKEN') }}"
channel: "{{ outputs.start_stream.channel }}"
timestamp: "{{ outputs.start_stream.timestamp }}"
markdownText: "\\nProgress: {{ taskrun.value }}%"
Properties
channel *Requiredstring
Stream channel
Channel ID or name where the stream was started.
markdownText *Requiredstring
Markdown to append
Additional markdown content appended to the stream.
timestamp *Requiredstring
Stream message timestamp
Slack ts returned by StartStream.
token *Requiredstring
Slack token
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
Outputs
channel *Requiredstring
Stream channel
timestamp *Requiredstring
Stream message timestamp