1. Registry
  2. Packages
  3. Rootly
  4. API Docs
  5. WorkflowTaskCreateSlackCanvas
Viewing docs for Rootly v4.1.0
published on Sunday, Oct 11, 2026 by rootlyhq
rootly logo Rootly
Viewing docs for Rootly v4.1.0
published on Sunday, Oct 11, 2026 by rootlyhq

    Configures an action that creates an incident channel Canvas. Terraform manages the workflow action configuration; the action writes to Slack when its workflow runs. Your organization needs access to Rootly’s Slack Canvas workflow actions and a Slack integration with the required Canvas permissions.

    The example starts with both the workflow and action disabled. Replace the workspace values with your Slack workspace, then enable the workflow and action when ready. The optional channel.workspace block selects the workspace for an Enterprise Slack installation. Omit it for a regular workspace installation. Removing a previously configured workspace block clears that selection.

    The workflow runs after its incident Slack channel is created. Creating a Canvas preserves an existing channel Canvas.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as rootly from "@rootly/pulumi";
    
    const canvas = new rootly.WorkflowIncident("canvas", {
        triggerParams: {
            triggers: ["slack_channel_created"],
        },
        name: "Slack Canvas report",
        enabled: false,
    });
    const report = new rootly.WorkflowTaskCreateSlackCanvas("report", {
        taskParams: {
            channel: {
                workspace: {
                    id: "T0123456789",
                    name: "Engineering",
                },
                id: "{{ incident.slack_channel_id }}",
                name: "Incident channel",
            },
            title: "Incident {{ incident.sequential_id }}: {{ incident.title }}",
            content: `# Incident update
    
    **Summary:** {{ incident.summary }}
    `,
        },
        workflowId: canvas.id,
        name: "Create incident Canvas",
        enabled: false,
        position: 1,
    });
    
    import pulumi
    import pulumi_rootly as rootly
    
    canvas = rootly.WorkflowIncident("canvas",
        trigger_params={
            "triggers": ["slack_channel_created"],
        },
        name="Slack Canvas report",
        enabled=False)
    report = rootly.WorkflowTaskCreateSlackCanvas("report",
        task_params={
            "channel": {
                "workspace": {
                    "id": "T0123456789",
                    "name": "Engineering",
                },
                "id": "{{ incident.slack_channel_id }}",
                "name": "Incident channel",
            },
            "title": "Incident {{ incident.sequential_id }}: {{ incident.title }}",
            "content": """# Incident update
    
    **Summary:** {{ incident.summary }}
    """,
        },
        workflow_id=canvas.id,
        name="Create incident Canvas",
        enabled=False,
        position=1)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/rootlyhq/pulumi-rootly/sdk/v4/go/rootly"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		canvas, err := rootly.NewWorkflowIncident(ctx, "canvas", &rootly.WorkflowIncidentArgs{
    			TriggerParams: &rootly.WorkflowIncidentTriggerParamsArgs{
    				Triggers: pulumi.StringArray{
    					pulumi.String("slack_channel_created"),
    				},
    			},
    			Name:    pulumi.String("Slack Canvas report"),
    			Enabled: pulumi.Bool(false),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = rootly.NewWorkflowTaskCreateSlackCanvas(ctx, "report", &rootly.WorkflowTaskCreateSlackCanvasArgs{
    			TaskParams: &rootly.WorkflowTaskCreateSlackCanvasTaskParamsArgs{
    				Channel: &rootly.WorkflowTaskCreateSlackCanvasTaskParamsChannelArgs{
    					Workspace: &rootly.WorkflowTaskCreateSlackCanvasTaskParamsChannelWorkspaceArgs{
    						Id:   pulumi.String("T0123456789"),
    						Name: pulumi.String("Engineering"),
    					},
    					Id:   pulumi.String("{{ incident.slack_channel_id }}"),
    					Name: pulumi.String("Incident channel"),
    				},
    				Title:   pulumi.String("Incident {{ incident.sequential_id }}: {{ incident.title }}"),
    				Content: pulumi.String("# Incident update\n\n**Summary:** {{ incident.summary }}\n"),
    			},
    			WorkflowId: canvas.ID().ToIDOutput().ToStringOutput(),
    			Name:       pulumi.String("Create incident Canvas"),
    			Enabled:    pulumi.Bool(false),
    			Position:   pulumi.Int(1),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Rootly = Pulumi.Rootly;
    
    return await Deployment.RunAsync(() => 
    {
        var canvas = new Rootly.WorkflowIncident("canvas", new()
        {
            TriggerParams = new Rootly.Inputs.WorkflowIncidentTriggerParamsArgs
            {
                Triggers = new[]
                {
                    "slack_channel_created",
                },
            },
            Name = "Slack Canvas report",
            Enabled = false,
        });
    
        var report = new Rootly.WorkflowTaskCreateSlackCanvas("report", new()
        {
            TaskParams = new Rootly.Inputs.WorkflowTaskCreateSlackCanvasTaskParamsArgs
            {
                Channel = new Rootly.Inputs.WorkflowTaskCreateSlackCanvasTaskParamsChannelArgs
                {
                    Workspace = new Rootly.Inputs.WorkflowTaskCreateSlackCanvasTaskParamsChannelWorkspaceArgs
                    {
                        Id = "T0123456789",
                        Name = "Engineering",
                    },
                    Id = "{{ incident.slack_channel_id }}",
                    Name = "Incident channel",
                },
                Title = "Incident {{ incident.sequential_id }}: {{ incident.title }}",
                Content = @"# Incident update
    
    **Summary:** {{ incident.summary }}
    ",
            },
            WorkflowId = canvas.Id,
            Name = "Create incident Canvas",
            Enabled = false,
            Position = 1,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.rootly.WorkflowIncident;
    import com.pulumi.rootly.WorkflowIncidentArgs;
    import com.pulumi.rootly.inputs.WorkflowIncidentTriggerParamsArgs;
    import com.pulumi.rootly.WorkflowTaskCreateSlackCanvas;
    import com.pulumi.rootly.WorkflowTaskCreateSlackCanvasArgs;
    import com.pulumi.rootly.inputs.WorkflowTaskCreateSlackCanvasTaskParamsArgs;
    import com.pulumi.rootly.inputs.WorkflowTaskCreateSlackCanvasTaskParamsChannelArgs;
    import com.pulumi.rootly.inputs.WorkflowTaskCreateSlackCanvasTaskParamsChannelWorkspaceArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var canvas = new WorkflowIncident("canvas", WorkflowIncidentArgs.builder()
                .triggerParams(WorkflowIncidentTriggerParamsArgs.builder()
                    .triggers("slack_channel_created")
                    .build())
                .name("Slack Canvas report")
                .enabled(false)
                .build());
    
            var report = new WorkflowTaskCreateSlackCanvas("report", WorkflowTaskCreateSlackCanvasArgs.builder()
                .taskParams(WorkflowTaskCreateSlackCanvasTaskParamsArgs.builder()
                    .channel(WorkflowTaskCreateSlackCanvasTaskParamsChannelArgs.builder()
                        .workspace(WorkflowTaskCreateSlackCanvasTaskParamsChannelWorkspaceArgs.builder()
                            .id("T0123456789")
                            .name("Engineering")
                            .build())
                        .id("{{ incident.slack_channel_id }}")
                        .name("Incident channel")
                        .build())
                    .title("Incident {{ incident.sequential_id }}: {{ incident.title }}")
                    .content("""
    # Incident update
    
    **Summary:** {{ incident.summary }}
                    """)
                    .build())
                .workflowId(canvas.id())
                .name("Create incident Canvas")
                .enabled(false)
                .position(1)
                .build());
    
        }
    }
    
    resources:
      canvas:
        type: rootly:WorkflowIncident
        properties:
          triggerParams:
            triggers:
              - slack_channel_created
          name: Slack Canvas report
          enabled: false
      report:
        type: rootly:WorkflowTaskCreateSlackCanvas
        properties:
          taskParams:
            channel:
              workspace:
                id: T0123456789
                name: Engineering
              id: '{{ incident.slack_channel_id }}'
              name: Incident channel
            title: 'Incident {{ incident.sequential_id }}: {{ incident.title }}'
            content: |
              # Incident update
    
              **Summary:** {{ incident.summary }}
          workflowId: ${canvas.id}
          name: Create incident Canvas
          enabled: false
          position: 1
    
    terraform {
      required_providers {
        rootly = {
          source = "pulumi/rootly"
        }
      }
    }
    
    resource "rootly_workflow_incident" "canvas" {
      lifecycle {
        create_before_destroy = true
      }
      trigger_params = {
        triggers = ["slack_channel_created"]
      }
      name    = "Slack Canvas report"
      enabled = false
    }
    resource "rootly_workflow_task_create_slack_canvas" "report" {
      lifecycle {
        create_before_destroy = true
      }
      task_params = {
        channel = {
          workspace = {
            id   = "T0123456789"
            name = "Engineering"
          }
          id   = "{{ incident.slack_channel_id }}"
          name = "Incident channel"
        }
        title   = "Incident {{ incident.sequential_id }}: {{ incident.title }}"
        content = <<-MARKDOWN
    # Incident update
    
    **Summary:** {{ incident.summary }}
    MARKDOWN
    
      }
      workflow_id = rootly_workflow_incident.canvas.id
      name        = "Create incident Canvas"
      enabled     = false
      position    = 1
    }
    

    Create WorkflowTaskCreateSlackCanvas Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new WorkflowTaskCreateSlackCanvas(name: string, args: WorkflowTaskCreateSlackCanvasArgs, opts?: CustomResourceOptions);
    @overload
    def WorkflowTaskCreateSlackCanvas(resource_name: str,
                                      args: WorkflowTaskCreateSlackCanvasArgs,
                                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def WorkflowTaskCreateSlackCanvas(resource_name: str,
                                      opts: Optional[ResourceOptions] = None,
                                      task_params: Optional[WorkflowTaskCreateSlackCanvasTaskParamsArgs] = None,
                                      workflow_id: Optional[str] = None,
                                      enabled: Optional[bool] = None,
                                      name: Optional[str] = None,
                                      position: Optional[int] = None,
                                      skip_on_failure: Optional[bool] = None)
    func NewWorkflowTaskCreateSlackCanvas(ctx *Context, name string, args WorkflowTaskCreateSlackCanvasArgs, opts ...ResourceOption) (*WorkflowTaskCreateSlackCanvas, error)
    public WorkflowTaskCreateSlackCanvas(string name, WorkflowTaskCreateSlackCanvasArgs args, CustomResourceOptions? opts = null)
    public WorkflowTaskCreateSlackCanvas(String name, WorkflowTaskCreateSlackCanvasArgs args)
    public WorkflowTaskCreateSlackCanvas(String name, WorkflowTaskCreateSlackCanvasArgs args, CustomResourceOptions options)
    
    type: rootly:WorkflowTaskCreateSlackCanvas
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "rootly_workflow_task_create_slack_canvas" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args WorkflowTaskCreateSlackCanvasArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args WorkflowTaskCreateSlackCanvasArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args WorkflowTaskCreateSlackCanvasArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args WorkflowTaskCreateSlackCanvasArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args WorkflowTaskCreateSlackCanvasArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var workflowTaskCreateSlackCanvasResource = new Rootly.WorkflowTaskCreateSlackCanvas("workflowTaskCreateSlackCanvasResource", new()
    {
        TaskParams = new Rootly.Inputs.WorkflowTaskCreateSlackCanvasTaskParamsArgs
        {
            Channel = new Rootly.Inputs.WorkflowTaskCreateSlackCanvasTaskParamsChannelArgs
            {
                Id = "string",
                Name = "string",
                Workspace = new Rootly.Inputs.WorkflowTaskCreateSlackCanvasTaskParamsChannelWorkspaceArgs
                {
                    Id = "string",
                    Name = "string",
                },
            },
            Content = "string",
            Title = "string",
            RetryCount = 0,
            RetryWaitTime = 0,
            TaskType = "string",
        },
        WorkflowId = "string",
        Enabled = false,
        Name = "string",
        Position = 0,
        SkipOnFailure = false,
    });
    
    example, err := rootly.NewWorkflowTaskCreateSlackCanvas(ctx, "workflowTaskCreateSlackCanvasResource", &rootly.WorkflowTaskCreateSlackCanvasArgs{
    	TaskParams: &rootly.WorkflowTaskCreateSlackCanvasTaskParamsArgs{
    		Channel: &rootly.WorkflowTaskCreateSlackCanvasTaskParamsChannelArgs{
    			Id:   pulumi.String("string"),
    			Name: pulumi.String("string"),
    			Workspace: &rootly.WorkflowTaskCreateSlackCanvasTaskParamsChannelWorkspaceArgs{
    				Id:   pulumi.String("string"),
    				Name: pulumi.String("string"),
    			},
    		},
    		Content:       pulumi.String("string"),
    		Title:         pulumi.String("string"),
    		RetryCount:    pulumi.Int(0),
    		RetryWaitTime: pulumi.Int(0),
    		TaskType:      pulumi.String("string"),
    	},
    	WorkflowId:    pulumi.String("string"),
    	Enabled:       pulumi.Bool(false),
    	Name:          pulumi.String("string"),
    	Position:      pulumi.Int(0),
    	SkipOnFailure: pulumi.Bool(false),
    })
    
    resource "rootly_workflow_task_create_slack_canvas" "workflowTaskCreateSlackCanvasResource" {
      lifecycle {
        create_before_destroy = true
      }
      task_params = {
        channel = {
          id   = "string"
          name = "string"
          workspace = {
            id   = "string"
            name = "string"
          }
        }
        content         = "string"
        title           = "string"
        retry_count     = 0
        retry_wait_time = 0
        task_type       = "string"
      }
      workflow_id     = "string"
      enabled         = false
      name            = "string"
      position        = 0
      skip_on_failure = false
    }
    
    var workflowTaskCreateSlackCanvasResource = new WorkflowTaskCreateSlackCanvas("workflowTaskCreateSlackCanvasResource", WorkflowTaskCreateSlackCanvasArgs.builder()
        .taskParams(WorkflowTaskCreateSlackCanvasTaskParamsArgs.builder()
            .channel(WorkflowTaskCreateSlackCanvasTaskParamsChannelArgs.builder()
                .id("string")
                .name("string")
                .workspace(WorkflowTaskCreateSlackCanvasTaskParamsChannelWorkspaceArgs.builder()
                    .id("string")
                    .name("string")
                    .build())
                .build())
            .content("string")
            .title("string")
            .retryCount(0)
            .retryWaitTime(0)
            .taskType("string")
            .build())
        .workflowId("string")
        .enabled(false)
        .name("string")
        .position(0)
        .skipOnFailure(false)
        .build());
    
    workflow_task_create_slack_canvas_resource = rootly.WorkflowTaskCreateSlackCanvas("workflowTaskCreateSlackCanvasResource",
        task_params={
            "channel": {
                "id": "string",
                "name": "string",
                "workspace": {
                    "id": "string",
                    "name": "string",
                },
            },
            "content": "string",
            "title": "string",
            "retry_count": 0,
            "retry_wait_time": 0,
            "task_type": "string",
        },
        workflow_id="string",
        enabled=False,
        name="string",
        position=0,
        skip_on_failure=False)
    
    const workflowTaskCreateSlackCanvasResource = new rootly.WorkflowTaskCreateSlackCanvas("workflowTaskCreateSlackCanvasResource", {
        taskParams: {
            channel: {
                id: "string",
                name: "string",
                workspace: {
                    id: "string",
                    name: "string",
                },
            },
            content: "string",
            title: "string",
            retryCount: 0,
            retryWaitTime: 0,
            taskType: "string",
        },
        workflowId: "string",
        enabled: false,
        name: "string",
        position: 0,
        skipOnFailure: false,
    });
    
    type: rootly:WorkflowTaskCreateSlackCanvas
    properties:
        enabled: false
        name: string
        position: 0
        skipOnFailure: false
        taskParams:
            channel:
                id: string
                name: string
                workspace:
                    id: string
                    name: string
            content: string
            retryCount: 0
            retryWaitTime: 0
            taskType: string
            title: string
        workflowId: string
    

    WorkflowTaskCreateSlackCanvas Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The WorkflowTaskCreateSlackCanvas resource accepts the following input properties:

    TaskParams WorkflowTaskCreateSlackCanvasTaskParams
    The parameters for this workflow task.
    WorkflowId string
    The ID of the parent workflow
    Enabled bool
    Enable/disable this workflow task
    Name string
    Name of the workflow task
    Position int
    The position of the workflow task (1 being top of list)
    SkipOnFailure bool
    Skip workflow task if any failures
    TaskParams WorkflowTaskCreateSlackCanvasTaskParamsArgs
    The parameters for this workflow task.
    WorkflowId string
    The ID of the parent workflow
    Enabled bool
    Enable/disable this workflow task
    Name string
    Name of the workflow task
    Position int
    The position of the workflow task (1 being top of list)
    SkipOnFailure bool
    Skip workflow task if any failures
    task_params object
    The parameters for this workflow task.
    workflow_id string
    The ID of the parent workflow
    enabled bool
    Enable/disable this workflow task
    name string
    Name of the workflow task
    position number
    The position of the workflow task (1 being top of list)
    skip_on_failure bool
    Skip workflow task if any failures
    taskParams WorkflowTaskCreateSlackCanvasTaskParams
    The parameters for this workflow task.
    workflowId String
    The ID of the parent workflow
    enabled Boolean
    Enable/disable this workflow task
    name String
    Name of the workflow task
    position Integer
    The position of the workflow task (1 being top of list)
    skipOnFailure Boolean
    Skip workflow task if any failures
    taskParams WorkflowTaskCreateSlackCanvasTaskParams
    The parameters for this workflow task.
    workflowId string
    The ID of the parent workflow
    enabled boolean
    Enable/disable this workflow task
    name string
    Name of the workflow task
    position number
    The position of the workflow task (1 being top of list)
    skipOnFailure boolean
    Skip workflow task if any failures
    task_params WorkflowTaskCreateSlackCanvasTaskParamsArgs
    The parameters for this workflow task.
    workflow_id str
    The ID of the parent workflow
    enabled bool
    Enable/disable this workflow task
    name str
    Name of the workflow task
    position int
    The position of the workflow task (1 being top of list)
    skip_on_failure bool
    Skip workflow task if any failures
    taskParams Property Map
    The parameters for this workflow task.
    workflowId String
    The ID of the parent workflow
    enabled Boolean
    Enable/disable this workflow task
    name String
    Name of the workflow task
    position Number
    The position of the workflow task (1 being top of list)
    skipOnFailure Boolean
    Skip workflow task if any failures

    Outputs

    All input properties are implicitly available as output properties. Additionally, the WorkflowTaskCreateSlackCanvas resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing WorkflowTaskCreateSlackCanvas Resource

    Get an existing WorkflowTaskCreateSlackCanvas resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: WorkflowTaskCreateSlackCanvasState, opts?: CustomResourceOptions): WorkflowTaskCreateSlackCanvas
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            enabled: Optional[bool] = None,
            name: Optional[str] = None,
            position: Optional[int] = None,
            skip_on_failure: Optional[bool] = None,
            task_params: Optional[WorkflowTaskCreateSlackCanvasTaskParamsArgs] = None,
            workflow_id: Optional[str] = None) -> WorkflowTaskCreateSlackCanvas
    func GetWorkflowTaskCreateSlackCanvas(ctx *Context, name string, id IDInput, state *WorkflowTaskCreateSlackCanvasState, opts ...ResourceOption) (*WorkflowTaskCreateSlackCanvas, error)
    public static WorkflowTaskCreateSlackCanvas Get(string name, Input<string> id, WorkflowTaskCreateSlackCanvasState? state, CustomResourceOptions? opts = null)
    public static WorkflowTaskCreateSlackCanvas get(String name, Output<String> id, WorkflowTaskCreateSlackCanvasState state, CustomResourceOptions options)
    resources:  _:    type: rootly:WorkflowTaskCreateSlackCanvas    get:      id: ${id}
    import {
      to = rootly_workflow_task_create_slack_canvas.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Enabled bool
    Enable/disable this workflow task
    Name string
    Name of the workflow task
    Position int
    The position of the workflow task (1 being top of list)
    SkipOnFailure bool
    Skip workflow task if any failures
    TaskParams WorkflowTaskCreateSlackCanvasTaskParams
    The parameters for this workflow task.
    WorkflowId string
    The ID of the parent workflow
    Enabled bool
    Enable/disable this workflow task
    Name string
    Name of the workflow task
    Position int
    The position of the workflow task (1 being top of list)
    SkipOnFailure bool
    Skip workflow task if any failures
    TaskParams WorkflowTaskCreateSlackCanvasTaskParamsArgs
    The parameters for this workflow task.
    WorkflowId string
    The ID of the parent workflow
    enabled bool
    Enable/disable this workflow task
    name string
    Name of the workflow task
    position number
    The position of the workflow task (1 being top of list)
    skip_on_failure bool
    Skip workflow task if any failures
    task_params object
    The parameters for this workflow task.
    workflow_id string
    The ID of the parent workflow
    enabled Boolean
    Enable/disable this workflow task
    name String
    Name of the workflow task
    position Integer
    The position of the workflow task (1 being top of list)
    skipOnFailure Boolean
    Skip workflow task if any failures
    taskParams WorkflowTaskCreateSlackCanvasTaskParams
    The parameters for this workflow task.
    workflowId String
    The ID of the parent workflow
    enabled boolean
    Enable/disable this workflow task
    name string
    Name of the workflow task
    position number
    The position of the workflow task (1 being top of list)
    skipOnFailure boolean
    Skip workflow task if any failures
    taskParams WorkflowTaskCreateSlackCanvasTaskParams
    The parameters for this workflow task.
    workflowId string
    The ID of the parent workflow
    enabled bool
    Enable/disable this workflow task
    name str
    Name of the workflow task
    position int
    The position of the workflow task (1 being top of list)
    skip_on_failure bool
    Skip workflow task if any failures
    task_params WorkflowTaskCreateSlackCanvasTaskParamsArgs
    The parameters for this workflow task.
    workflow_id str
    The ID of the parent workflow
    enabled Boolean
    Enable/disable this workflow task
    name String
    Name of the workflow task
    position Number
    The position of the workflow task (1 being top of list)
    skipOnFailure Boolean
    Skip workflow task if any failures
    taskParams Property Map
    The parameters for this workflow task.
    workflowId String
    The ID of the parent workflow

    Supporting Types

    WorkflowTaskCreateSlackCanvasTaskParams, WorkflowTaskCreateSlackCanvasTaskParamsArgs

    Channel WorkflowTaskCreateSlackCanvasTaskParamsChannel
    Slack channel containing the canvas. Channel IDs support Liquid variables.
    Content string
    The initial canvas content in Markdown. Supports Liquid variables. An existing channel canvas is preserved.
    Title string
    The canvas title. Supports Liquid variables.
    RetryCount int
    Number of times to retry on rate-limit (HTTP 429) responses (0-4). 0 disables retry.
    RetryWaitTime int
    Seconds to wait before each retry (1-15). Retry-After header is honored when present and <= 90s, taking the larger of retrywaittime and the header value.
    TaskType string
    Channel WorkflowTaskCreateSlackCanvasTaskParamsChannel
    Slack channel containing the canvas. Channel IDs support Liquid variables.
    Content string
    The initial canvas content in Markdown. Supports Liquid variables. An existing channel canvas is preserved.
    Title string
    The canvas title. Supports Liquid variables.
    RetryCount int
    Number of times to retry on rate-limit (HTTP 429) responses (0-4). 0 disables retry.
    RetryWaitTime int
    Seconds to wait before each retry (1-15). Retry-After header is honored when present and <= 90s, taking the larger of retrywaittime and the header value.
    TaskType string
    channel object
    Slack channel containing the canvas. Channel IDs support Liquid variables.
    content string
    The initial canvas content in Markdown. Supports Liquid variables. An existing channel canvas is preserved.
    title string
    The canvas title. Supports Liquid variables.
    retry_count number
    Number of times to retry on rate-limit (HTTP 429) responses (0-4). 0 disables retry.
    retry_wait_time number
    Seconds to wait before each retry (1-15). Retry-After header is honored when present and <= 90s, taking the larger of retrywaittime and the header value.
    task_type string
    channel WorkflowTaskCreateSlackCanvasTaskParamsChannel
    Slack channel containing the canvas. Channel IDs support Liquid variables.
    content String
    The initial canvas content in Markdown. Supports Liquid variables. An existing channel canvas is preserved.
    title String
    The canvas title. Supports Liquid variables.
    retryCount Integer
    Number of times to retry on rate-limit (HTTP 429) responses (0-4). 0 disables retry.
    retryWaitTime Integer
    Seconds to wait before each retry (1-15). Retry-After header is honored when present and <= 90s, taking the larger of retrywaittime and the header value.
    taskType String
    channel WorkflowTaskCreateSlackCanvasTaskParamsChannel
    Slack channel containing the canvas. Channel IDs support Liquid variables.
    content string
    The initial canvas content in Markdown. Supports Liquid variables. An existing channel canvas is preserved.
    title string
    The canvas title. Supports Liquid variables.
    retryCount number
    Number of times to retry on rate-limit (HTTP 429) responses (0-4). 0 disables retry.
    retryWaitTime number
    Seconds to wait before each retry (1-15). Retry-After header is honored when present and <= 90s, taking the larger of retrywaittime and the header value.
    taskType string
    channel WorkflowTaskCreateSlackCanvasTaskParamsChannel
    Slack channel containing the canvas. Channel IDs support Liquid variables.
    content str
    The initial canvas content in Markdown. Supports Liquid variables. An existing channel canvas is preserved.
    title str
    The canvas title. Supports Liquid variables.
    retry_count int
    Number of times to retry on rate-limit (HTTP 429) responses (0-4). 0 disables retry.
    retry_wait_time int
    Seconds to wait before each retry (1-15). Retry-After header is honored when present and <= 90s, taking the larger of retrywaittime and the header value.
    task_type str
    channel Property Map
    Slack channel containing the canvas. Channel IDs support Liquid variables.
    content String
    The initial canvas content in Markdown. Supports Liquid variables. An existing channel canvas is preserved.
    title String
    The canvas title. Supports Liquid variables.
    retryCount Number
    Number of times to retry on rate-limit (HTTP 429) responses (0-4). 0 disables retry.
    retryWaitTime Number
    Seconds to wait before each retry (1-15). Retry-After header is honored when present and <= 90s, taking the larger of retrywaittime and the header value.
    taskType String

    WorkflowTaskCreateSlackCanvasTaskParamsChannel, WorkflowTaskCreateSlackCanvasTaskParamsChannelArgs

    Id string
    Slack channel ID.
    Name string
    Channel display name.
    Workspace WorkflowTaskCreateSlackCanvasTaskParamsChannelWorkspace
    Slack workspace containing the channel, used for Enterprise Grid. Omit this block to use automatic workspace resolution; removing a configured block clears the saved workspace.
    Id string
    Slack channel ID.
    Name string
    Channel display name.
    Workspace WorkflowTaskCreateSlackCanvasTaskParamsChannelWorkspace
    Slack workspace containing the channel, used for Enterprise Grid. Omit this block to use automatic workspace resolution; removing a configured block clears the saved workspace.
    id string
    Slack channel ID.
    name string
    Channel display name.
    workspace object
    Slack workspace containing the channel, used for Enterprise Grid. Omit this block to use automatic workspace resolution; removing a configured block clears the saved workspace.
    id String
    Slack channel ID.
    name String
    Channel display name.
    workspace WorkflowTaskCreateSlackCanvasTaskParamsChannelWorkspace
    Slack workspace containing the channel, used for Enterprise Grid. Omit this block to use automatic workspace resolution; removing a configured block clears the saved workspace.
    id string
    Slack channel ID.
    name string
    Channel display name.
    workspace WorkflowTaskCreateSlackCanvasTaskParamsChannelWorkspace
    Slack workspace containing the channel, used for Enterprise Grid. Omit this block to use automatic workspace resolution; removing a configured block clears the saved workspace.
    id str
    Slack channel ID.
    name str
    Channel display name.
    workspace WorkflowTaskCreateSlackCanvasTaskParamsChannelWorkspace
    Slack workspace containing the channel, used for Enterprise Grid. Omit this block to use automatic workspace resolution; removing a configured block clears the saved workspace.
    id String
    Slack channel ID.
    name String
    Channel display name.
    workspace Property Map
    Slack workspace containing the channel, used for Enterprise Grid. Omit this block to use automatic workspace resolution; removing a configured block clears the saved workspace.

    WorkflowTaskCreateSlackCanvasTaskParamsChannelWorkspace, WorkflowTaskCreateSlackCanvasTaskParamsChannelWorkspaceArgs

    Id string
    Slack workspace ID. Enter a literal ID from Slack.
    Name string
    Workspace display name.
    Id string
    Slack workspace ID. Enter a literal ID from Slack.
    Name string
    Workspace display name.
    id string
    Slack workspace ID. Enter a literal ID from Slack.
    name string
    Workspace display name.
    id String
    Slack workspace ID. Enter a literal ID from Slack.
    name String
    Workspace display name.
    id string
    Slack workspace ID. Enter a literal ID from Slack.
    name string
    Workspace display name.
    id str
    Slack workspace ID. Enter a literal ID from Slack.
    name str
    Workspace display name.
    id String
    Slack workspace ID. Enter a literal ID from Slack.
    name String
    Workspace display name.

    Import

    Import the workflow action using its Rootly workflow task ID:

    $ pulumi import rootly:index/workflowTaskCreateSlackCanvas:WorkflowTaskCreateSlackCanvas report a816421c-6ceb-481a-87c4-585e47451f24
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    rootly rootlyhq/pulumi-rootly
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the rootly Terraform Provider.
    rootly logo Rootly
    Viewing docs for Rootly v4.1.0
    published on Sunday, Oct 11, 2026 by rootlyhq

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial