An automatic working device according to an aspect of an embodiment includes a robot hand and a determining unit. The robot hand grips a target workpiece. The determining unit determines the type of the workpiece on the basis of a gripping operation for making the robot hand grip a gripped piece that indicates the type of the workpiece provided in a supply vessel that supplies the workpiece to the robot hand.