web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to send a Text Mes...
Power Apps
Answered

How to send a Text Message

(0) ShareShare
ReportReport
Posted on by 205

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.  

 

 

Categories:
I have the same question (0)
  • TML Profile Picture
    185 on at
  • TerrificTerri Profile Picture
    205 on at

    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 Profile Picture
    126 on at

    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 🙂

  • Verified answer
    v-xida-msft Profile Picture
    on at

    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

  • TerrificTerri Profile Picture
    205 on at

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

  • v-xida-msft Profile Picture
    on at

    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

  • TerrificTerri Profile Picture
    205 on at

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

  • Community Power Platform Member Profile Picture
    on at

    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.

  • TerrificTerri Profile Picture
    205 on at

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

  • Community Power Platform Member Profile Picture
    on at

    Hi , Is it possible to send message to multiple people at a time ?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard