Skip to main content

ZoomAsk

This Script is part of the Zoom Pack.#

Sends a message (question) to either a user (in a direct message) or to a channel. The message includes predefined reply options. The response can also close a task (might be conditional) in a playbook.

Script Data#


NameDescription
Script Typepython3
TagsZoom
Version5.5.0

Use Case#


This automation allows you to ask users in Zoom (including users who are external to Cortex XSOAR) questions, have them respond and reflect the answer back to Cortex XSOAR.

Dependencies#


Requires an instance of the Zoom integration with Long Running instance checked.

This script uses the following commands and scripts. send-notification

Inputs#


Argument NameDescription
userThe Zoom user to whom to send the message. Can be either an email address or a Zoom user_id.
channel_idThe Zoom channel_id to which to send the message.
messageThe message to send to the user or channel.
option1The first reply option. The default is "Yes" with a blue button. To change the color of the button, add the pound sign (#) followed by the name of the new color (blue, red, or black). The default color is "Blue". For example, "Yes#blue".
option2The second reply option. The default is "No" with a red button. To change the button color, add the pound sign (#) followed by the name of the new color (green, red, or black). The default color is "red". For example, "No#red".
taskThe task to close with the reply. If empty, then no playbook tasks will be closed.
persistentIndicates whether to use one-time entitlement or persistent entitlement.
responseTypeHow the user should respond to the question.
additionalOptionsA comma-separated list of additional options in the format of "option#color", for example, "maybe#red". The default color is "black".
replyThe reply to send to the user. Use the templates {user} and {response} to incorporate these in the reply. (i.e., "Thank you {user}. You have answered {response}.")
lifetimeTime until the question expires. For example - 1 day. When it expires, a default response is sent.
defaultResponseDefault response in case the question expires.

Outputs#


There are no outputs for this script.

Guide#


The automation is most useful in a playbook to determine the outcome of a conditional task - which will be one of the provided options. It uses a mechanism that allows external users to respond in Cortex XSOAR (per investigation) with entitlement strings embedded within the message contents. SlackAsk

The automation can utilize the interactive capabilities of Zoom to send a form with buttons. This requires the external endpoint for interactive responses to be available for connection. (See the Zoom integration documentation for more information). You can also utilize a dropdown list instead, by specifying the responseType argument.

Notes#