MattermostAskUser

Asks a user a question on Mattermost and expects a response. The response can also close a task, (this can be conditional) in a playbook.

Script Data


NameDescription
Script Typepython
Tagsmattermost

Dependencies


This script uses the following commands and scripts.

  • mattermost-send

Inputs


Argument NameDescription
userThe Mattermost user to ask. Can be, "email" or "mattermost username".
messageThe message to ask the user.
option1The first option for a user to reply. The default is "yes".
option2The second option for the user reply. The default is "no".
taskWhether the task should close with the reply. If "none" then no playbook tasks will be closed.
replyEntriesTagThe tag to add on to the email reply entries.
persistentWhether to use a one-time entitlement or a persistent one.

Outputs


There are no outputs for this script.