Hi,
Trying to work out better ways of dynamically choosing the right script. AS there is no "Find Script" type function, this is not very straightforward or programmatic.
At the moment, I've built a reusable task that based off some parameters will then go through a tree of switch functions to get to the right one.
With a complex client that has lots of skills and variations on scripts, this is quite unwieldy..
I was hoping there may be an API call that can be used to associate a specific script via a data action (at least then we could reference a datatable, for a variable that feeds the action) BUT there doesn't seem to be anything in the Conversation or Script API's that would allow me to do this.
Or is this going the wrong way about it.. Should we be looking to make the scripts more dynamic although this also doesn't seem to be very straightforward. Admittedly, I've been focussing on flows and integrations so haven't explored this very deeply yet.