
Slack Create
CertifiedCreate a Slack canvas
Slack Create
Certified
Create a Slack canvas
Creates a canvas with the provided title and markdown content. Content must specify type: markdown; Slack rejects other formats.
yaml
type: io.kestra.plugin.slack.app.canvases.CreateExamples
Create a new canvas with markdown content
yaml
id: slack_create_canvas
namespace: company.team
tasks:
- id: create_canvas
type: io.kestra.plugin.slack.app.canvases.Create
token: "{{ secret('SLACK_TOKEN') }}"
title: "Project Documentation"
documentContent:
type: "markdown"
markdown: |
## Overview
This is a project documentation canvas.
- [ ] Task 1
- [ ] Task 2
Properties
documentContent *Requiredobject
Canvas content
Map with type and markdown; only markdown content is supported by the Slack API.
title *Requiredstring
Canvas title
Title displayed at the top of the canvas.
token *Requiredstring
Slack token
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
Outputs
canvasId *Requiredstring
Canvas ID