The way we handle this is by making the function take company as a parameter then we use this approach. The user you are running your workato connection with would have to have impersonation access and cross company access of course.