https://discord.gg/botpress logo
How to store autonomous node input?
# 🤝help
c
By using variables I can store my users the input of a standard node. An autonomous node uses these variables, but I cannot select or create a specific variable for an autonomous node.. I would like to store and use the information of an autonomous node for the next node... How do I do this?
p
Create the variable and toggle it within the AN to be writable then it can be used by all the other nodes. Does this answer your question?
c
Allmost, can you show me how to toggle? 🙂
The variables that are in here now are all the previous variables of all of the standard nodes. I need that output as well.. When I create a new variable meant specifically to store the answers of the user from the autonomous node, it doesnt store it. I think because it doesnt know where... Thats why I tried adding it to the prompt. But that doesnt seem to work either. https://cdn.discordapp.com/attachments/1376585709988745390/1376608751087521853/image.png?ex=6835f24e&is=6834a0ce&hm=a63ffbf12cf50b66a801962d1b67e5e3515ea2bd444b07188f89eaf451addfa4&
p
Click on the variables you want the AN to be able to modify, you'll see (+r+w) which means read and write. Hope this helps!
c
I think so! Just to make clear that I understood: if I want a variable to be read within the current AN, I set them to read (the previous variables), and the information I want to store from the current AN, I set to write?
Thanks for your patience... 🙂
p
All workflow variables can be read by the AN, the question is whether it can modify the variable. It doesn't always have write permission, for that you must click on the variables.
c
Ok, thank you Leanne! Ill give it a try 🙂