Could use some guidance with automation and params

Im trying to complete juice automation parameter setup but seem to be missing something. This has been a big learning curve for me and would appreciate any help.

I have attached my session. (74.8 KB)

I think where I’m missing something is that I’m referencing the gen_exported code and cant seem to get either the JUCE tutorial or the Audio Programmer tutorials to work…

Also, if anyone can shed light on, if this is the best method to setup my automation parameters (via TreeState). It doesn’t seem to bad for plugin with a few parameters but could get confusing with 50+ params???

Thanks for taking the time!