Skip to content

slack survey

Send a Slack Survey to users/channels


Send a Slack Survey to users/channels


slack survey
    --name <name>
    --message <message>
    [--options <options>]
    [--timeout <timeout>]
    [--retry_interval <retry_interval>]


name - (string)

     Slack User/Channel IDs to post the message
     Example: --name "#general"
     Default: _None_      Attributes: required, multiple allowed

message - (string)

     Message to post in the channel
     Example: --message "Build has been successful"
     Default: _None_      Attributes: required

options - (string)

     Values to be displayed to post in the channel (Leave empty to receive any kind of text response)
     Example: --options "value1"
     Default: _None_      Attributes: optional, multiple allowed

timeout - (duration)

     timeout duration in minutes for the request
     Example: --timeout "5h"
     Default: 5h      Attributes: optional

retry_interval - (duration)

     interval duration in minutes to retry the request
     Example: --retry_interval "1h"
     Default: 1h      Attributes: optional


slack survey --name "#general" --message "Build has been successful" --options "value1"

Access Control

To use this command, you need access to the following:

Field Value
Action "update"
Service Type "slack"
Service Instance
Object Type "message"
Object ID name

Please see Access Control for details.