The Spaniard has struggled in the opening weeks of the season, but found the net in the second half of the Old Lady's 2-0 win against Palermo this afternoon.
"Llorente wasn't depressed at not scoring yet this season, but it's normal that a goal is important for a striker, even if he likes to play for the team," Allegri told Sky Sport Italia.
"This was the right game for him, both for his physical characteristics and to let Morata rest. I am happy he scored, as he repaid the faith we have in him and above all his own self-confidence."
Juventus are currently three points clear at the top of the Serie A table.