To ask the questions

My question is to eyeryone:If building a customer service agent, would you use extensions or functions for order cancellation? Why?