Flow variable storage

hello world.
could the flow store the variables even if the node red restarted ?
if not how would i store variables in node red and use them again.
in my case i'm using a numeric input and when i assign number to it i wanna see it the next time i open node red.
thanks.

Yes, you can. You have to use the file-based storage instead of the in-memory context.

Here's how you configure it:

https://nodered.org/docs/user-guide/context#saving-context-data-to-the-file-system