Form Notifications Add-on for Google Forms
A sample Google Apps Script add-on for Google Forms.
This version is a fork of Form Notifications
(https://github.com/googlesamples/apps-script-form-notifications-addon).
It added the possibility to add the form content to the respondent
notification email so that the end-user has a copy of what he filled out.
Introduction
Google Apps Script allows developers to construct 'add-ons' -- small
applications which extend and support Google Docs, Google Sheets,
and now Google Forms.
This sample shows how to construct a Google Forms add-on called
Form Notifications.
This add-on allows Form creators to automatically
send email notifications when a form is submitted. In addition, the
add-on allows form creators to be notified when they have received
responses.
This sample makes use of the following Apps Script concepts:
- Google Forms Add-ons
- Events and Triggers (specifically, onFormSubmit triggers)
- Templated HTML
- Dialogs and Sidebars
- Sending Email with Apps Script
Getting Started
You can install the Form Notifications add-on from the add-on
store.
If you would like to try re-building it yourself, you can follow the
directions provided in the Add-on for Google Forms Quickstart documentation.
Learn more
To continue learning about how to extend Google Docs, Sheets and Forms
with Apps Script, take a look at the following resources:
Support
- Stack Overflow Tag: google-apps-script
- Issue Tracker: google-apps-script-issues
If you've found an error in this sample, please file an issue:
https://github.com/googlesamples/apps-script-form-notifications-addon/issues
Patches are encouraged, and may be submitted by forking this project and
submitting a pull request through GitHub.
License
Copyright 2014 Google, Inc.
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.