Take a look at samsung-galaxy-a12/faq/faq/flash-notification-samsung/
There may be apps in the Playstore that bring this option too @Rightmiau
Daily Driver > Samsung Galaxy s²³ Ultra 512Gb in Phantom Black.The advice I offer is my own and does not represent Samsung’s position. I'm here to help. " This is the way. "