Bosses appear on specific waves and are announced in chat. Some summon minions, surround themselves with protective totems (destroy them to make the boss vulnerable) or wait in their arena: a portal then opens near the altar after the last wave. A boss can also carry affixes that change how it fights.
Powerful attacks are announced: zones that light up, lines on the ground, particles. Watch the floor and move. Some mechanics require you to work together.