Is there a way to get the site owners of a site collection using workflow? What i'm trying to do here is create a form where the user can specify the site name or URL and it will retrieve the site owners.
@Nerrd You could use the call web service action to call the endpoint via a REST call and retrieve the site owner that way. I am not sure of any other way to do that directly.
Ideally, you would have the site list setup on the form (drop down preferred) so they don't screw it up. Then take the value into a variable, use the variable with the rest call, and return the value to them via an email or update on the list.
Here is the REST API - GET http://<sitecollection>/<site>/_api/site/owner
Hope that helps.