Send SMS Text Messages to any Phone Number with Google Sheets and Android

Sdílet
Vložit
  • čas přidán 1. 04. 2020
  • Send SMS messages in bulk directly from your Android phone.
    Tutorial: www.labnol.org/send-sms-googl...
    All you need is Google Sheets, a Gmail account and an Android phone with a SIM that has texting enabled. You can send text messages to any number (including international phone numbers).
    The messages will go from your phone number (not anonymously) and unlike Twilio or other messaging APIs, you only pay the standard text rates directly to your cellular service provider.
    The Android app is built with MIT App Inventor, a no-code solution for building functional Android apps that can even be distributed through the Google Play store.
    For help with sending SMS, tweet / labnol or email amit@labnol.org

Komentáře • 217

  • @labnol
    @labnol  Před 4 lety +21

    Learn how to send SMS messages from your phone with Google Sheets and App Inventor.
    Tutorial: www.labnol.org/send-sms-google-sheets-200402

    • @TikoBlane
      @TikoBlane Před 4 lety

      Hey Amit thanks for your video. I got an error when I tried to paste to web app. For the sake of time if I donate to your cause can you create this for me?

    • @quincygilbert1514
      @quincygilbert1514 Před 3 lety

      How much of a Google Sheet List (of contacts), would this method, be able to send per hour & per day ?

    • @raymondreyes8782
      @raymondreyes8782 Před 3 lety

      Hay Amit Thank you for your video but the status for the spreadsheet can't show SMS send.

    • @larryprice6789
      @larryprice6789 Před 3 lety

      Hello Sir, Thanks for sharing this wonderful video. I'd like to know, can we know if sms is delivered or failed?

  • @xitcode
    @xitcode Před 3 lety

    Thank you so much Amit. Just became a big fan of yours. Your contents are incredible. So creative. Keep it going my dear.

  • @sh3l1m
    @sh3l1m Před 2 lety

    Thank you so much for this Tutorial Amit! Didn't know this kind of thing was possible! Saves a lot of redundant effort when texting a huge group.

  • @revkenbushey
    @revkenbushey Před 3 lety +3

    Thanks Amit! I had to replace the quotation marks and remove the carriage returns in the cut and pasted script and it worked beautifully. Others have noted that a delay would be helpful to send one text at a time. Not all my texts will send out (I sampled with 30 and 9-12 usually sent). Regardless of how many texts were actually sent, the notifications still count off until the end and the status still updates in the Google sheets for all the rows. Users should note that the notifications and status updates are independent from the actual texts sent. Your work offers a great start for my project! Video and and instruction very well done! Much thanks!!!

  • @harendergusain350
    @harendergusain350 Před 4 lety

    I liked the session and to the point instructions.

  • @mov907
    @mov907 Před 3 lety

    AWSOME!!!! Thank you so much for sharing your knowledge in such an understandable and chillied way!!! You helped me a lot, and i never saw such a competence here on youtube really!!!! You are great

  • @nicksonbonke2608
    @nicksonbonke2608 Před 4 lety +3

    Thank you much buddy. This an impeccable application. You are a blessing to us. God bless you

  • @ashujaggi007
    @ashujaggi007 Před 3 lety

    Amit Aggarwal sir you are a real HERO. You are GREAT. I do not have words to thank you. Please carry on good work. Thanks a lot

  • @jintojoseph6898
    @jintojoseph6898 Před 4 lety +1

    You are a very good Teacher....

  • @raihannewaz125
    @raihannewaz125 Před 4 lety

    Wow! Amazing tutorial. I love it.

  • @prashanthn777
    @prashanthn777 Před 2 lety +3

    Sir it really served my very search purpose for sending "Text SMS" to my students who get absent to the classes:) Thanks a Lot Sir. I am learning every bit from your valuable videos. You have taken so much of effort to make things understand to a non-coding knowledge person like me. Regards Sir.

    • @perfecttek1503
      @perfecttek1503 Před rokem

      Can u please share the code and apk please?

    • @ronalyncastro4884
      @ronalyncastro4884 Před rokem +1

      how did you do it? i am planning to make use of this in informing my students parents regarding their attendance. Can you help me out?
      Thank you so much

  • @F00TB4LITO
    @F00TB4LITO Před 2 lety

    Great work Amit, thanks very much and WELL DONE!

    • @user-dw1db6of7o
      @user-dw1db6of7o Před rokem

      Could you send me a private link to the project of the application you built? I did exactly according to the guide one by one. And it writes me errors in the application itself?
      It will be very helpful. Thank you

  • @hbshah6204
    @hbshah6204 Před 4 lety

    Hi Amit, Great Program, simple yet beautiful execution, Extremly useful and power app. indebted to you brother. Guys learn from it. I dont think it can get better than this.

  • @pats_collec
    @pats_collec Před 3 lety

    Very useful, thank you for the tutorial. !!!

  • @RonyJoseph-ho3sq
    @RonyJoseph-ho3sq Před 3 lety +1

    Amit, great tutorial. Am wondering if this will work with Google Voice or only with the carrier system?

  • @MynomadsafariholidaysIndia

    This was for experts...but was interesting sir.

  • @MoSylla45
    @MoSylla45 Před 3 lety

    Wonderful. Absolutely wonderful. Thanks to you i know of MIT App Inventor. This single video is a game changer. Shukria!!!

    • @barqiyaweb9389
      @barqiyaweb9389 Před 2 lety

      can you copy and paste full script you builded?

  • @MihailoMilankovic
    @MihailoMilankovic Před rokem

    Well done bro, congrats! :)

  • @RichDadph
    @RichDadph Před 4 lety

    New subscriber here... I am not a programmer but I will try to do this on my spare time

  • @snowbron720
    @snowbron720 Před 2 lety

    Hi @Amit, thanks for great tutorial.
    Would it be possible to add component that will trigger sending smses remotely? So the phone will be controlled via web?

  • @rtnychemtabad
    @rtnychemtabad Před rokem

    Many thanks its works, & solved the problem to send sms in phone via excel.

  • @Isenhartanis
    @Isenhartanis Před 8 měsíci

    Awesome Guide!!

  • @subhajitkarmakarisawesome

    Thanks a lot Amit. It works. I will be using it to send customized messages to NPA borrowers. :-)

  • @FedericoGarcia87
    @FedericoGarcia87 Před 4 lety

    Excelente Amit! 👏

  • @duboisburnell522
    @duboisburnell522 Před 4 lety

    Great video I have been looking for something this. Is there way to fetch and send one text at time from a google sheets list?

  • @mozart_34
    @mozart_34 Před 4 lety

    Thanks for the tutorial Amit, it is awesome content, just 3 doubts
    1 you declared the doGet function as const and why the notation doGet = () => { is it the same as function doGet(){ ?
    2 could you tell me where can I learn [header, ...data] = ... to get just the header, I didn't know that : O
    3 why did you use setMimeType to the json textoutput!
    Thanks again.

  • @veetisaree
    @veetisaree Před 4 lety

    Great sir,
    App Inventor is nice
    It is working

  • @Abrarkhan-fb4pl
    @Abrarkhan-fb4pl Před 2 lety +4

    That's awesome, can we set delay time(approximately 10-15 seconds) in sending each SMS???

  • @BkSathesh
    @BkSathesh Před 4 lety +3

    Hi, is there a limit to the number of SMS's this approach can send? Perhaps under 5000? Any estimate on how long it would take to send 500 sms's?

  • @abhayanandcse1752
    @abhayanandcse1752 Před 4 lety

    Sir, you are great....... Salute 🙏

  • @ibrahimabbas4175
    @ibrahimabbas4175 Před 4 lety +3

    Hello amir, is it possible to have a restriction over sim or number to use on mobile if someone has dual sim mobile.

  • @mar-tes98
    @mar-tes98 Před 4 lety

    Amazing!! 👍👍👍👍 Thank you Sir!

  • @ibiwwirinov5964
    @ibiwwirinov5964 Před 4 lety +1

    bro please answer me. i want to know if i do so in this video, can i send message from any name (or number) to other number(that i want)?

  • @anthonyrude
    @anthonyrude Před 3 lety +2

    How many messages can you send at once? Can you pause between messages? I dont want to get in trouble for sending too many messages at once.

  • @evangelistjosephnjenga

    This is Very helpful

  • @amoldhasal8483
    @amoldhasal8483 Před 3 lety

    Its really work , thank you sir

  • @easycom818
    @easycom818 Před 3 lety

    Thank you sir. Actually I'm no idea on script writing. I found this SMS sending video on youtube and try to create myself. Just copy and past your instruction. And run, SMS send successfully but G-Sheet can't update the "Status" colum after sending SMS. And I want to add an extra options, first one is when I fetch the data, it 's notify me how much SMS fetching. Second one is when I push the fetch button, others button will disable and after fetching complete except fetch button will enable automatically.

  • @coretorqueco
    @coretorqueco Před 4 lety +8

    Hi Armit can you advise how to automate this when a Google form is submitted

    • @AbhishekKumar-cs5ll
      @AbhishekKumar-cs5ll Před 2 lety

      Hey, have you got any related thing to do it? I also want this feature.

  • @jameschannel01182
    @jameschannel01182 Před 4 lety

    is there a way for me to clear the status or fresh it, and also available for me to edit message direct from the app? or how about add a from the group of numbers, edit or delete.

  • @AlexandreXavierG
    @AlexandreXavierG Před 2 měsíci

    Thanks a lot! How do I make the message pop up on screen ?

  • @badratagility
    @badratagility Před 3 lety

    Is there any way to write this so that it's sending different messages to the same numbers? I need something where I can send update messages to a group of people throughout the day. I know you can do this with adons like twilio but I need to be able to launch the messages from something easy like an app.

  • @indrajitdebnath4556
    @indrajitdebnath4556 Před 4 lety

    Superb Sir....

  • @ludviktrnka
    @ludviktrnka Před 3 lety +2

    Hi Amit, that tutorial is really perfect. The only thing I miss is the ability to write back to the sheet that the sms failed to send. An unsuccessful attempt to send to the wrong number, for example, is recorded as "sms sent". I can't find any method in MIT APP INVENTOR to record this feedback. Tahnk you.

    • @user-dw1db6of7o
      @user-dw1db6of7o Před rokem

      Could you send me a private link to the project of the application you built? I did exactly according to the guide one by one. And it writes me errors in the application itself?
      It will be very helpful. Thank you

  • @user-dl9tq3uw4o
    @user-dl9tq3uw4o Před 11 měsíci

    Thank you for the tutorial. I have attempted it however error message , occurs when I fetch messages. The messages appears but are preceded by "error 1109: the specified url is not valid" Also upon clicking send sms, notification don't appear and messages are not sent. Any help would be appreciated.

  • @gatewayservices7970
    @gatewayservices7970 Před 3 lety

    Suppose my Sheet Header at Row 3, which code need to modified ?

  • @immediaterelaxation1452

    Great Info.

  • @vishaldamle1236
    @vishaldamle1236 Před 2 lety

    hello sir , could I use android studio to make my application and will this method work????
    ................................

  • @dannygemtanentico9409
    @dannygemtanentico9409 Před 3 lety

    hello sir, i followed the code for the script but encountered this error in doPOST "TypeError: Cannot read property 'parameter' of undefined"

  • @RohitKumar-qu5db
    @RohitKumar-qu5db Před 4 lety +4

    Hi Amit! This is a really great tutorial, it's easy to use. :)
    Status in the sheet can't be updated! Please help!

  • @rajuLic2008
    @rajuLic2008 Před 2 lety

    Dear sir,
    Any AAP's available Google Calendar remember to birthday sms direct to add mobile no.

  • @ovidiuvarvaruc6996
    @ovidiuvarvaruc6996 Před rokem

    Everything works fine but for some reason is not filling out the Google Sheet for every text sent all the time, it's always sending the messages but it's always missing filling out the "Status" column for some numbers, never the same ones

  • @larryprice6789
    @larryprice6789 Před 3 lety +1

    How to add interval timer for each msg?

  • @funentertainment2541
    @funentertainment2541 Před rokem

    It is good only for 15 to 20 messages. How can I send UpTo 50 to 60 rows data... Approximately 150 sms ... And give module of time delay

  • @user-dw1db6of7o
    @user-dw1db6of7o Před rokem

    Hi Amit, could you send me a private link to the app project you built? I did exactly according to the guide one by one. And it writes me errors in the application itself?
    This will help a lot. Thanks

  • @JaisonRodriguez1jaison9

    Gracias por su video. Cómo se puede agregar un tiempo de espera de envío en medio de cada mensaje. Le agradezco su ayuda.

  • @TheBlessingflow
    @TheBlessingflow Před 3 lety

    Hello Amit. I followed your tuition religiously. The App works. However, for batch SMS. All was sent then a message came back on my phone which says; "tap to resend". I realized my cellular phone provider, take up to 40 sec. to submit 1 SMS. Is it a ridiculous Idea to customize the apps to submit each SMS every 40 sec? How can I fix this problem? Thanks in advance

  • @anushankark
    @anushankark Před 4 lety +5

    sir can u make a tutorial on Send whatsapp message using google sheets

    • @labnol
      @labnol  Před 4 lety +6

      It is currently not possible to send messages with WhatsApp though Google Sheets since WhatsApp APIs aren't available for consumers.

    • @NileshAkhade
      @NileshAkhade Před 4 lety +2

      you can use twillio REST APIs to send whatsapp messages. You just need to use UrlFetchApp class from Google app script.

  • @rajeshkumarratilalvasava74

    In logs error apears. Waiting for logs, please wait.... and there is no response

  • @muliagunawan2977
    @muliagunawan2977 Před 3 lety

    Hi sir, is can to connect received sms to google sheet?

  • @asifamir4335
    @asifamir4335 Před 3 lety

    Hi, Amit, thank you very much for this ... you have done a great job man.... but here i got a problem..... when I run the Live version on my fone and try to fetch the Messages, i got the following error "Error 1109: The specified URL is not valid"... can you please guide me what went wrong and how this can be corrected...

  • @zphskomallavaram7393
    @zphskomallavaram7393 Před rokem

    Sir, I recently created SMS app as per your Video to send messages to parents of the students who were absent to our school. It's working Effectively. Thank you So much for your for your valuable knowledge shared with us.
    But When i tried fetch Messages empty rows also reading by the app. will you suggest me to get rid of this problem.
    Sekhar, Teacher, ZPHS, K O Mallavaram

  • @mschoo7420
    @mschoo7420 Před 2 lety +1

    Can it fetch and send thousand of SMS at the same time?

  • @shivamdubay617
    @shivamdubay617 Před 3 lety +1

    Hello Sir, Thank you for creating this video. I am getting an error when fetching data "the operation elements cannot accept the arguments".

    • @michabroniewicz8608
      @michabroniewicz8608 Před 2 lety

      Hi. same here. Did you get it to work? I can see that blocks in this video tutorial are different that on the web page of Amit...

  • @andrewest1635
    @andrewest1635 Před 4 lety +1

    More than 5 or 6 messages results in About 5 messages going out only. All of the others are shown as "Not Sent". I need a time delay (or a confirmation before the next message is sent). How can I do that?

  • @HarshSethia
    @HarshSethia Před 4 lety +1

    This was very informative. Could you make a video on how this could be done for WhatsApp?

    • @ibiwwirinov5964
      @ibiwwirinov5964 Před 4 lety

      bro with this video can i send message from any name to other number?

  • @pauladormson3124
    @pauladormson3124 Před rokem

    Thank you Amit, I am glad I tried and it was working. However, I want to also generate the message automatically using cell referencing (ie: concatenating values in different cells to auto-generate my message to be sent to customers when there is a new update, or input, or entry

    • @pauladormson3124
      @pauladormson3124 Před rokem

      Found my way around it. Thanks

    • @user-dw1db6of7o
      @user-dw1db6of7o Před rokem

      Could you send me a private link to the project of the application you built? I did exactly according to the guide one by one. And it writes me errors in the application itself?
      It will be very helpful. Thank you

  • @webcoding4852
    @webcoding4852 Před 3 lety +1

    can help me in this error: TypeError: Cannot read property 'getRange' of null (ligne 32, fichier "Code") (in method doPost)

  • @danalingasa3
    @danalingasa3 Před 3 lety

    Thanks man! It helps me a lot.

  • @joearisthyl5071
    @joearisthyl5071 Před 3 lety +1

    hello Amit, can it be configured to send the SMS automatically when there is a new entry row in Google sheet?

    • @RahmanRashid0
      @RahmanRashid0 Před 3 lety

      I'm looking for this answer to. So that I can automate a google form sheet

    • @dwarakanathcheyyur140
      @dwarakanathcheyyur140 Před 3 lety

      look up triggers / on form submit in google sheets to call the function when form submits

  • @atikmahamud5087
    @atikmahamud5087 Před 3 lety

    is there any system to send SMS in Facebook messenger from google sheet

  • @rangpurtutormedia6844
    @rangpurtutormedia6844 Před 2 lety

    Please make a video about doGet and postGet.

  • @guythegeek
    @guythegeek Před 2 lety

    Hi Amit seems to be useful but I tried it and got a doctype error with kodular. Could you help. thanks

  • @boyfromthemountains
    @boyfromthemountains Před 2 lety

    Where can I download this app I'm not able to create one on my own.

  • @deandeguzman4483
    @deandeguzman4483 Před 3 lety

    this is so technical

  • @rhumulanay8215
    @rhumulanay8215 Před 3 lety

    Does this need a load on sending text ?

  • @Meditatewithbkbimba
    @Meditatewithbkbimba Před 2 lety

    can this be done for what app?

  • @Goods-mb2rs
    @Goods-mb2rs Před 2 lety +1

    ahm can i just download whatever you've done amit?

  • @heswatchnu
    @heswatchnu Před 2 měsíci

    AND is there a way to do this with Google Voice???

  • @raunakg4923
    @raunakg4923 Před 4 lety +4

    Getting error in apk after pressing send sms as Runtime Error -Invalid destination Address , please help!

    • @infochamanknit5640
      @infochamanknit5640 Před 4 lety

      SAME ERROR IN MY PHONE

    • @tokeyahmmed
      @tokeyahmmed Před 4 lety

      I got that error first. Now it's ok. Check for any typo.

    • @LuckydogMultimedia
      @LuckydogMultimedia Před 3 lety

      @@tokeyahmmed Are you talking about typo in the google script? I copy pasted everything from the Amit's website, not sure why I'm getting this error also.

  • @cube4952
    @cube4952 Před 3 lety

    can i modify it to send the message to whatsapp?? can share with me how?? TQ

  • @alexk6745
    @alexk6745 Před 3 lety +1

    I would prefer to use some Google API to work with my messages.

  • @wilmaraguilar7499
    @wilmaraguilar7499 Před 2 lety

    Hi friend, thanks for the video.
    How can I make the messages be sent every 10 seconds, so that my cell phone does not explode.

  • @rofiqulislam7544
    @rofiqulislam7544 Před rokem

    Nice video ❤️❤️❤️

  • @barqiyaweb9389
    @barqiyaweb9389 Před 2 lety

    Hi,Im getting a error of (DoPost)
    the line of var rowid = Number(e.parameter.row);
    ~~TypeError: Cannot read property 'parameter' of undefined~~
    Anyone please support me.

  • @adetolasolesi1709
    @adetolasolesi1709 Před 4 lety

    How many sms can you send at a time. How can I set a limit. I would imagine it would be the while, for function.

    • @ethanma5717
      @ethanma5717 Před 3 lety

      I offer SMS service not limit for amount and contents at a low cost.

  • @alfonsobarbuto3922
    @alfonsobarbuto3922 Před 4 lety +3

    Hello, first video I follow from you and it's awesome.
    Just a problem: the Status column is not updated... Any idea why? Somebody else with the same problem?
    Thanks a lot!

    • @vivekjayavel6636
      @vivekjayavel6636 Před 3 lety

      check the row id of status column and metion the same in script

    • @subhajitkarmakarisawesome
      @subhajitkarmakarisawesome Před 2 lety

      @@vivekjayavel6636 Hi. My Status header is in F1 just like the videos suggests. What should I write in the App Inventor under updateGoogle Sheet block? Please help.

    • @user-pw6cs5dw4c
      @user-pw6cs5dw4c Před rokem

      @@subhajitkarmakarisawesome This was my issue, but solved
      Check column headings and letters... eg:
      don't write phone .. but write Phone
      the first letter only must capital
      my Greetings

  • @narasimhanandam525
    @narasimhanandam525 Před 3 lety

    @Amit AgarwaI am getting error at Emulator... Anyone can help me

  • @cube4952
    @cube4952 Před 3 lety +1

    can you share the coding?? TQ

  • @lordgenesparagoza2556
    @lordgenesparagoza2556 Před 2 lety

    this is not available anymore?

  • @shamlatapoojary8523
    @shamlatapoojary8523 Před 3 lety +2

    I m getting generic message failed error. How to rectify.

    • @Dreadaxe
      @Dreadaxe Před 3 lety

      @Shamlata
      Do you find the solution?

  • @mohammedabdulelah6315
    @mohammedabdulelah6315 Před 3 lety

    The project sends the first message only and for the other messags show "Generic Failure" Message .. Could you help please

    • @mohammedabdulelah6315
      @mohammedabdulelah6315 Před 3 lety

      @David Flores Navas it sends only short messages but long messages it gives "Generic Failure " ?? Could you help please 🥺

  • @andrewest1635
    @andrewest1635 Před 4 lety +1

    did make it past the SyntaxError by retyping some of the syntax in that line (for example: I retyped the quotation marks, and it seemed to work).
    Now, my challenge is working with the App Inventor and using the Google Script: Again: I do not have the name of the Script Output like you have in your Line 1 of the Google Script So I don't know what to put in Line 1 of the Inventor. How do I generate that correct name if I simply "copy/pasted" the Google Script from your Tutorial?
    UPDATE: I was able to figure out and I FIXED the errors and it works! I used the Video Scripts and Code (NOT the Tutorial-which has a few more lines of 'code' in it. I will experiment with the tutorial additions later. I just need to figure out what it means). Thanks so much @Amit!

    • @revkenbushey
      @revkenbushey Před 3 lety

      The quotes were my problem. Thanks Andre!

  • @nandha29
    @nandha29 Před 4 lety

    Hii sir ... i am getting this error [TypeError: Cannot read property 'getDataRange' of null (line 8, file "Code")]
    How can i fix it?

    • @sameerbhadale6151
      @sameerbhadale6151 Před 4 lety +3

      you have to change the tab name at the bottom in google sheet to "SMS" or the name of the sheet. it should resolve your problem.. best luck!

  • @EduDarshan
    @EduDarshan Před 7 měsíci

    Runtime error
    invalid dastination address how solve

  • @badguy8672
    @badguy8672 Před 4 lety

    Please do it with android studio

  • @anujaprakash6125
    @anujaprakash6125 Před 3 lety

    Error Attempted to execute myFunction, but could not save.

  • @9766yogesh
    @9766yogesh Před 2 lety

    Cannot get sheet data in the browser after deployment. Just get square brackets. Got the sheet data in log. But not in the browser. Please help.

    • @user-pw6cs5dw4c
      @user-pw6cs5dw4c Před rokem

      This was my issue, but solved
      Check column headings and letters... eg:
      don't write phone .. but write Phone
      the first letter only must capital
      my Greetings

  • @evangelistjosephnjenga
    @evangelistjosephnjenga Před rokem +1

    This does not work in 2023. Please update the code

  • @pankajjoshi8292
    @pankajjoshi8292 Před 3 lety

    do we hv free sms provider in India

  • @finlandmscs3245
    @finlandmscs3245 Před 4 lety +1

    what i can do if i get error "TypeError: Cannot read property 'getDataRange' of null (line 7, file "SMS")" in google script.?

    • @labnol
      @labnol  Před 4 lety +3

      Make sure that you have set the sheet name as SMS

    • @uzairtanveer666
      @uzairtanveer666 Před 4 lety

      @@labnol i have also same Error
      TypeError: Cannot read property 'getDataRange' of null (line 6, file "Code")

    • @uzairtanveer666
      @uzairtanveer666 Před 4 lety

      My all files name is SMS

    • @tokeyahmmed
      @tokeyahmmed Před 4 lety

      @@labnol Thanks

    • @bhumitbhanderi228
      @bhumitbhanderi228 Před 3 lety

      @@uzairtanveer666 till u have same problem or not ?? If not then help me out to fix this problem??