Skip to main content

Google Sheet/Google form Script to send automated Email to users

Well many of us want to send especially bloggers sometimes want to send automated replies to user 's ..but as usual, not everyone is a code geek or lovers ... so this is a small guide to How to use Google form with Google sheet to make an automated reply link....so follow the steps accordingly.


STEP 1: GOTO google Forms ... and create a form ...

in my case I just take users email id and how do they get to my site.


1. GOTO  https://docs.google.com/forms?usp=mkt_forms
2. login with your account. now choose blank form.
3. in Form title write your forms name, for example, let say my form.
4. in Form description write the description let say
 A simple form ...
5. now go to setting and in general tab, check collect email address.
and  click on save
6. (optional) you can also ask some basic question
7. now goto responses tab





now click on create new spreadsheet button. (that green icon ..)



in select response, destination chooses to create a new spreadsheet and give it a name and click create.



-----------------------------------------------------PART 2 ---------------------------------------------------


now goto google sheet . login and open the spredsheet that was autocreated by our forms.
1. when the spreadsheet is opened it will look like this.

now goto tools>Script editor ....

2.now a IDE window will open ... erase all its content and copy the code below

----------------------copy from below[do not copy this line]----------------


var EMAIL_SENT = "EMAIL_SENT";

function sendEmails2() {
    var sheet = SpreadsheetApp.getActiveSheet();
  var startRow = 2;
  var numRows = 2;


  var dataRange = sheet.getRange(startRow, 2, numRows, 4)
  // Fetch values for each row in the Range.
  var data = dataRange.getValues();
  for (var i = 0; i < data.length; ++i) {
    var row = data[i];
    var emailAddress = row[0];
    var message = " REPLACE WITH YOUR MESSAGE";       // Second column
    var emailSent = row[3];     // fourth
    if (emailSent != EMAIL_SENT) {  // Prevents sending duplicates
      var subject = "replace with your subject";
      MailApp.sendEmail(emailAddress,
                   subject,
                   message);
      sheet.getRange(startRow + i, 4).setValue(EMAIL_SENT);
      // Make sure the cell is updated right away in case the script is interrupted
      SpreadsheetApp.flush();
    }
  }
}




function onEdit(){
  var sheet = SpreadsheetApp.getActiveSheet();
  var editedCell = sheet.getActiveCell();
  var sheet = SpreadsheetApp.getActiveSheet();
  var editedCell = sheet.getActiveCell();

  var columnToSortBy = 1;
  var tableRange = "A2:C99"; // What to sort.

 {
    var range = sheet.getRange(tableRange);
    range.sort( { column : columnToSortBy, ascending: false } );
  }
}




----------------------copy end [do not copy this line]----------------


3. Now save your code.it will ask you for your project name ..
give it any name and save.

4. now click on that timer icon ( current projects trigger)
5. click on no triggers set up ,click here to set one now
6. in first combo select onEdit.
 the second combo choose from spreadsheet and in last combo select on form submit.
7. now click on add new trigger and in first combo box select sendemails2  and in the second combo choose from spreadsheet and in last combo select on form submit..





-------as above -----------------
8. Click on save.
9. now it will ask for review ...
click on review permission and log in with your email id.
and click on allow
10..NOW CLOSE EVERYTHING AND NOW YOU JUST NEED TO ADD THAT GOOGLE FORM TO YOUR POST.
just like here to do so ..open your form and click on the send button
and get a shareable link ... like this ..https://goo.gl/forms/TfGr30AMvs8uF4LI2


else you can also embed that form using the html code of your form ..here i have one for you .. fill the form below and check whether its working or not...




Comments

  1. Google Sheet/Google Form Script To Send Automated Email To Users >>>>> Download Now

    >>>>> Download Full

    Google Sheet/Google Form Script To Send Automated Email To Users >>>>> Download LINK

    >>>>> Download Now

    Google Sheet/Google Form Script To Send Automated Email To Users >>>>> Download Full

    >>>>> Download LINK rb

    ReplyDelete

Post a Comment

share your thoughts ....

Popular posts from this blog

Dragon Age: Inquisition Digital Deluxe Edition + All DLCs (torrent) Repack Size: 20.1~23.9 GB

Brief : Dragon Age: Inquisition  is an  action role-playing video game  developed by  Bioware Edmonton  and published by  Electronic Arts . The third major game in the  Dragon Age  franchise,  Dragon Age: Inquisition  is the sequel to  Dragon Age: Origins  and  Dragon Age II . The game was released worldwide in November 2014 for  Microsoft Windows ,  PlayStation 3 ,  PlayStation 4 ,  Xbox 360 , and  Xbox One . Repack Size: 20.1~23.9 GB 

How to Create Your Own Customized Run Commands

The Run command on Microsoft Windows operating system allows you to directly open an application or document with just a single command instead of navigating to it’s location and double-clicking the executable icon. However, it only works for some of the inbuilt Windows programs such as Command prompt (cmd), Calculator (calc) etc. So, have you ever wondered how to create your own customized Run commands for accessing your favorite programs, files and folders? Well, read on to find out the answer. Creating the Customized Run Command: Let me take up an example of how to create a customized run command for opening the Internet explorer. Once you create this command, you should be able to open the Internet explorer just by typing ie in the Run dialog box. Here is how you can do that. Right-click on your Desktop and select New -> Shortcut. You will see a “Create Shortcut” Dialog box as shown below Click on “Browse”, navigate to: Program Files -> Internet Explorer from y

