Bulks SMS from JSON with Twilio Function

edited May 21 in Functions

I'm blocked for sometime now, my Typescript skills are limited looks like..
I have this scenario that while running a Twilio Studio, I'm calling a Functions that gives back a Json containing a list of phone numbers {"1":"11111111","2":"22222222...}

I know need to take this numbers and send an SMS to each of them (it's for an alarm service) and all my attempt so far failed... I guess it's something about async / await and promise, not my strength..

My first idea was to launch an (already working) Google AppScript that does the SMS sending to the numbers in a Google Sheet, but the authentication part is were I'm stuck at, and I'm not able to launch it from Twilio Studio.

Any idea would be helpful!



Sign In or Register to comment.