Original Message:
Sent: 07-10-2025 12:29
From: Shakti Joshi
Subject: Dollar amount value not capturing
I have tried using it without builtin:amountOfMoney ,using a Regex and also as a Integer but nothing has worked:-
{ "name": "Bill Payment", "confidence": 0.6487361344085244, "slots": [ { "name": "MakePayment", "value": "30", "type": "builtin:number", "confidence": 1 } ]}
and also this
{ "name": "Bill Payment", "confidence": 0.6560295980438402, "slots": [ { "name": "BillPaymentDate", "value": "2025-07-15", "type": "builtin:date", "confidence": 1 }, { "name": "MakePayment", "value": "$30", "type": "ST_MakePayment", "confidence": 1 } ]}
------------------------------
Shakti Joshi
Accountant
Original Message:
Sent: 07-10-2025 12:17
From: Samuel Jillard
Subject: Dollar amount value not capturing
I wonder if this is due to the ToCurrency only expecting a numerical value, but is receiving the USD part as well e.g 30.00|USD.
I will look into this a bit more, but maybe someone else will have the answer in the meantime
------------------------------
Sam Jillard
Online Community Manager/Moderator
Genesys - Employees
Original Message:
Sent: 07-10-2025 07:37
From: Shakti Joshi
Subject: Dollar amount value not capturing
I am trying to capture money and date value from an expression like "i want to pay $30 on Next friday"
So it's able to capture the date value, but not Dollar amount, below is the value from the "Optimization Dashboard" :-
{
"name": "Bill Payment",
"confidence": 0.642122728277195,
"slots": [
{
"name": "BillPaymentDate",
"value": "2025-07-18",
"type": "builtin:date",
"confidence": 1
},
{
"name": "MakePayment",
"value": "30.00|USD",
"type": "builtin:amountOfMoney",
"confidence": 1
}
]
}
and below is from the Execution History:-
ToCurrency(Slot.MakePayment)
Data Type: Currency
Value:
NOT_SET
#ConversationalAI(Bots,AgentAssist,etc.)
#DigitalChannels
------------------------------
Shakti Joshi
Accountant
------------------------------