How do i pass data from Smart assist to XO platform using session ID

Hi Team

How do I pass data from smart assist to XO platform using session ID or any other variable

Hi Sachin,

We are checking on the possible scenario’s for this requirement and will keep you posted with the update on this.

Thank you,
Srujan Madderla
Kore.ai Community Team

Hello @sachin ,

Please try following the below steps and let us know if this addresses your requirement.

Experience flow :
start > script > run_automation node.

const a=10;
userSessionUtils.put('dummy',a);

You can access this variable from the XO platform using the following JSON path.

{{JSON.stringify(context.session.UserSession.dummy)}}

Interaction screenshot :

image

Hope this helps.

1 Like