Trigger Twilio SMS on each new order creation

Thanks for your reply. I have done all the required twilio setup and tested send sms using button as well but now I want to send sms automatically and for this I have created a events.js file and trying to add my code as below but when I test nothing happens even in published mode as well. Am I missing something here? Could you please help?
*******************/
import { sendSMS } from ( ‘backend/twilio’ );

export function wixStores_onNewOrder ( event ) {
const newOrderId = event . orderId ;
const newOrderBuyerInfo = event . buyerInfo ;
const newOrderBuyerName = event . buyerInfo . userName ;
const phone = event . phone ;

//console.log(We have receied new order with order number ${newOrderId} and looking forward to send it to you soon.);
sendSMS ( phone , newOrderBuyerName , newOrderId );
};