^^^^ Good point about auto-anything, really. Even when you're using flash, the camera's metering system will make every effort to expose with ambient light. If you are in shutter-priority, it will open the aperture as wide as it can go. If you're on aperture priority, you might end up with a 30-second shutter (if it's dark enough.) and auto-ISO, if enabled, will jack the ISO up to what's required, or to your max setting.
Shooting flash, you want to limit these efforts by the camera's metering and put everything manual. Auto modes with auto-TTL flash will do a decent job of exposure if there is good ambient light, and will then give a fairly good fill flash. Without good ambient light, you don't want any camera settings on automatic. Auto-TTL flash is OK, you'll get a good flash picture.