We are trying to migrate a workflow from our Sandbox to our Production Gallery. For now, we're trying to download the workflow from the Sandbox and manually upload it (Save As..) to the Production Gallery. However, we run into "unable to translate alias" errors (understandably), since the workflow is setup using the Sandbox gallery connections, and those connections "break" when placed in the Production Gallery.
What is the proper process of completing such a migration? Do we have to use the API endpoints? If so, how is the transition of gallery connections (Sandbox --> Production) handled?