Accessing MRVS variable set through Virtual Agent

abirakundu23
Mega Sage

Hi All,

When working with catalog items or record producers that include Multi-Row Variable Sets (MRVS), integrating them into Virtual Agent conversations can present technical challenges. Here walks you through how to handle MRVS in a Virtual Agent flow and submit the request seamlessly.

 

Use Case :
We have a catalog item titled "Add/Remove User" from Group where users need to provide multiple inputs through an MRVS, such as:

Action Type (Add or Remove)

Group Name

User Name

All of these fields are captured in a Multi-Row Variable Set. The goal is to capture this information through a Virtual Agent conversation and submit the catalog item request without manual form entry.

Solution Overview :
To achieve this, follow the steps below to capture MRVS data and pass it correctly via Virtual Agent:

1. Create a Parent Topic

Start by creating a Virtual Agent Topic that collects general request information (e.g., Requester's name, additional comments).

This topic will serve as the parent for handling the overall conversation.

2. Create a Topic Block for the MRVS

Under the parent topic, create a Topic Block that focuses on collecting data for the MRVS fields.

This block will be responsible for looping through MRVS entries as needed.

3. Define Prompts for Each MRVS Variable

In the topic block, define individual prompts for each variable included in the MRVS (e.g., Action Type, Group Name, User).

Collect each row of input and store the data in an array format compatible with MRVS structure.

4. Submit the Catalog Item


Please find the attached screenshots:
MRVS variable set:

abirakundu23_0-1751990439090.png
Topic block is calling for MRVS from parent topic:

abirakundu23_1-1751990572693.png

Topic block designed for MRVS:

abirakundu23_2-1751990669071.png
Submit Request:

abirakundu23_3-1751990725937.png

I hope here from here get an idea how to access MRVS through virtual agent conversational interface for submit catalog item request.

Please mark helpful and correct answer if it's worthy for you.

 



0 REPLIES 0