MidiLearn CC to proper automation

If I midi learn a vsti or fx control and therefore record as cc, this of course doesn’t affect the automation parameter (where you select R W to capture via moving knob or quick controls). So there are two ways to control the same param. As the cc map could change at any time, is there a way to record the cc and render/concert to “real” automation?

It scares me that unlearning a cc breaks the link between automation and midi track!

Does this do the trick?

Yes!!! Perfect, thanks