Trigger Twilio SMS on each new order creation

I am looking for an integration where I can send SMS along the order ID whenever a new order has been created in Wix eCom store.
This is very basic feature but wix Automation doesn’t support it and when I tried sending the SMS using Zapier I was surprised that whenever someone purchase the product there is no way to send the order ID
Hence I want to send SMS directly from Wix site automatically.
Any help will be really appreciated.

Choose the relevant event. See:
https://www.wix.com/velo/reference/wix-stores-backend/events
and send the SMS when the event fires (send the event . orderId ).

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 );
};

@shailendrak907 There isn’t such a thing event.phone .
Either use const phone = event.buyerInfo.phone OR
const phone = event.billingInfo.phone .
Also I don’t know how you built your sendSMS function. There might be some problem there too.