How do I use Reaper's automation to control Rack?

Ah I’ve got it, thanks to this post:

Thank you @attheleash and @Omri_Cohen