I have a list of 243 unique product names and one url to go with each. What would you suggest as the easiest way do a scripted lookup that would return a url if the user entered one of those product names. Lexicons and straight lookups create too many branches. I am using this in the cloud, not on prem.
so you want to create a URL dynamically based on the user input, right? Using a Lexicon that includes all product names would be my suggestion since you could use Slot Fillers then to check if the user talked about one of the products.
With this, you could only create the dynamic URL if the user said "product x" in a message. All in all, this fits into our concept of missing values, called the "Missing Pattern". Please take a look at this article here and try it out:
Does this help you?