I'm wanting to integrate Twilio in to a Power App - I've been doing some testing and need some assistance.
Essentially I'm wanting to design a Power App whereby the end user clicks a 'Send SMS' button and is then prompted to enter the text they'd like to send in the SMS message. Also, I'm not sure if it's possible to add a list of numbers that the message will go to in Twilio.
Thanks in advance
Solved! Go to Solution.
I've got this working on my end. Here is exactly what mine looks like (except the numbers are scramble)
Set(fromNumber,"15552603109"); Set(toNumber,"5555895367"); Twilio.SendMessage(fromNumber,toNumber,"Hello, World!")
You can also use the alphanumeric SID found on your Twilio's number settings as the From value. It's a long string of numbers and letters like PNa14d8eafdfc6e97a75a6c81ce8f4dc77c
Thanks, that's working now. I've changed the last section to use the text input. So I'm using:-
Set(fromNumber,"441233800495"); Set(toNumber,"447742935482"); Twilio.SendMessage(fromNumber,toNumber,'SMS Text Input')
I guess I just need to incorporate a text input that adds 'toNumbers' as the apps needs to be able to send to quite a few numbers.
You can add all recipients to one multiline textbox and loop through it like this:
The numbers will need to be on their own line of the textbox.
If this answered your question, please click "Accept Solution". If this helped, please Thumbs Up.
Check out the on demand sessions that are available now!
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Features releasing from October 2020 through March 2021
Check out the Power Platform Community Highlights