 " Take Your Daughter to Work Day " was written by Mindy Kaling , who portrayed Kelly Kapoor on the series . The entry was directed by Victor Nelli , Jr , making it his second directoral credit after the earlier episode " The Carpet " . The episode was one of the last installments filmed for the season . In addition , the episode took five days to film . Each day , over twelve hours was devoted to filming . The episode guest stars Jazz Raycole as Melissa Hudson , Delaney Ruth Farrell as Sasha Flenderson , Spencer Daniels as Jake Palmer , and Jake Kalender as a young Michael Scott . 
