Hi!
I think the best way for this It's the decision - what is the primary action and what is slave.
Let's assume Twillo is a master, Calendar is a slave. Then you have to subscribe to Twillo API broadcasting/webhooks/events stream or something else (depends on their service).
Otherwise you can sync your calendar more simply.
Create a trigger onEventUpdated
function userActionRegisterEventUpdatedTrigger(){
ScriptApp.newTrigger('eventUpdatedTrigger_')
.forUserCalendar(Session.getActiveUser().getEmail())
.onEventUpdated()
.create();
}
function eventUpdatedTrigger_(event){
console.log(event);
}
~Alex