The gunmen opened firing at their vehicle in Ismaelzai area of central Orakzai agency.
The injured workers were immediately shifted to a nearby hospital. Their condition is said to be stable.
No Taliban group has claimed responsibility for the assault.
The security forces rushed to the incident site and started combing operation to nab the culprits.