Google app
Google Forms
FormApp scripts and form-bound submit triggers run when someone submits a Google Form, passing event.response to your function.
Choose a task using Google FormsStart with an outcome
Tasks that use Google Forms
Choose the result first. Each card opens a step-by-step guide.
- Google Forms Respond to a Google Form submission
Get an email every time someone submits your Google Form, listing each question and its answer. The email goes only to you, the owner of the script.
- Google Forms Send a confirmation to the form respondent
Send each person who submits your Google Form a short thank-you email that repeats their answers. The form must collect verified email addresses.
Object reference
Objects available in Google Forms
Open an object when you need to get it, try a common action, or inspect exact method signatures.
- Object reference Form
A FormApp.Form is the Google Form itself. Get it with FormApp.getActiveForm() or openById(id). Read its questions with getItems() or count submissions with getResponses().
- Object reference Item response
An ItemResponse pairs one Google Form question with the answer submitted for it. Reach item responses from formResponse.getItemResponses(), then call getItem().getTitle() and getResponse().
- Object reference Form response
A FormResponse contains the answers sent in one Google Form submission. A form-bound submit trigger passes it to your function as event.response, where getItemResponses() returns the submitted item responses.