Slack

Make a decision

Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.

Send a Slack message with a list of options, and wait for someone to select an option before proceeding. Workflow execution flow will branch out depending on the user’s decision.

Inputs

Expand All

Champ

Type

Description

channel [required]

string

teamId [required]

string

promptText [required]

string

This is the text that will appear immediately above the choice buttons in the Slack message. You can provide additional context here that's useful for responders.

mentionTargets

[string]

An optional list of Slack users or groups to mention (for example, "@here").

actionChoices

[object]

This is the list of choices that will appear in the Slack message, which includes both the text displayed in Slack and the corresponding branch in your workflow.

default: [object Object],[object Object]

outboundBranch [required]

string

displayName [required]

string

header

string

DEPRECATED:

default: *Automated message from Datadog*

timeoutHours

number

default: 24

Outputs

Expand All

Champ

Type

Description

responder [required]

object

username [required]

string

team_id [required]

string

id [required]

string

decision [required]

string