https://discord.gg/botpress logo
Issue saving data into an object with an Autonomou...
# 🤝help
e
I'm having trouble using Autonomous Nodes in Botpress when trying to store user contact information in a structured object, like this: user.leadPersonalData = { firstName: "Jean", lastName: "Tremblay", phone: "(514) 123-4567", email: "jean@example.com" } My prompt is well structured and the flow works overall, but: Flat variables (like workflow.leadPhone or workflow.leadEmail) save correctly when declared with var: "workflow.leadPhone". However, when I try to store values inside an object, like user.leadPersonalData.firstName, nothing gets saved. Even when I use var: "user.leadPersonalData.firstName", the value is not persisted. It seems like Autonomous Nodes don't handle nested object keys properly. My question is: Are objects and nested keys supported in Autonomous Nodes? Should I always use flat variables in the workflow scope instead? Thanks for your help!