Automator - how to use duplicate/copy current selection into existing symbol

Hi all,
I’m looking to set up an Automator process but a little stuck.

I’m trying to capture the current selection and in a for loop.

  • capture the name of the frame/s
  • select the children layer/s of the frame/s
  • copy the selected children
  • and finally, paste the copied children to a symbol that uses the similarly name as the frame.

Is Automator capable of the above, more specifically does it have a ‘copy to’ function, or do I need a more custom code to do this?

Thanks for any assist.