Can flute of the outer gods be used against epic monsters?
No, they can't.


  An Epic Monster cannot be defeated by any effect except losing
  Health equal to or greater than its toughness.


Source: Reference Guide, "Epic Monster" (page 6)