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

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
Community Support Team
Community Support Team

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
TML
Level 8

Re: How to send a Text Message

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))

Pat_Wickramage
Level: Powered On

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 Smiley Happy

Community Support Team
Community Support Team

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

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!

Community Support Team
Community Support Team

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.

Re: How to send a Text Message

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

DebV
Level: Powered On

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.

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
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 66 members 3,082 guests
Please welcome our newest community members: