I am trying to build a chatbot for our company's website, and I've built topics so far around sick days, pto, and holidays. I built the topic so that when someone enters a phrase around any of these three topics, it will trigger a question that asks "Where are you located?"
I have set up a custom entity called "Employee Location" with "US based" and "India based" as the two options. For each of the above mentioned topics, I added "Employee Location" in the "Identify" section of the triggered question. I also created a variable called "VarLocation" to save user responses.
Branching down from my question, I added two conidtions: "VarLocation is equal to US based" and "VarLocation is equal to India based". Based on what the user selects, it should trigger a message describing the sick day/pto/holiday policy based on their location.
I have no errors in any of these three topics. However, when I try to test the agent by typing in "how many sick days do we get?" for example, it gives me this error message: "Error Message: Action cr56b_liventusSharePointAssistant.topic.SickDays.main.question_sZZJzF was executed more than 500 times in a row. This indicates a cycle in execution of the dialog and hence dialog execution will be terminated. Error Code: InfiniteLoopInBotContent Conversation Id: cd5f13da-cacf-4862-ad88-b526a2d8dd4b Time (UTC): 2024-12-03T17:29:50.193Z"
I don't understand what the issue is or how to fix it, as none of my topics have any errors and every tutorial I've looked at makes it seem as though I've set my topics up correctly. Any help would be much appreciated. Photos of "Sick Days" topic attached for reference.