Let $X=(V,E)$ be a graph, and to each vertex $v \in V$, associate a group $G_v$. The graph product of the groups $G_v$ (as defined e.g. here) is $F/R$; the quotient of the free product of the $G_v$ by the by the normal subgroup generated by commutators $[G_{u_1},G_{u_2}]$, where $\{u_1,u_2\} \in E$.
Let $K$ be a simplicial complex on vertex set $V$, and let $G_v$ be a collection of groups. One can also associate a graph product of groups $G^K$ to $K$ by taking the graph which is the $1$-skeleton of $K$. $G^K$ is not then dependent on the higher simplices of $K$. In particular, it doesn't depend on missing faces of dimension greater than $1$.
I wish to find a generalization of the construction of the graph product of groups to take into account the higher simplices (or missing faces) of $K$, but which agrees with the construction of the graph product of groups in the case that $K$ is flag.
One can attempt to make this generalization by taking the colimit of the appropriate diagram in $\mathbf{Grp}$. That is, take the colimit of the diagram $\mathcal{D}: Cat(K) \rightarrow \mathbf{Grp}$, a functor from the face category of $K$ to $\mathbf{Grp}$, which associates to each simplex $\{v_{i_1},...,v_{i_j} \} = \sigma \in K$ the direct product $\prod_{j} G_{v_{i_j}}$, and takes inclusions of simplices to inclusions of groups
This doesn't work, because this still only depends on the $1$-skeleton of $K$. The issue appears to be an absense of "higher commutativity" in $\mathbf{Grp}$.
In their book Metric Spaces of Non-Positive curvature, Bridson and Haefliger define complexes of groups, and the fundamental group of such a complex. We can use $K$ to construct a simple complex of groups (associating to every simplex the product of the vertex groups) and then take the fundamental group. That construction seems like it could get me somewhere, but it does not seem to be possible to use/adapt this into generalization of the graph product of groups - despite the fact that the resulting fundamental group does seem to depend on the higher simplices of $K$.
Intuitively (to me), the fundamental group seems to be an invariant which depends on "loops" in $K$, rather than missing faces.
Viewing groups as discrete topological groups and taking the homotopy colimit seems like a potential way to go, but the construction of homotopy colimits in $\mathbf{TGrp}$ seems very involved.
Does a construction exist which makes such a generalization possible?