class FormApp method .getResponses()

FormApp is the Apps Script service.

.getResponses() is the method name you will see after a dot in your code.

What it does

Returns all submitted responses to the form.

Why it's used

  • Pull every submission into a report or cleanup job.
  • Process new answers on a schedule instead of on each submit.

Common errors

  • Forgetting parentheses on getResponses. Write FormApp.getResponses(), not FormApp.getResponses or getResponses by itself.
  • Skipping dots between chained calls. Each step needs a dot, like FormApp.getResponses().
  • Adding spaces where they do not belong. Write FormApp.getResponses(), not FormApp .getResponses(), FormApp.getResponses (), or FormApp . getResponses().
  • Wrong capitalization. Use FormApp and getResponses, not formapp or getresponses.

Explore

Related methods

Better Sheets tutorials

Close Form After Certain Number of Responses

Close Form After Certain Number of Responses

Create automatic triggers that close a form after a certain number of re...
Form Automations: Close Multiple Forms When Over Limit

Form Automations: Close Multiple Forms When Over Limit

Adding to the Form Automations: Allow User to Reopen form without Apps ...

Related blog posts

Written guides about FormApp.getResponses().

Browse the blog