Skip to main content

Send SMS to the user using Microsoft Flow

Send SMS to the user using Microsoft Flow

Scenario :- Send a text message to the user if the event is going to occur in next 30 minutes using Microsoft Flow. 

Step 1 :- 

                Login to the Flow using work or school account. Add When an upcoming event is  starting soon. Set the Lock-ahead time in minutes. (Ex :- 30 min)


Step 2:- 

                    Add Get Event and choose the calendar and Id.



 Step 3:- 

                    Click on New Step -> Search for Twilio then select Send Text Messages.



Step 4 :- 

                    Login to the Twilio website -> Sign up for Twilio Account and verify your account -> Click on Dashboard. In the Dashboard you will see the Account SID and Access Token.




            Copy Account SID and Auth token paste it in flow click on Create.

Step 5 :-       

                By default if you click the drop-down in From Phone number field it shows empty items. Reason is we haven't set up the Twilio Phone number yet. Goto Dashboard -> click on Get my Trial number then it will generate a number for you. If you want you can choose this number or you can change the number instead. Click on Choose this Number. That's it new number is generated.



                    



Step 6:- 

                    To Send message you have to verify the number in twilio. Click on Verify numbers in Dashboard. Enter the number then verify with OTP. 



Step 7:- 

                    Now go back to your flow Click in From Phone number you will get the suggestion.[If you are not getting phone number try to delete the card and create a new connection again with twilio.]
Choose the To Phone number [It must be verified number and it should start with country code]. Compose the message you want to send and save the flow and 'test it.

Step 8 :- 

                        Hurray !!! There comes the Text message to your mobile. 






Hope you guys like this post 😊😊😊!!!
Please do like, Share and subscribe to get notified on latest posts.👍👍👍 !!!

Comments

Popular posts from this blog

Creating News Application using Flow and Power Apps ( Part -1 )

Create a Flow to fetch the latest news from Public API Step 1 :-                      Login to Power Automate using work or School account . Add a PowerApps Trigger - > add HTTP Action card. **You can find public API which are available online for free. Here is the Top Free News API's. News API, Bing News Search API, Bloomberg API etc.... In this Tutorial I am using News API to fetch the latest news. Just Login to News API and generate API Key. Once you Login to the News API there you will see news from different sources. Choose any one of the source. Once you generate the API Key , redirect to the Flow Portal in HTTP Action Card choose the method as GET and paste the URI [ if you choose any one of the source you will get url with API key included in that]. Choose Authentication mode as None. Step 2 :-                     Now Run the Flow. Copy the Output of HT...

Creating News Application using Flow and Power Apps ( Part -2 )

 Creating PowerApps Screen to view the latest  news. This is continuation of  Previous Article  . Please have look into it if you missed my previous article.  Step 1 :-                      Login to the PowerApps -> Create an app from Blank using Phone Layout.Add Header and Footer using labels -> Add a Refresh Icon from Icons menu. Set the Refresh Icon OnSelect property to this code.   ClearCollect(test12,'Flowname'.Run()); -- test12 is collection name. --Once user press Refresh icon internally it calls the Flow , get the data from Flow in JSON format and stores the data in collection . **You can either write this formula in OnSelect property/ App OnStart property.** Step 2 :-                      Add a Blank Vertical Gallery -> Inside that add another Gallery, choose the layout as Image,Title,Subtitle. Reason for adding...

Send Multiple Attachments in Single Email added from Microsoft Forms using Microsoft Flow ( Power Automate)

Recently in forms a new feature has been introduced. Now users can able to add Attachments in Microsoft Forms. Scenario :- When a new response is submitted in Forms using the Flow we are sending an email with that attachments. Mentioned below are the Steps :- Step 1 :- Here is my sample Form. Step 2:- Login to the Flow with your school or work account and create flow like this. When a new response is Submitted -> Get response Details Step 3 :- Click on New Step and add Compose. Add the file Upload as input to the Compose. Now try to run the flow and copy the output of the compose and paste it Notepad for your reference. [You can remove the compose once you copied the code] Step 4:- Add the Parse JSON action card and in the Content add the File upload from dynamic content click on Generate from Sample and past the code and click on done. It will generate the JSON Schema automatically. Step 5:- Now initialize a variable and set the type to Array. Step 6 :- Add Apply To ...