Wanting to Add Search Counter to AI Search

Wardma
Tera Guru

Hello Fellow Devs, 

I am working on Virtual Agent ITSM Pro. I have copied the topic block AI Search to make some modifications such as adding a direct path in front of the end user to reach a live agent in each actionable input node. I now want to add a search counter that will increment the search count attempts and after the third attempt force the end user over to live agent. I added a variable for the search counter and based off of the current topic block I decided I was going to use the "New Search Term" node to increment the counter. However, it appears to break after the second attempt. 

 

If the search counter is less than 3 is should allow the end user to search again until it reaches 3. After 3 it then should force the user to the Connect to Live Agent. 

 

I tested this out and it would break with the error message, "I am having technical issues..." then it attempts to reach a live agent.

Wardma_0-1691508250182.png

 

Current AI Search Flow modified from the original. 
The next screenshot is the proposed counter solution. 

Wardma_1-1691508533279.png

Any advice would be greatly appreciated. 

1 ACCEPTED SOLUTION

Wardma
Tera Guru

Configured the search counter in the flow it just wasn't set as the topic to work accordingly. I was still using the default topic. After ensuring the topic was set in the conversational interface it began working as intended. 

View solution in original post

1 REPLY 1

Wardma
Tera Guru

Configured the search counter in the flow it just wasn't set as the topic to work accordingly. I was still using the default topic. After ensuring the topic was set in the conversational interface it began working as intended.