Detained migrants are taken to the Guatemalan Institute of Migration, where authorities coordinate actions to resolve their immigration status and provide necessary assistance.