The first thing you have to do is go to the switch in the room, which you will have to activate with a melee attack. You will have to keep the switch pressed until a message appears indicating that you can no longer move the mechanism or something like that > after this you will have to go to the pillars near the switch, where you will find some more switches. You will have to press both of them to move the wall once more by pressing the main switch.
This way you will prevent the door from closing when you press the smaller switch again > after this you will have to turn around and go up the stairs to the secret room, where you will have to face a battle. After the battle you will have to take the chest and continue with the mission, although you can also leave the place if you don't want to jump.
That's all you need to know about how to get into the secret room in Genshin Impact so now that we have reached the end, we hope you manage to access this room without any problem so that you complete this part of the mission.