How can I manually trigger a custom order action for admin UI redirection?

Hello everyone,

I would like to ask for some help. I want to create a custom action for and order in the admin UI, that if clicked will redirect the admin from the admin/order/{order_id} page to an external URL with the order related customer email in query parameter. I tried Flow, but it mostly automates it, and i want this action to be triggered manually, and also Flow does not have a redirect feature that will redirect the store staff/owner to a new page. Any suggestions ?

Thanks everyone!

I’m not sure what you are looking to do. I don’t think you can redirect an Admin page to a different website by default. Redirects are intended for the storefront.

If you want to link to your app and you have an app, you could use something like this:

https://shopify.dev/docs/apps/app-extensions/getting-started#add-an-admin-link