What would cause the engine to idle rough after starting then runs smooth? on 2007 GMC Canyon

Once the truck is started and starts to warm up it will gradually start to idle better. No engine lights come on and once its started and warmed up it runs fine. All ready changed plugs. Wondering if its a bad IAT sensor or something to do with the emissions. Couple times it wouldn't start back up after driving for short while. Any ideas as to what could be the problem?

Get Your Car Fixed at a RepairPal Certified Shop.
We certify shops based on expertise, quality work, and verified customer reviews
1 answer
Have an induction service done to clean the carbon build up.