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

Have you tried using “Run Shortcut” inside the automation? I much prefer to have my shortcuts outside of automations whenever possible.