Slack Create

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.Create

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

Canvas content

Map with type and markdown; only markdown content is supported by the Slack API.

Canvas title

Title displayed at the top of the canvas.

Slack token

Reference (ref) of the pluginDefaults to apply to this task.

Canvas ID