Handle array variables in freshchat


I want to create a dropdown in freshchat that will allow users to select from a list of options, and set a bot variable according to the user selection. I would like these options to be populated by an array of items that can be dynamic, and provided by another bot variable.

I am currently using this to set the bot variables for the conversation:

     options: ['Option 1', 'Option 2', 'Option 3']

I would like then to prompt users to select from this list, and use their selection to set another variable.

Is this feasible? My best guess is that using the custom list functions it could happen, but I could not figure out how to implement this.