Joe Heitzeberg – Entrepreneur | Tech Geek | MBA
This quick post shows you how to implement a continuous feedback system using Google Docs Forms and a simple script which I’ve included.
1) Create a survey using Google Docs Forms
Select “Form” from the “Create new” menu in docs.google.com. You can create a simple customer development survey in less than 5 minutes to capture input from lists, free-form text areas, grids and more. You can even style the form to match your branding.
2) Change the form settings to allow anyone to take the survey.
By default, an option like this will be checked: “Require [yourdomain.com] sign-in to view this form”
Un-check that option and save your form, giving it a name that means something, e.g. “Feedback on new grading UI”
3) Next, open the Google Docs spreadsheet associated with the form you just created
When users take your survey, their answers land in the associated survey of the same name. Normally, you would check their responses by opening the survey, but we’re going to add a script that mails out their responses to your email address.
4) Select “Script Editor” from the “Tools” menu
You’ll see something like this:
function myFunction() {
}
5) Replace the default script with the following script.
The script below will email survey results to you a neatly formatted email. The script is dynamic, so even if you later add or change questions in your survey, it will keep working. When you receive results emails, the name of the survey will be in the subject line of the email.
Here’s the script: https://gist.github.com/1104924
6) IMPORTANT: Be sure to change to_email in the script above to be your email address or team distribution list.
7) Choose “Current script’s triggers” from the “triggers” menu and make sure the settings are:
- onFormSubmit
- From spreadsheet
- On form submit
Also, on that same form, press the “notifications” link and choose “immediately” for the second value. This is so you’ll know right away if things aren’t working properly.
Open the survey’s spreadsheet and choose “Send form” from the “form menu.”
Email the form to yourself so you can get the URL for use in emails and on your site. Tip: shorten these with bit.ly before sending.
Enjoy
Related posts: