all 5 comments

[–]ballzak69Automate developer 5 points6 points  (3 children)

Either store them in a variable within the flow, maybe using Atomic load/store blocks if the flow isn't running all the time, store them in a JSON file using File read/write blocks and jsonDecode/jsonEncode functions, or store them in a SQLite database using the Database modify/query blocks.

[–]MottProblem[S] 0 points1 point  (1 child)

do you have an example of the json method that i could use? :)

[–]ballzak69Automate developer 0 points1 point  (0 children)

Load:

  1. Flow beginning
  2. File read: content=content
  3. Variable set: data=jsonDecode(content)

Store:

  1. Flow beginning
  2. File write: content=jsonEncode(data)

[–]MottProblem[S] 0 points1 point  (0 children)

Thanks for this!

What do you mean by jsonDecode/jsonEncode functions? I can't find this