Unifi AP AC PRO with 2 SSID conected to a mikrotik, and that mikrotik conected to two different routers

Is there any way I can configure a mikrotik, so when i conect to one of the SSID of the Unifi, the mikrotik redirect me to one router or the other one (depending the SSID)?

You need to create a vlan interface for each router and linking it with the vlan in Unifi.

mikrotik - unifi 1.png

I think the situation is about words.

What you mean as redirect i think is about routing. Redirect is most use for firewall rules, in this case is not necesary

Inside interface ether on mikrotik create 2 vlans linking with vlans in unifi. Then create rule in order to send the traffic in some direccion, or you could make a routing-mark.

Any help on how do I have to do that?