How can i get caller number and called number dial by caller in smart assist

how can i get caller number and called number dial by caller in smart assist and also want caller session object

@rayya.alohatechnolog,

Apologies for the delay in response.
You can find the caller number(Customer) and called number(Support) in the Dashboard >> Interactions tab.
Please find the documentation for the same:

Please let us know if your requirement differs from the above.

Regards,
Yoga Ramya

To capture the caller ID of an inbound call to be used in a dialog flow, you add a script node to the Smart Assist call treatment flow. See the image below:

Here is the text of the script:
setCallFlowVariable(‘caller’, context.BotUserSession.channels[0].handle.Caller);
var caller = getCallFlowVariable(‘caller’);
userSessionUtils.put(‘Caller’, caller);

In a message node in an XO flow - Say "I see you are calling from a phone number {{context.session.UserSession.Caller}} "

1 Like

Hello,

Is that possible to get the called (target) phone number in experience flow and in XO flow ?

Thanks