Examples of an Ask Task in a Cortex XSOAR playbook. Send emails to selected users or send a survey.
These examples show you how to implement some common uses of the Ask task.
Send Emails to Users
In this example, the message and survey are sent by email to all users with the Analyst role. We are not including a message body because the message subject is the survey question we want recipients to answer. There are three reply options, Yes, No, and Not sure. In the playbook, we will only add conditions for the Yes and No replies. We require recipient authentication, which first involves setting up authentication. For more details, see Create Communication Task Authentication.
Send a Survey
In this example, the message and survey will be sent to recipients every hour for six hours, until a reply is received. The SLA is six hours. If the SLA is breached, the playbook will proceed according to the Yes condition.