Copying shortcut into automation?

Is there a way to copy the scripting/commands inside an apple shortcut into an automation shortcut? I understand I can have the automation run the shortcut, but it doesn’t seem to run correctly when I do it this way. I’m also just curious to know if this is possible.

What platform are we talking about here, macOS or IOS?

Sorry, iOS and Apple Shortcuts