I do recall that there was a system to force trapavoid creatures down a certain path by abusing the fact that they cannot trigger pressure plates. You have a tunnel that's "open" to your fort, but inevitably leads the bastards into a path of doom. (Inevitably with stabby spikes on repeat for the inevitable kobolds, and then your FB trap afterwards.) The basic gist of it was that the pressure plate in the line of sight was set to trigger for every weight, including civilians, and was set up so that triggering it would shut off the access to the kobold/FB trap and open the "normal" disposal chamber, probably a goblin grinder of sorts. What would end up happening is that any creature without trapavoid will step on the plate, immediately routing their open path through the goblin grinder. The gate opens immediately, and will only shut 99 ticks after it is no longer activated--so give the goblins a good winding path through a nice multi-Z-level tunnel to ensure they're walking long enough that the gate shuts behind them. (If the first creature leaves the path and a second one steps on the plate before the gate closes, it merely "resets" the timer.) Once everybody is inside, they are dealt with in the manner of your choice.
However, anybody who doesn't trigger the pressure plate must be trap-avoid. (The exceptions are creatures too large for pressure plates, which include various giant whales, giant elephant seals, and elder dragons. Cage traps WILL catch these suckers--so building this kind of trap also nets you an automatic dragon-filter.) As far as I know, the only trap-avoid creatures that aren't procedurally generated (and therefore do not have building destroyer tags) are kobolds. A giant semi-repeatable cave-in trap (large cube of constructed walls hovering over a support), bonus points for an artifact lure, tends to be enough to deal with non-kobold invaders. Note, that, for this to work, the path to your fort has to be "technically" open, so you should put a long row of repeating spikes or something else to maim the kobolds. Alternatively, a guard animal to spot them (make sure to keep it far enough away from the cave-in trap so it doesn't get caught in the dust!) should be enough to route them away. But spikes are your friend.<3