One router configured with wwan to access several different upstream networks

I have a router with needs to connect, using WIFI to the Internet. I will move it from one location to another, and I want it to automatically choose the right wifi upstream WWAN.

In one location it will access the internet (using WIFI) via a starlink router. In a different location it will access the internet (using WIFI) via a neighbour's network.

This is exactly the behaviour I would expect from my phone where it connects to whichever network it recognizes at a given location.

How can I configure this in OpenWRT?

This old post seems to ask the same question, but did not get a good answer.

Take a look at travelmate. It can do what you need.

I did that in the pass using mwan3. It's designed for load balancing, so if a wwan is not found, it will go for the other. I don't know if it will help for your case.

Sounds like fail over to me, not balancing.