1. Packages
  2. Packages
  3. Rootly
  4. API Docs
  5. WorkflowTaskSendSlackMessage
Viewing docs for Rootly v3.3.0
published on Thursday, May 7, 2026 by rootlyhq
rootly logo
Viewing docs for Rootly v3.3.0
published on Thursday, May 7, 2026 by rootlyhq

    Manages workflow sendSlackMessage task.

    Example Usage

    resource "rootly_workflow_incident" "notify_slack_channels" {
      name        = "Notify teams on Slack about the incident"
      description = "Send a message to specific teams on Slack regarding the incident."
      trigger_params {
        triggers                  = ["incident_created"]
        incident_statuses         = ["started"]
        incident_condition_status = "IS"
      }
      enabled = true
    }
    
    # Import examples:
    # 1. Using import block (Terraform v1.5.0 and later):
    # import {
    #   to rootly_workflow_task_send_slack_message.send_slack_message
    #   id = "00000000-0000-0000-0000-000000000000"
    # }
    #
    # 2. Using terraform import command:
    # terraform import rootly_workflow_task_send_slack_message.send_slack_message 00000000-0000-0000-0000-000000000000
    
    resource "rootly_workflow_task_send_slack_message" "send_slack_message" {
      workflow_id     = rootly_workflow_incident.notify_slack_channels.id
      skip_on_failure = false
      enabled         = true
      task_params {
        name = "Notify team about incident"
        channels {
          id   = "{{ incident.slack_channel_id }}"
          name = "{{ incident.slack_channel_id }}"
        }
        text = "Heads up - wanted to let your team know we have an active incident."
      }
    }
    

    Create WorkflowTaskSendSlackMessage Resource

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

    Constructor syntax

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

    Parameters

    name string
    The unique name of the resource.
    args WorkflowTaskSendSlackMessageArgs
    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 WorkflowTaskSendSlackMessageArgs
    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 WorkflowTaskSendSlackMessageArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args WorkflowTaskSendSlackMessageArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args WorkflowTaskSendSlackMessageArgs
    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 workflowTaskSendSlackMessageResource = new Rootly.WorkflowTaskSendSlackMessage("workflowTaskSendSlackMessageResource", new()
    {
        TaskParams = new Rootly.Inputs.WorkflowTaskSendSlackMessageTaskParamsArgs
        {
            Text = "string",
            SendAsEphemeral = false,
            Channels = new[]
            {
                new Rootly.Inputs.WorkflowTaskSendSlackMessageTaskParamsChannelArgs
                {
                    Id = "string",
                    Name = "string",
                },
            },
            Color = "string",
            ParentMessageThreadTask = 
            {
                { "string", "string" },
            },
            PinToChannel = false,
            Actionables = new[]
            {
                "string",
            },
            SendOnlyAsThreadedMessage = false,
            SlackUserGroups = new[]
            {
                new Rootly.Inputs.WorkflowTaskSendSlackMessageTaskParamsSlackUserGroupArgs
                {
                    Id = "string",
                    Name = "string",
                },
            },
            SlackUsers = new[]
            {
                new Rootly.Inputs.WorkflowTaskSendSlackMessageTaskParamsSlackUserArgs
                {
                    Id = "string",
                    Name = "string",
                },
            },
            TaskType = "string",
            BroadcastThreadReplyToChannel = false,
            ThreadTs = "string",
            UpdateParentMessage = false,
        },
        WorkflowId = "string",
        Enabled = false,
        Name = "string",
        Position = 0,
        SkipOnFailure = false,
    });
    
    example, err := rootly.NewWorkflowTaskSendSlackMessage(ctx, "workflowTaskSendSlackMessageResource", &rootly.WorkflowTaskSendSlackMessageArgs{
    	TaskParams: &rootly.WorkflowTaskSendSlackMessageTaskParamsArgs{
    		Text:            pulumi.String("string"),
    		SendAsEphemeral: pulumi.Bool(false),
    		Channels: rootly.WorkflowTaskSendSlackMessageTaskParamsChannelArray{
    			&rootly.WorkflowTaskSendSlackMessageTaskParamsChannelArgs{
    				Id:   pulumi.String("string"),
    				Name: pulumi.String("string"),
    			},
    		},
    		Color: pulumi.String("string"),
    		ParentMessageThreadTask: pulumi.StringMap{
    			"string": pulumi.String("string"),
    		},
    		PinToChannel: pulumi.Bool(false),
    		Actionables: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		SendOnlyAsThreadedMessage: pulumi.Bool(false),
    		SlackUserGroups: rootly.WorkflowTaskSendSlackMessageTaskParamsSlackUserGroupArray{
    			&rootly.WorkflowTaskSendSlackMessageTaskParamsSlackUserGroupArgs{
    				Id:   pulumi.String("string"),
    				Name: pulumi.String("string"),
    			},
    		},
    		SlackUsers: rootly.WorkflowTaskSendSlackMessageTaskParamsSlackUserArray{
    			&rootly.WorkflowTaskSendSlackMessageTaskParamsSlackUserArgs{
    				Id:   pulumi.String("string"),
    				Name: pulumi.String("string"),
    			},
    		},
    		TaskType:                      pulumi.String("string"),
    		BroadcastThreadReplyToChannel: pulumi.Bool(false),
    		ThreadTs:                      pulumi.String("string"),
    		UpdateParentMessage:           pulumi.Bool(false),
    	},
    	WorkflowId:    pulumi.String("string"),
    	Enabled:       pulumi.Bool(false),
    	Name:          pulumi.String("string"),
    	Position:      pulumi.Int(0),
    	SkipOnFailure: pulumi.Bool(false),
    })
    
    var workflowTaskSendSlackMessageResource = new WorkflowTaskSendSlackMessage("workflowTaskSendSlackMessageResource", WorkflowTaskSendSlackMessageArgs.builder()
        .taskParams(WorkflowTaskSendSlackMessageTaskParamsArgs.builder()
            .text("string")
            .sendAsEphemeral(false)
            .channels(WorkflowTaskSendSlackMessageTaskParamsChannelArgs.builder()
                .id("string")
                .name("string")
                .build())
            .color("string")
            .parentMessageThreadTask(Map.of("string", "string"))
            .pinToChannel(false)
            .actionables("string")
            .sendOnlyAsThreadedMessage(false)
            .slackUserGroups(WorkflowTaskSendSlackMessageTaskParamsSlackUserGroupArgs.builder()
                .id("string")
                .name("string")
                .build())
            .slackUsers(WorkflowTaskSendSlackMessageTaskParamsSlackUserArgs.builder()
                .id("string")
                .name("string")
                .build())
            .taskType("string")
            .broadcastThreadReplyToChannel(false)
            .threadTs("string")
            .updateParentMessage(false)
            .build())
        .workflowId("string")
        .enabled(false)
        .name("string")
        .position(0)
        .skipOnFailure(false)
        .build());
    
    workflow_task_send_slack_message_resource = rootly.WorkflowTaskSendSlackMessage("workflowTaskSendSlackMessageResource",
        task_params={
            "text": "string",
            "send_as_ephemeral": False,
            "channels": [{
                "id": "string",
                "name": "string",
            }],
            "color": "string",
            "parent_message_thread_task": {
                "string": "string",
            },
            "pin_to_channel": False,
            "actionables": ["string"],
            "send_only_as_threaded_message": False,
            "slack_user_groups": [{
                "id": "string",
                "name": "string",
            }],
            "slack_users": [{
                "id": "string",
                "name": "string",
            }],
            "task_type": "string",
            "broadcast_thread_reply_to_channel": False,
            "thread_ts": "string",
            "update_parent_message": False,
        },
        workflow_id="string",
        enabled=False,
        name="string",
        position=0,
        skip_on_failure=False)
    
    const workflowTaskSendSlackMessageResource = new rootly.WorkflowTaskSendSlackMessage("workflowTaskSendSlackMessageResource", {
        taskParams: {
            text: "string",
            sendAsEphemeral: false,
            channels: [{
                id: "string",
                name: "string",
            }],
            color: "string",
            parentMessageThreadTask: {
                string: "string",
            },
            pinToChannel: false,
            actionables: ["string"],
            sendOnlyAsThreadedMessage: false,
            slackUserGroups: [{
                id: "string",
                name: "string",
            }],
            slackUsers: [{
                id: "string",
                name: "string",
            }],
            taskType: "string",
            broadcastThreadReplyToChannel: false,
            threadTs: "string",
            updateParentMessage: false,
        },
        workflowId: "string",
        enabled: false,
        name: "string",
        position: 0,
        skipOnFailure: false,
    });
    
    type: rootly:WorkflowTaskSendSlackMessage
    properties:
        enabled: false
        name: string
        position: 0
        skipOnFailure: false
        taskParams:
            actionables:
                - string
            broadcastThreadReplyToChannel: false
            channels:
                - id: string
                  name: string
            color: string
            parentMessageThreadTask:
                string: string
            pinToChannel: false
            sendAsEphemeral: false
            sendOnlyAsThreadedMessage: false
            slackUserGroups:
                - id: string
                  name: string
            slackUsers:
                - id: string
                  name: string
            taskType: string
            text: string
            threadTs: string
            updateParentMessage: false
        workflowId: string
    

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

    TaskParams WorkflowTaskSendSlackMessageTaskParams
    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 WorkflowTaskSendSlackMessageTaskParamsArgs
    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 WorkflowTaskSendSlackMessageTaskParams
    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 WorkflowTaskSendSlackMessageTaskParams
    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 WorkflowTaskSendSlackMessageTaskParamsArgs
    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 WorkflowTaskSendSlackMessage 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 str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing WorkflowTaskSendSlackMessage Resource

    Get an existing WorkflowTaskSendSlackMessage 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?: WorkflowTaskSendSlackMessageState, opts?: CustomResourceOptions): WorkflowTaskSendSlackMessage
    @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[WorkflowTaskSendSlackMessageTaskParamsArgs] = None,
            workflow_id: Optional[str] = None) -> WorkflowTaskSendSlackMessage
    func GetWorkflowTaskSendSlackMessage(ctx *Context, name string, id IDInput, state *WorkflowTaskSendSlackMessageState, opts ...ResourceOption) (*WorkflowTaskSendSlackMessage, error)
    public static WorkflowTaskSendSlackMessage Get(string name, Input<string> id, WorkflowTaskSendSlackMessageState? state, CustomResourceOptions? opts = null)
    public static WorkflowTaskSendSlackMessage get(String name, Output<String> id, WorkflowTaskSendSlackMessageState state, CustomResourceOptions options)
    resources:  _:    type: rootly:WorkflowTaskSendSlackMessage    get:      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 WorkflowTaskSendSlackMessageTaskParams
    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 WorkflowTaskSendSlackMessageTaskParamsArgs
    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 WorkflowTaskSendSlackMessageTaskParams
    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 WorkflowTaskSendSlackMessageTaskParams
    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 WorkflowTaskSendSlackMessageTaskParamsArgs
    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

    WorkflowTaskSendSlackMessageTaskParams, WorkflowTaskSendSlackMessageTaskParamsArgs

    Text string
    The message text
    Actionables List<string>
    Value must be one of updateSummary, updateStatus, archiveChannel, manageIncidentRoles, updateIncident, allCommands, leaveFeedback, manageFormFields, manageActionItems, viewTasks, addPagerdutyResponders, addOpsgenieResponders, addVictorOpsResponders, updateStatusPage, pauseReminder, snoozeReminder, restartReminder, cancelIncident, deleteMessage.
    BroadcastThreadReplyToChannel bool
    Value must be one of true or false
    Channels List<WorkflowTaskSendSlackMessageTaskParamsChannel>
    Color string
    A hex color
    ParentMessageThreadTask Dictionary<string, string>
    Map must contain two fields, id and name. A hash where [id] is the task id of the parent task that sent a message, and [name] is the name of the parent task
    PinToChannel bool
    Value must be one of true or false
    SendAsEphemeral bool
    Value must be one of true or false
    SendOnlyAsThreadedMessage bool
    When set to true, if the parent for this threaded message cannot be found the message will be skipped.. Value must be one of true or false
    SlackUserGroups List<WorkflowTaskSendSlackMessageTaskParamsSlackUserGroup>
    SlackUsers List<WorkflowTaskSendSlackMessageTaskParamsSlackUser>
    TaskType string
    ThreadTs string
    The thread to send the message into
    UpdateParentMessage bool
    Value must be one of true or false
    Text string
    The message text
    Actionables []string
    Value must be one of updateSummary, updateStatus, archiveChannel, manageIncidentRoles, updateIncident, allCommands, leaveFeedback, manageFormFields, manageActionItems, viewTasks, addPagerdutyResponders, addOpsgenieResponders, addVictorOpsResponders, updateStatusPage, pauseReminder, snoozeReminder, restartReminder, cancelIncident, deleteMessage.
    BroadcastThreadReplyToChannel bool
    Value must be one of true or false
    Channels []WorkflowTaskSendSlackMessageTaskParamsChannel
    Color string
    A hex color
    ParentMessageThreadTask map[string]string
    Map must contain two fields, id and name. A hash where [id] is the task id of the parent task that sent a message, and [name] is the name of the parent task
    PinToChannel bool
    Value must be one of true or false
    SendAsEphemeral bool
    Value must be one of true or false
    SendOnlyAsThreadedMessage bool
    When set to true, if the parent for this threaded message cannot be found the message will be skipped.. Value must be one of true or false
    SlackUserGroups []WorkflowTaskSendSlackMessageTaskParamsSlackUserGroup
    SlackUsers []WorkflowTaskSendSlackMessageTaskParamsSlackUser
    TaskType string
    ThreadTs string
    The thread to send the message into
    UpdateParentMessage bool
    Value must be one of true or false
    text String
    The message text
    actionables List<String>
    Value must be one of updateSummary, updateStatus, archiveChannel, manageIncidentRoles, updateIncident, allCommands, leaveFeedback, manageFormFields, manageActionItems, viewTasks, addPagerdutyResponders, addOpsgenieResponders, addVictorOpsResponders, updateStatusPage, pauseReminder, snoozeReminder, restartReminder, cancelIncident, deleteMessage.
    broadcastThreadReplyToChannel Boolean
    Value must be one of true or false
    channels List<WorkflowTaskSendSlackMessageTaskParamsChannel>
    color String
    A hex color
    parentMessageThreadTask Map<String,String>
    Map must contain two fields, id and name. A hash where [id] is the task id of the parent task that sent a message, and [name] is the name of the parent task
    pinToChannel Boolean
    Value must be one of true or false
    sendAsEphemeral Boolean
    Value must be one of true or false
    sendOnlyAsThreadedMessage Boolean
    When set to true, if the parent for this threaded message cannot be found the message will be skipped.. Value must be one of true or false
    slackUserGroups List<WorkflowTaskSendSlackMessageTaskParamsSlackUserGroup>
    slackUsers List<WorkflowTaskSendSlackMessageTaskParamsSlackUser>
    taskType String
    threadTs String
    The thread to send the message into
    updateParentMessage Boolean
    Value must be one of true or false
    text string
    The message text
    actionables string[]
    Value must be one of updateSummary, updateStatus, archiveChannel, manageIncidentRoles, updateIncident, allCommands, leaveFeedback, manageFormFields, manageActionItems, viewTasks, addPagerdutyResponders, addOpsgenieResponders, addVictorOpsResponders, updateStatusPage, pauseReminder, snoozeReminder, restartReminder, cancelIncident, deleteMessage.
    broadcastThreadReplyToChannel boolean
    Value must be one of true or false
    channels WorkflowTaskSendSlackMessageTaskParamsChannel[]
    color string
    A hex color
    parentMessageThreadTask {[key: string]: string}
    Map must contain two fields, id and name. A hash where [id] is the task id of the parent task that sent a message, and [name] is the name of the parent task
    pinToChannel boolean
    Value must be one of true or false
    sendAsEphemeral boolean
    Value must be one of true or false
    sendOnlyAsThreadedMessage boolean
    When set to true, if the parent for this threaded message cannot be found the message will be skipped.. Value must be one of true or false
    slackUserGroups WorkflowTaskSendSlackMessageTaskParamsSlackUserGroup[]
    slackUsers WorkflowTaskSendSlackMessageTaskParamsSlackUser[]
    taskType string
    threadTs string
    The thread to send the message into
    updateParentMessage boolean
    Value must be one of true or false
    text str
    The message text
    actionables Sequence[str]
    Value must be one of updateSummary, updateStatus, archiveChannel, manageIncidentRoles, updateIncident, allCommands, leaveFeedback, manageFormFields, manageActionItems, viewTasks, addPagerdutyResponders, addOpsgenieResponders, addVictorOpsResponders, updateStatusPage, pauseReminder, snoozeReminder, restartReminder, cancelIncident, deleteMessage.
    broadcast_thread_reply_to_channel bool
    Value must be one of true or false
    channels Sequence[WorkflowTaskSendSlackMessageTaskParamsChannel]
    color str
    A hex color
    parent_message_thread_task Mapping[str, str]
    Map must contain two fields, id and name. A hash where [id] is the task id of the parent task that sent a message, and [name] is the name of the parent task
    pin_to_channel bool
    Value must be one of true or false
    send_as_ephemeral bool
    Value must be one of true or false
    send_only_as_threaded_message bool
    When set to true, if the parent for this threaded message cannot be found the message will be skipped.. Value must be one of true or false
    slack_user_groups Sequence[WorkflowTaskSendSlackMessageTaskParamsSlackUserGroup]
    slack_users Sequence[WorkflowTaskSendSlackMessageTaskParamsSlackUser]
    task_type str
    thread_ts str
    The thread to send the message into
    update_parent_message bool
    Value must be one of true or false
    text String
    The message text
    actionables List<String>
    Value must be one of updateSummary, updateStatus, archiveChannel, manageIncidentRoles, updateIncident, allCommands, leaveFeedback, manageFormFields, manageActionItems, viewTasks, addPagerdutyResponders, addOpsgenieResponders, addVictorOpsResponders, updateStatusPage, pauseReminder, snoozeReminder, restartReminder, cancelIncident, deleteMessage.
    broadcastThreadReplyToChannel Boolean
    Value must be one of true or false
    channels List<Property Map>
    color String
    A hex color
    parentMessageThreadTask Map<String>
    Map must contain two fields, id and name. A hash where [id] is the task id of the parent task that sent a message, and [name] is the name of the parent task
    pinToChannel Boolean
    Value must be one of true or false
    sendAsEphemeral Boolean
    Value must be one of true or false
    sendOnlyAsThreadedMessage Boolean
    When set to true, if the parent for this threaded message cannot be found the message will be skipped.. Value must be one of true or false
    slackUserGroups List<Property Map>
    slackUsers List<Property Map>
    taskType String
    threadTs String
    The thread to send the message into
    updateParentMessage Boolean
    Value must be one of true or false

    WorkflowTaskSendSlackMessageTaskParamsChannel, WorkflowTaskSendSlackMessageTaskParamsChannelArgs

    Id string
    Name string
    Id string
    Name string
    id String
    name String
    id string
    name string
    id str
    name str
    id String
    name String

    WorkflowTaskSendSlackMessageTaskParamsSlackUser, WorkflowTaskSendSlackMessageTaskParamsSlackUserArgs

    Id string
    Name string
    Id string
    Name string
    id String
    name String
    id string
    name string
    id str
    name str
    id String
    name String

    WorkflowTaskSendSlackMessageTaskParamsSlackUserGroup, WorkflowTaskSendSlackMessageTaskParamsSlackUserGroupArgs

    Id string
    Name string
    Id string
    Name string
    id String
    name String
    id string
    name string
    id str
    name str
    id String
    name String

    Import

    rootly.WorkflowTaskSendSlackMessage can be imported using the import command.

    $ pulumi import rootly:index/workflowTaskSendSlackMessage:WorkflowTaskSendSlackMessage primary a816421c-6ceb-481a-87c4-585e47451f24
    

    Or using an import block.

    Locate the resource id in the web app, or retrieve it by listing resources through the API if it’s not visible in the web app.

    HCL can be generated from the import block using the -generate-config-out flag.

    pulumi preview -generate-config-out=generated.tf
    

    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
    Viewing docs for Rootly v3.3.0
    published on Thursday, May 7, 2026 by rootlyhq
      Try Pulumi Cloud free. Your team will thank you.