Referencing a cross-doc R/W account?

Dear all,

I’m trying to create a ‘router’: tasks would come in to a central task repository from multiple docs and they would be re-routed to individual “private space” docs. For this the task repo would need to be hooked up with R/W credentials to all individual docs and a switch would need to be implemented to identify the task owner’s hooked private space to route the task to.

Is there a way to reference the accounts so that I can use it as a parameter in the switch formula?

(Or is there a simpler way of doing the same thing? The use case is that there are many departments and any employee can get tasks from any department so they want workspaces for individuals to aggregate their tasks + sync between departments and individual work spaces. )