I had a flow pretty much the same as this, and had the same issue. The resolution was more a thing of chance and desperation. What I did:
After successfully saving at this stage, I could add and edit edit the condition and everything else. Here's the image of an execution and how my flow is (StackOverflow won't let me paste the image here): PowerAutomate Flow
As I mentioned, this only makes sense attributing it to chance, it should have worked from the start but saving after adding each single component worked for me.