cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Resolver II
Resolver II

How to send a Text Message

How would you send your gallery information via text message instead of email?  I can succesully send an email, but what type of connection is needed for text messages is where I am totally confused on this one!  Thanks in advance for any help.  

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: How to send a Text Message

Hi @TerrificTerri,

 

Do you want to send your Gallery information to a specific person via text message instead of email?

 

I agree with @Pat_Wickramage's thought almost, the Launch("sms:"&"") formula doesn't support sending an Text message to a specific peson.

 

If you want to send an Text message (your Gallery information) to a specific person, I think the Twilio connector could achieve your needs.

 

More details about the Twilio connector in PowerApps, please check the following article:

Twilio connector

 

I have made a test on my side, please take a try with the following workaround:5.JPG

 

 

Set the OnSelect property of the Button control to following formula:

Twilio.SendMessage("+8613485xxxxxx","+8615850xxxxxx","This is a test message")

The standard formula format of the Twilio.SendMessage() function as below:

Twilio.SendMessage(
from, /* From Phone Number, A Twilio phone number (in E.164 format) */
to,   /* To Phone NUmber, A Twilio phone number (in E.164 format)*/
body, /* Message Body Text */
{ /* This Part is optional */
 media_url:Table,
status_callback:Hyperlink,
messaging_service_sid:Text,
application_sid:Text,
max_price:Text } )

On your side, you should type the following formula:

Twilio.SendMessage(
 "From Phone Number",
 "To Phone Number",
 "Ticket Number:  " & GallerySection1.Selected.Ticket & Char (10)
)

 

More details about the Twilio connector, please check the following article:

Twilio connector

 

More details about E.164 format phone number, please check the following article:

https://www.twilio.com/docs/glossary/what-e164

 

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

12 REPLIES 12
Highlighted
Advocate II
Advocate II

Re: How to send a Text Message

Highlighted
Resolver II
Resolver II

Re: How to send a Text Message

Okay now I got Launch ("sms:  ....  How can I specify the acquired value from a test box?  Here is an example of the send email I have done.  It allows me to enter a specified text box....

 

The true value of the Toggle is to send the text message.

 

 

If (Toggle1.Value = false, Office365.SendEmail(txtSMPT.Text, "DGI Service Ticket Assignment", "Ticket Number:  " & GallerySection1.Selected.Ticket & Char (10))

Highlighted
Helper III
Helper III

Re: How to send a Text Message

As far as I know, Launch("sms:") does not allow you to send a specific text message.

It just launches the text messaging app, ready to text the number pushed through the app.

 

May be am wrong 🙂

Highlighted
Community Support
Community Support

Re: How to send a Text Message

Hi @TerrificTerri,

 

Do you want to send your Gallery information to a specific person via text message instead of email?

 

I agree with @Pat_Wickramage's thought almost, the Launch("sms:"&"") formula doesn't support sending an Text message to a specific peson.

 

If you want to send an Text message (your Gallery information) to a specific person, I think the Twilio connector could achieve your needs.

 

More details about the Twilio connector in PowerApps, please check the following article:

Twilio connector

 

I have made a test on my side, please take a try with the following workaround:5.JPG

 

 

Set the OnSelect property of the Button control to following formula:

Twilio.SendMessage("+8613485xxxxxx","+8615850xxxxxx","This is a test message")

The standard formula format of the Twilio.SendMessage() function as below:

Twilio.SendMessage(
from, /* From Phone Number, A Twilio phone number (in E.164 format) */
to,   /* To Phone NUmber, A Twilio phone number (in E.164 format)*/
body, /* Message Body Text */
{ /* This Part is optional */
 media_url:Table,
status_callback:Hyperlink,
messaging_service_sid:Text,
application_sid:Text,
max_price:Text } )

On your side, you should type the following formula:

Twilio.SendMessage(
 "From Phone Number",
 "To Phone Number",
 "Ticket Number:  " & GallerySection1.Selected.Ticket & Char (10)
)

 

More details about the Twilio connector, please check the following article:

Twilio connector

 

More details about E.164 format phone number, please check the following article:

https://www.twilio.com/docs/glossary/what-e164

 

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
Resolver II
Resolver II

Re: How to send a Text Message

Trying this now and will provide an update.  All of you people are awesome with sprinkles on top!

Highlighted
Community Support
Community Support

Re: How to send a Text Message

Hi @TerrificTerri,

 

Have you solved your problem?

 

If you have solved your problem, please go ahead and click “Accept as Solution” so that this thread will be marked for other users to easily identify.

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Resolver II
Resolver II

Re: How to send a Text Message

It took me some time but yes this works beautifully!  Thanks for all your help

Highlighted
Frequent Visitor

Re: How to send a Text Message

I just want to verify that Twilio is a separate service that you have to purchase in order to send text messages via Flow. Is that correct? 


Thanks.

Highlighted
Resolver II
Resolver II

Re: How to send a Text Message

Yes you are correct.   However, you can sign up for a 30 day trail.  Also pricing is very cheap.

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (7,804)