Currently the pre built amount of money slot in the bot flow is set to USD, is there anyway to change this to other currencies?
Hi Anton,
Dialog Engine Bot Flows will recognise a range of different currencies when the end user speaks/types them, so you can say "40 US Dollars", "25 Australian Dollars", etc. The underlying Currency data type that's used to store the value can support pretty much all currency codes.
At present, if you just say "40 Dollars" then the system defaults to setting the currency code to "USD". If you want to change this, you can use an Update Data action to change the currency code but leave the amount intact, e.g.:
MakeCurrency(Slot.MyMoney.amount, "NZD")
I hope this answers your question.
Michael
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.