cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Resident Rockstar
Resident Rockstar

Re: SMS PowerApp with Twilio connector

@AlexJohnH 

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

Highlighted
Regular Visitor

Re: SMS PowerApp with Twilio connector

@EricLott 

 

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. 

Highlighted
Resident Rockstar
Resident Rockstar

Re: SMS PowerApp with Twilio connector

@AlexJohnH 

You can add all recipients to one multiline textbox and loop through it like this:

ForAll(Filter(MatchAll(YourMultiLineTextInput.Text,"(.*)",MatchOptions.Multiline),FullMatch<>""),Twilio.SendMessage("15552603109",FullMatch,"Hello, World!"););

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.

View solution in original post

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,808)