Populate DB with content present on a custom state, present inside a repeat group

Take a look at this plug-in. A easy way to solve this problem: New free plugin (9 march/20) - Orchestra! Refer to inside repeating groups cell(s) from outside

Anyway, would be amazing to do this without a plugin.