I am using a node.js code snippet to generate dynamic data for a chatflow module. I’m having trouble accessing values for responses that have been saved in previous modules in my chatflow. In the below code snippet I am trying to access the height property by saying event.session.parsedResponses.Height and that returns [object Object]. What else am I missing from the api to get my desired response?
session:
{ vid: 19586801,
botNickname: 'Bot',
currentModuleNickname: 'Get Price',
sessionStartedAt: 1562164601553,
lastInteractionAt: 1562164625231,
state: 'ACTIVE',
customState: {},
responseExpected: false,
parsedResponses:
{ Height: [Object] },
properties: { CONTACT: [Object] } }