1. Registry
  2. Packages
  3. Rootly
  4. API Docs
  5. WorkflowTaskUpdateSlackCanvas
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 updates 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.

    insertAtEnd appends content. replace replaces the document content. managedSections refreshes Rootly-managed sections of a compatible Rootly incident report while preserving responder content elsewhere. Use the managed report template configured in Rootly for that operation.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as rootly from "@rootly/pulumi";
    
    const canvas = new rootly.WorkflowIncident("canvas", {
        triggerParams: {
            triggers: ["incident_updated"],
        },
        name: "Slack Canvas report",
        enabled: false,
    });
    const report = new rootly.WorkflowTaskUpdateSlackCanvas("report", {
        taskParams: {
            channel: {
                workspace: {
                    id: "T0123456789",
                    name: "Engineering",
                },
                id: "{{ incident.slack_channel_id }}",
                name: "Incident channel",
            },
            operation: "insert_at_end",
            content: `# Incident update
    
    **Summary:** {{ incident.summary }}
    `,
        },
        workflowId: canvas.id,
        name: "Update incident Canvas",
        enabled: false,
        position: 1,
    });
    
    import pulumi
    import pulumi_rootly as rootly
    
    canvas = rootly.WorkflowIncident("canvas",
        trigger_params={
            "triggers": ["incident_updated"],
        },
        name="Slack Canvas report",
        enabled=False)
    report = rootly.WorkflowTaskUpdateSlackCanvas("report",
        task_params={
            "channel": {
                "workspace": {
                    "id": "T0123456789",
                    "name": "Engineering",
                },
                "id": "{{ incident.slack_channel_id }}",
                "name": "Incident channel",
            },
            "operation": "insert_at_end",
            "content": """# Incident update
    
    **Summary:** {{ incident.summary }}
    """,
        },
        workflow_id=canvas.id,
        name="Update 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("incident_updated"),
    				},
    			},
    			Name:    pulumi.String("Slack Canvas report"),
    			Enabled: pulumi.Bool(false),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = rootly.NewWorkflowTaskUpdateSlackCanvas(ctx, "report", &rootly.WorkflowTaskUpdateSlackCanvasArgs{
    			TaskParams: &rootly.WorkflowTaskUpdateSlackCanvasTaskParamsArgs{
    				Channel: &rootly.WorkflowTaskUpdateSlackCanvasTaskParamsChannelArgs{
    					Workspace: &rootly.WorkflowTaskUpdateSlackCanvasTaskParamsChannelWorkspaceArgs{
    						Id:   pulumi.String("T0123456789"),
    						Name: pulumi.String("Engineering"),
    					},
    					Id:   pulumi.String("{{ incident.slack_channel_id }}"),
    					Name: pulumi.String("Incident channel"),
    				},
    				Operation: pulumi.String("insert_at_end"),
    				Content:   pulumi.String("# Incident update\n\n**Summary:** {{ incident.summary }}\n"),
    			},
    			WorkflowId: canvas.ID().ToIDOutput().ToStringOutput(),
    			Name:       pulumi.String("Update 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[]
                {
                    "incident_updated",
                },
            },
            Name = "Slack Canvas report",
            Enabled = false,
        });
    
        var report = new Rootly.WorkflowTaskUpdateSlackCanvas("report", new()
        {
            TaskParams = new Rootly.Inputs.WorkflowTaskUpdateSlackCanvasTaskParamsArgs
            {
                Channel = new Rootly.Inputs.WorkflowTaskUpdateSlackCanvasTaskParamsChannelArgs
                {
                    Workspace = new Rootly.Inputs.WorkflowTaskUpdateSlackCanvasTaskParamsChannelWorkspaceArgs
                    {
                        Id = "T0123456789",
                        Name = "Engineering",
                    },
                    Id = "{{ incident.slack_channel_id }}",
                    Name = "Incident channel",
                },
                Operation = "insert_at_end",
                Content = @"# Incident update
    
    **Summary:** {{ incident.summary }}
    ",
            },
            WorkflowId = canvas.Id,
            Name = "Update 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.WorkflowTaskUpdateSlackCanvas;
    import com.pulumi.rootly.WorkflowTaskUpdateSlackCanvasArgs;
    import com.pulumi.rootly.inputs.WorkflowTaskUpdateSlackCanvasTaskParamsArgs;
    import com.pulumi.rootly.inputs.WorkflowTaskUpdateSlackCanvasTaskParamsChannelArgs;
    import com.pulumi.rootly.inputs.WorkflowTaskUpdateSlackCanvasTaskParamsChannelWorkspaceArgs;
    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("incident_updated")
                    .build())
                .name("Slack Canvas report")
                .enabled(false)
                .build());
    
            var report = new WorkflowTaskUpdateSlackCanvas("report", WorkflowTaskUpdateSlackCanvasArgs.builder()
                .taskParams(WorkflowTaskUpdateSlackCanvasTaskParamsArgs.builder()
                    .channel(WorkflowTaskUpdateSlackCanvasTaskParamsChannelArgs.builder()
                        .workspace(WorkflowTaskUpdateSlackCanvasTaskParamsChannelWorkspaceArgs.builder()
                            .id("T0123456789")
                            .name("Engineering")
                            .build())
                        .id("{{ incident.slack_channel_id }}")
                        .name("Incident channel")
                        .build())
                    .operation("insert_at_end")
                    .content("""
    # Incident update
    
    **Summary:** {{ incident.summary }}
                    """)
                    .build())
                .workflowId(canvas.id())
                .name("Update incident Canvas")
                .enabled(false)
                .position(1)
                .build());
    
        }
    }
    
    resources:
      canvas:
        type: rootly:WorkflowIncident
        properties:
          triggerParams:
            triggers:
              - incident_updated
          name: Slack Canvas report
          enabled: false
      report:
        type: rootly:WorkflowTaskUpdateSlackCanvas
        properties:
          taskParams:
            channel:
              workspace:
                id: T0123456789
                name: Engineering
              id: '{{ incident.slack_channel_id }}'
              name: Incident channel
            operation: insert_at_end
            content: |
              # Incident update
    
              **Summary:** {{ incident.summary }}
          workflowId: ${canvas.id}
          name: Update 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 = ["incident_updated"]
      }
      name    = "Slack Canvas report"
      enabled = false
    }
    resource "rootly_workflow_task_update_slack_canvas" "report" {
      lifecycle {
        create_before_destroy = true
      }
      task_params = {
        channel = {
          workspace = {
            id   = "T0123456789"
            name = "Engineering"
          }
          id   = "{{ incident.slack_channel_id }}"
          name = "Incident channel"
        }
        operation = "insert_at_end"
        content   = <<-MARKDOWN
    # Incident update
    
    **Summary:** {{ incident.summary }}
    MARKDOWN
    
      }
      workflow_id = rootly_workflow_incident.canvas.id
      name        = "Update incident Canvas"
      enabled     = false
      position    = 1
    }
    

    Create WorkflowTaskUpdateSlackCanvas Resource

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

    Constructor syntax

    new WorkflowTaskUpdateSlackCanvas(name: string, args: WorkflowTaskUpdateSlackCanvasArgs, opts?: CustomResourceOptions);
    @overload
    def WorkflowTaskUpdateSlackCanvas(resource_name: str,
                                      args: WorkflowTaskUpdateSlackCanvasArgs,
                                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def WorkflowTaskUpdateSlackCanvas(resource_name: str,
                                      opts: Optional[ResourceOptions] = None,
                                      task_params: Optional[WorkflowTaskUpdateSlackCanvasTaskParamsArgs] = 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 NewWorkflowTaskUpdateSlackCanvas(ctx *Context, name string, args WorkflowTaskUpdateSlackCanvasArgs, opts ...ResourceOption) (*WorkflowTaskUpdateSlackCanvas, error)
    public WorkflowTaskUpdateSlackCanvas(string name, WorkflowTaskUpdateSlackCanvasArgs args, CustomResourceOptions? opts = null)
    public WorkflowTaskUpdateSlackCanvas(String name, WorkflowTaskUpdateSlackCanvasArgs args)
    public WorkflowTaskUpdateSlackCanvas(String name, WorkflowTaskUpdateSlackCanvasArgs args, CustomResourceOptions options)
    
    type: rootly:WorkflowTaskUpdateSlackCanvas
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "rootly_workflow_task_update_slack_canvas" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args WorkflowTaskUpdateSlackCanvasArgs
    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 WorkflowTaskUpdateSlackCanvasArgs
    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 WorkflowTaskUpdateSlackCanvasArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args WorkflowTaskUpdateSlackCanvasArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args WorkflowTaskUpdateSlackCanvasArgs
    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 workflowTaskUpdateSlackCanvasResource = new Rootly.WorkflowTaskUpdateSlackCanvas("workflowTaskUpdateSlackCanvasResource", new()
    {
        TaskParams = new Rootly.Inputs.WorkflowTaskUpdateSlackCanvasTaskParamsArgs
        {
            Channel = new Rootly.Inputs.WorkflowTaskUpdateSlackCanvasTaskParamsChannelArgs
            {
                Id = "string",
                Name = "string",
                Workspace = new Rootly.Inputs.WorkflowTaskUpdateSlackCanvasTaskParamsChannelWorkspaceArgs
                {
                    Id = "string",
                    Name = "string",
                },
            },
            Content = "string",
            Operation = "string",
            RetryCount = 0,
            RetryWaitTime = 0,
            TaskType = "string",
        },
        WorkflowId = "string",
        Enabled = false,
        Name = "string",
        Position = 0,
        SkipOnFailure = false,
    });
    
    example, err := rootly.NewWorkflowTaskUpdateSlackCanvas(ctx, "workflowTaskUpdateSlackCanvasResource", &rootly.WorkflowTaskUpdateSlackCanvasArgs{
    	TaskParams: &rootly.WorkflowTaskUpdateSlackCanvasTaskParamsArgs{
    		Channel: &rootly.WorkflowTaskUpdateSlackCanvasTaskParamsChannelArgs{
    			Id:   pulumi.String("string"),
    			Name: pulumi.String("string"),
    			Workspace: &rootly.WorkflowTaskUpdateSlackCanvasTaskParamsChannelWorkspaceArgs{
    				Id:   pulumi.String("string"),
    				Name: pulumi.String("string"),
    			},
    		},
    		Content:       pulumi.String("string"),
    		Operation:     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_update_slack_canvas" "workflowTaskUpdateSlackCanvasResource" {
      lifecycle {
        create_before_destroy = true
      }
      task_params = {
        channel = {
          id   = "string"
          name = "string"
          workspace = {
            id   = "string"
            name = "string"
          }
        }
        content         = "string"
        operation       = "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 workflowTaskUpdateSlackCanvasResource = new WorkflowTaskUpdateSlackCanvas("workflowTaskUpdateSlackCanvasResource", WorkflowTaskUpdateSlackCanvasArgs.builder()
        .taskParams(WorkflowTaskUpdateSlackCanvasTaskParamsArgs.builder()
            .channel(WorkflowTaskUpdateSlackCanvasTaskParamsChannelArgs.builder()
                .id("string")
                .name("string")
                .workspace(WorkflowTaskUpdateSlackCanvasTaskParamsChannelWorkspaceArgs.builder()
                    .id("string")
                    .name("string")
                    .build())
                .build())
            .content("string")
            .operation("string")
            .retryCount(0)
            .retryWaitTime(0)
            .taskType("string")
            .build())
        .workflowId("string")
        .enabled(false)
        .name("string")
        .position(0)
        .skipOnFailure(false)
        .build());
    
    workflow_task_update_slack_canvas_resource = rootly.WorkflowTaskUpdateSlackCanvas("workflowTaskUpdateSlackCanvasResource",
        task_params={
            "channel": {
                "id": "string",
                "name": "string",
                "workspace": {
                    "id": "string",
                    "name": "string",
                },
            },
            "content": "string",
            "operation": "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 workflowTaskUpdateSlackCanvasResource = new rootly.WorkflowTaskUpdateSlackCanvas("workflowTaskUpdateSlackCanvasResource", {
        taskParams: {
            channel: {
                id: "string",
                name: "string",
                workspace: {
                    id: "string",
                    name: "string",
                },
            },
            content: "string",
            operation: "string",
            retryCount: 0,
            retryWaitTime: 0,
            taskType: "string",
        },
        workflowId: "string",
        enabled: false,
        name: "string",
        position: 0,
        skipOnFailure: false,
    });
    
    type: rootly:WorkflowTaskUpdateSlackCanvas
    properties:
        enabled: false
        name: string
        position: 0
        skipOnFailure: false
        taskParams:
            channel:
                id: string
                name: string
                workspace:
                    id: string
                    name: string
            content: string
            operation: string
            retryCount: 0
            retryWaitTime: 0
            taskType: string
        workflowId: string
    

    WorkflowTaskUpdateSlackCanvas 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 WorkflowTaskUpdateSlackCanvas resource accepts the following input properties:

    TaskParams WorkflowTaskUpdateSlackCanvasTaskParams
    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 WorkflowTaskUpdateSlackCanvasTaskParamsArgs
    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 WorkflowTaskUpdateSlackCanvasTaskParams
    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 WorkflowTaskUpdateSlackCanvasTaskParams
    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 WorkflowTaskUpdateSlackCanvasTaskParamsArgs
    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 WorkflowTaskUpdateSlackCanvas 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 WorkflowTaskUpdateSlackCanvas Resource

    Get an existing WorkflowTaskUpdateSlackCanvas 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?: WorkflowTaskUpdateSlackCanvasState, opts?: CustomResourceOptions): WorkflowTaskUpdateSlackCanvas
    @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[WorkflowTaskUpdateSlackCanvasTaskParamsArgs] = None,
            workflow_id: Optional[str] = None) -> WorkflowTaskUpdateSlackCanvas
    func GetWorkflowTaskUpdateSlackCanvas(ctx *Context, name string, id IDInput, state *WorkflowTaskUpdateSlackCanvasState, opts ...ResourceOption) (*WorkflowTaskUpdateSlackCanvas, error)
    public static WorkflowTaskUpdateSlackCanvas Get(string name, Input<string> id, WorkflowTaskUpdateSlackCanvasState? state, CustomResourceOptions? opts = null)
    public static WorkflowTaskUpdateSlackCanvas get(String name, Output<String> id, WorkflowTaskUpdateSlackCanvasState state, CustomResourceOptions options)
    resources:  _:    type: rootly:WorkflowTaskUpdateSlackCanvas    get:      id: ${id}
    import {
      to = rootly_workflow_task_update_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 WorkflowTaskUpdateSlackCanvasTaskParams
    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 WorkflowTaskUpdateSlackCanvasTaskParamsArgs
    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 WorkflowTaskUpdateSlackCanvasTaskParams
    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 WorkflowTaskUpdateSlackCanvasTaskParams
    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 WorkflowTaskUpdateSlackCanvasTaskParamsArgs
    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

    WorkflowTaskUpdateSlackCanvasTaskParams, WorkflowTaskUpdateSlackCanvasTaskParamsArgs

    Channel WorkflowTaskUpdateSlackCanvasTaskParamsChannel
    Slack channel containing the canvas. Channel IDs support Liquid variables.
    Content string
    The canvas content in Markdown. Supports Liquid variables.
    Operation string
    Append content, replace all content, or replace only registered tables in a canvas created by Rootly from a managed template while preserving content outside them. Matching labels do not register an existing canvas. Managed sections overwrite edits inside those tables and require Slack reauthorization with canvases:read and canvases:write. Value must be one of insertAtEnd, replace, managedSections.
    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 WorkflowTaskUpdateSlackCanvasTaskParamsChannel
    Slack channel containing the canvas. Channel IDs support Liquid variables.
    Content string
    The canvas content in Markdown. Supports Liquid variables.
    Operation string
    Append content, replace all content, or replace only registered tables in a canvas created by Rootly from a managed template while preserving content outside them. Matching labels do not register an existing canvas. Managed sections overwrite edits inside those tables and require Slack reauthorization with canvases:read and canvases:write. Value must be one of insertAtEnd, replace, managedSections.
    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 canvas content in Markdown. Supports Liquid variables.
    operation string
    Append content, replace all content, or replace only registered tables in a canvas created by Rootly from a managed template while preserving content outside them. Matching labels do not register an existing canvas. Managed sections overwrite edits inside those tables and require Slack reauthorization with canvases:read and canvases:write. Value must be one of insertAtEnd, replace, managedSections.
    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 WorkflowTaskUpdateSlackCanvasTaskParamsChannel
    Slack channel containing the canvas. Channel IDs support Liquid variables.
    content String
    The canvas content in Markdown. Supports Liquid variables.
    operation String
    Append content, replace all content, or replace only registered tables in a canvas created by Rootly from a managed template while preserving content outside them. Matching labels do not register an existing canvas. Managed sections overwrite edits inside those tables and require Slack reauthorization with canvases:read and canvases:write. Value must be one of insertAtEnd, replace, managedSections.
    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 WorkflowTaskUpdateSlackCanvasTaskParamsChannel
    Slack channel containing the canvas. Channel IDs support Liquid variables.
    content string
    The canvas content in Markdown. Supports Liquid variables.
    operation string
    Append content, replace all content, or replace only registered tables in a canvas created by Rootly from a managed template while preserving content outside them. Matching labels do not register an existing canvas. Managed sections overwrite edits inside those tables and require Slack reauthorization with canvases:read and canvases:write. Value must be one of insertAtEnd, replace, managedSections.
    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 WorkflowTaskUpdateSlackCanvasTaskParamsChannel
    Slack channel containing the canvas. Channel IDs support Liquid variables.
    content str
    The canvas content in Markdown. Supports Liquid variables.
    operation str
    Append content, replace all content, or replace only registered tables in a canvas created by Rootly from a managed template while preserving content outside them. Matching labels do not register an existing canvas. Managed sections overwrite edits inside those tables and require Slack reauthorization with canvases:read and canvases:write. Value must be one of insertAtEnd, replace, managedSections.
    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 canvas content in Markdown. Supports Liquid variables.
    operation String
    Append content, replace all content, or replace only registered tables in a canvas created by Rootly from a managed template while preserving content outside them. Matching labels do not register an existing canvas. Managed sections overwrite edits inside those tables and require Slack reauthorization with canvases:read and canvases:write. Value must be one of insertAtEnd, replace, managedSections.
    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

    WorkflowTaskUpdateSlackCanvasTaskParamsChannel, WorkflowTaskUpdateSlackCanvasTaskParamsChannelArgs

    Id string
    Slack channel ID.
    Name string
    Channel display name.
    Workspace WorkflowTaskUpdateSlackCanvasTaskParamsChannelWorkspace
    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 WorkflowTaskUpdateSlackCanvasTaskParamsChannelWorkspace
    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 WorkflowTaskUpdateSlackCanvasTaskParamsChannelWorkspace
    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 WorkflowTaskUpdateSlackCanvasTaskParamsChannelWorkspace
    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 WorkflowTaskUpdateSlackCanvasTaskParamsChannelWorkspace
    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.

    WorkflowTaskUpdateSlackCanvasTaskParamsChannelWorkspace, WorkflowTaskUpdateSlackCanvasTaskParamsChannelWorkspaceArgs

    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/workflowTaskUpdateSlackCanvas:WorkflowTaskUpdateSlackCanvas 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