Overview
Add Google Forms to any ModuleX agent or workflow. Create, update, and read Google Forms and their responses via the Google Forms REST API (forms.googleapis.com/v1).
Categories: Productivity & Collaboration · Forms & Surveys · Auth: OAuth2 · Actions: 6
Authentication
OAuth2 Authentication
Connect using Google OAuth (recommended)Required Credentials
| Field | Description | Required | Format |
|---|---|---|---|
| Client ID | Google OAuth App Client ID from the Google Cloud Console. | Yes | xxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.apps.googleusercontent.com |
| Client Secret | Google OAuth App Client Secret from the Google Cloud Console. | Yes | GOCSPX-xxxxxxxxxxxxxxxxxxxxxxxx |
OAuth Configuration
- Authorization URL:
https://accounts.google.com/o/oauth2/v2/auth - Token URL:
https://oauth2.googleapis.com/token - Scopes:
https://www.googleapis.com/auth/forms.body,https://www.googleapis.com/auth/forms.responses.readonly
Available Actions
create_form — Creates a new Google Form with the specified title and optional document title.
create_form — Creates a new Google Form with the specified title and optional document title.
create_text_question — Creates a new text question (short or paragraph) in an existing Google Form via batchUpdate.
create_text_question — Creates a new text question (short or paragraph) in an existing Google Form via batchUpdate.
Parameters
Identifier of the Google Form to update.
Title of the question.
Description of the question.
The 0-based index where the item is inserted in the form. Must be in the range [0..N), where N is the current number of items.
If true, the question is a paragraph (multi-line) question. If false, it is a short text question.
Response
get_form — Gets information about a Google Form, including its title, settings, and items.
get_form — Gets information about a Google Form, including its title, settings, and items.
get_form_response — Gets a single response from a Google Form by response ID.
get_form_response — Gets a single response from a Google Form by response ID.
list_form_responses — Lists all responses submitted to a Google Form.
list_form_responses — Lists all responses submitted to a Google Form.
Limits & Quotas
- The Google Forms API enforces per-project quotas administered through Google Cloud. Default quota is 300 read requests per minute per project and 60 write requests per minute per project (subject to change — see https://developers.google.com/forms/api/limits).
- Per-user quotas may apply for OAuth client credentials with many concurrent users.
- A
400 Bad Requestis returned whenindexforcreate_text_questionis outside[0..N)where N is the current item count. - Error model: non-2xx responses from the API raise
httpx.HTTPStatusError, which the ModuleX runtime surfaces as a failed tool call with the original API error text included.