Create a communication task
Create communication tasks in Cortex AgentiX playbooks to gather data and send surveys.
Create Cortex AgentiX playbook communication tasks to send surveys to internal and external users. Use collected issue data for issue analysis and subsequent playbook tasks. Send scheduled surveys for issue updates. Send a standalone question survey to determine how an issue was handled.
Communication tasks support two survey types:
Ask tasks: A conditional task that sends a single-question survey. The answer is used to determine how the playbook proceeds.
Data collection tasks: A data collection task sends a survey of one or more questions. The answers are recorded in context data and can be used as input for subsequent tasks.
Ask Tasks
An ask task is a type of conditional task that sends a single question survey, the answer to which determines how a playbook proceeds. If you send the survey to multiple users, the first answer received is used, and subsequent responses are disregarded. For more information about ask task settings, see Create a conditional task.
Because this is a conditional task, you need to create a condition for each of the answers. For example, if the survey answers include, Yes, No, and Maybe, there should be a corresponding condition (path) in the playbook for each of these answers.
Users interact with the survey directly from the message, meaning the question appears in the message and they click an answer from the message.
The survey question and the first response is recorded in the issue context data. This enables you to use this response as the input for subsequent playbook tasks.
For all ask conditional tasks, a link is generated for each possible answer the recipient can select. If the survey is sent to more than one user, a unique link is created for each possible answer for each recipient. These links are visible in the context data of the issue's Work Plan. The links appear under Ask.Links in the context data.
Data Collection tasks
The data collection task is a multi-question survey (form) that survey recipients access from a link in the message. Users do not need to log in to access the survey, which is located on a separate site.
All responses are collected and recorded in the issue context data, whether you receive responses from a single user or multiple users. This enables you to use the survey questions and answers as input for subsequent playbook tasks. If responses are received from multiple users, data for multi-select fields and grid fields are aggregated. For all other field types, the response received most recently will override previous responses as it displays in the field. All responses are always available in the context data.
For all data collection tasks, a single link is generated for each recipient of the survey. These links are visible in the context data of the issue's Work Plan. The links appear in the context data under the Links section of that survey.
You can include the following types of questions in the survey.
Stand-alone questions. These are presented to users directly in the message, and users answer directly in the message (not an external survey).
Field-based questions. These are based on a specific issue field (either system or custom), for example, an Asset ID field. The response (data) received for these fields automatically populates the field for this issue. For single-select field-based questions, the default option is taken from the field’s defined default.
How to create a Data Collection task
From the Task Library pane, click the task you want, for example, Blank Task.
In the Task Details pane, select the Data Collection Task Type.
Enter a meaningful name in the Task Name field for the task that corresponds to the data you are collecting.
Select the communication options you want to use to collect the data.
Optional: Select Preview to customize the email's colors, text, and submit button.
You can determine the color scheme and how the text in the message header and body appear, as well as the appearance and text of the button the user clicks to submit the survey.
If you configured a custom logo in server settings, it will appear in the preview.
Select Save. The task is added to the playbook editor. A user icon indicates that it requires manual input.
Connect tasks in their logical order by dragging a wire between them.
Save the playbook.
Last updated
Was this helpful?
