The pancreas secretes digestive juices when the chyme enters the small intestine.