Mikrotik Add BGP network with ROUTE-MAP like cisco

Hello,
in cisco when we want to add a bgp network we can use such command like this :
router bgp 12345
address ipv4 family
network 192.168.1.0/24 route-map MYROUTEMAP

then in MYROUTEMAP we can set different attributes and then that route will install in routing table with that route, is there anything similar to this in mikrotik ?
thanks,

Yes, it is called routing filters.

yes i know that, but in cisco you can attach route-map to bgp network announcement but in mikrotik we can only add network and set syncronize

for example i want to specify that 192.168.1.0/24 install with 12345:777 community in my routing table

That can be done. Here is an example config


/routing bgp peer
add name=peer1 out-filter=bgp-out remote-address=203.0.113.2 ttl=default

/routing filter
add action=accept bgp-communities="" chain=bgp-out prefix=192.168.1.0/24 set-bgp-communities=12345:777