5 Best Popular Posts Widgets For Blogger

Adding the Popular Posts Widget for Blogger Just click on your blog title, access the "Layout" menu, click "Add a Gadget" and choose "Popular Posts". A window will appear asking you to configure the widget by choosing which posts you'll feature (e.g. those that were most viewed in the past 7 days or 30 days or from the beginning of your blog). You'll also be asked to choose how many posts you'll feature in your Popular Posts section and select if you'll show the post title only or along with the image thumbnail and/or the snippet. (Remember that each widget style has different requirements, so follow the styles and instructions carefully to find out if you need the snippet and image thumbnail or not). Popular Posts Style 1 - Box within a box This is an interesting widget style since it uses your snippet and image thumbnail in a unique way. Your snippet is written in opaque text and placed in a small transparent box. This, in turn,

Binary Search Tree in C++( dynamic memory based )

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 #include<bits/stdc++.h> using namespace std; struct bst { int val; bst * left, * right; }; bst * root = nullptr; void srch ( int num,bst * head) { if (head == nullptr){ cout << " \n Number is not present \a " << endl; return ; } if (head -> val == num) { cout << " \n Number is present \n\a " ; return ; } else { if (num < head -> val) srch(num,head -> left); else srch(num,head -> right);

How to Protect an Email Account from being Hacked

If this is the case, then what is the reason for many people to lose their accounts? The answer is very simple. They don’t know how to protect themselves from being hacked! In fact most of the people who lose their email accounts are not the victims of hacking but the victims of Trapping. They lose their passwords not because they are hacked by some expert hackers but they are fooled to such an extent that they themselves give away their password. Are you confused? If so continue reading and you’ll come to know… Now I’ll mention some of the most commonly used online scams which fool people and make them lose their passwords. I’ll also mention how to protect your email account from these scams. 1 . WEBSITE SPOOFING =Website spoofing is the act of creating a website, with the intention of misleading the readers. The website will be created by a different person or organisation (Other than the original) especially for the purposes of cheating. Normally, the website

Input and Output Functions in c

Objectives: Having read this section you should have a clearer idea of one of C's: 1.input functions, called scanf 2.output functions, called printf On The Run: Even with arithmetic you can't do very much other than write programs that are the equivalent of a pocket calculator. The real break through comes when you can read values into variables as the program runs. Notice the important words here: "as the program runs". You can already store values in variables using assignment. That is: a=100; stores 100 in the variable a each time you run the program, no matter what you do. Without some sort of input command every program would produce exactly the same result every time it was run. This would certainly make debugging easy! But in practice, of course, we need programs to do different jobs each time they are run. There are a number of different C input commands, the most useful of which is the scanf command. To read a single integer value into the variable cal

Indepth how bitcoin works and bitcoin mining.. full indepth tutorial

Cryptocurrency mining is painstaking, expensive, and only sporadically rewarding Why should I mine? By mining, you can earn cryptocurrency without having to put down money for it. That said, you certainly don't have to be a miner to own crypto.  You can also  buy crypto using fiat currency  (USD, EUR, JPY, etc); you can trade it on an exchange like  Bitstamp  using other crypto (example: Using Ethereum or NEO to buy Bitcoin); you even can earn it by playing video games or by publishing blogposts on platforms that pay its users in crypto. An example of the latter is  Steemit , which is kind of like Medium except that users can reward bloggers by paying them in a proprietary cryptocurrency called Steem.  Steem can then be traded elsewhere for Bitcoin.  In addition to lining the pockets of miners, mining serves a second and vital purpose: It is the only way to release new cryptocurrency into circulation. In other words, miners are basically "min

just more way to disable autorun.inf

Auto run.Inf this is a instruction file associated with the Auto run function. It is a simple text configuration file that instructs the OS (operating system) which executable to start which icon to use which additional menu commands to make available etc Auto run.inf must be located in the root directory of a volume.That is CD,DVD,of Floppy Disk or Pen drive. It is mainly used by the manufacturer on what actions to taken when their CD-ROM when it is inserted. In OS, when autorun.inf is enabled (Normally by default it is enabled ) then by inserting the Cd or DVD the content of the medium is automatically executed. This is to avoid the user intervention and help the low level knowledge of computer literacy people. But Virus programmer taken this as advantage and make virus instruction in autorun.inf text file. TYPICAL AUTORUN.INF A typical autorun.inf file looks like below. [autorun] open=setup.exe icon=setup.exe,0 label=GameProgram SIMPLE METHOD NOT TO GET INFECTED BY AUTORUN.INF:

get free domain for blogger

Get free domain for blogger 1.steps for Blogger= 1. type your blog address and your email id and using comment form 2. Goto your blog ,sign in and then goto layout{for modern interface}or Page element{old blogger interface} 3.click on add new gadget 4. goto html/java script gadget click there 5. copy this codes <a href='http://www.freedomain.co.nr/' title='Free Domain Name'><img alt='Free Domain Name' src='http://szsmnua.imdrv.net/soof62.gif' style='width:88px;height:31px;border:0;'/></a> it look like this 6.and click on save 7. then again follow steps 3-5 8.then now copy this codes <a href="http://vastgk.blogspot.in/" target="_blank"><img border="0" alt="Tips for New Bloggers" width="120" src="http://i154.photobucket.com/albums/s255/ownlblog/tipsbanner80x15.gif" height="15"/> </a> itlook like this 9. click on save