Third-party assistance can give midsize companies a boost in competition for talent