The easiest way I've found to search for 1-alkynes or primary amines, or anything along those lines, is to specify hydrogens. If you draw a bond to hydrogen from the end of your triple bond, or bonds to two hydrogens from your nitrogen, it will look specifically for those limited structures.
I believe there is also a way to pick specific atoms as reactive centers, meaning they need to change during the reaction, but I've usually found it easier to do a second search with the unchanged structure on the product side, and subtract those results from the first list.