I would like to use variables from the Trigger
widget in Twilio Studio, for example the trigger.message.From
variable (that I believe contains the sender's phone number).
Unfortunately, these variables are not passed to the event
object in my function:
exports.handler = function(context, event, callback) {
console.log("received event: " + JSON.stringify(event, null, 4));
};
prints:
received event: {}