Process a query in order to respond to a customer need.