Send feedback
Google Forms API Connector Overview
Stay organized with collections
Save and categorize content based on your preferences.
The Workflows connector defines the built-in
functions that can be used to access other Google Cloud products within a
workflow.
This page provides an overview of the individual connector.
There is no need to import or load connector libraries in a workflow—connectors
work out of the box when used in a call step.
Reads and writes Google Forms and responses.
To learn more, see the Google Forms API documentation .
Functions
batchUpdate
Change the form with a batch of updates.
create
Create a new form using the title given in the provided form message in
the request. Important: Only the form.info.title and
form.info.document_title fields are copied to the new form. All other
fields including the form description, items and settings are
disallowed. To create a new form and add items, you must first call
forms.create to create an empty form with a title and (optional)
document title, and then call forms.update to add the items.
get
Get a form.
Functions
get
Get one response from the form.
list
List a form's responses.
Functions
delete
Delete a watch.
list
Return a list of the watches owned by the invoking project. The maximum
number of watches is two: For each invoker, the limit is one for each
event type per form.
renew
Renew an existing watch for seven days. The state of the watch after
renewal is ACTIVE
, and the expire_time
is seven days from the
renewal. Renewing a watch in an error state (e.g. SUSPENDED
) succeeds
if the error is no longer present, but fail otherwise. After a watch has
expired, RenewWatch returns NOT_FOUND
.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-29 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-29 UTC."],[],[],null,["# Google Forms API Connector Overview\n\nThe Workflows connector defines the built-in\nfunctions that can be used to access other Google Cloud products within a\nworkflow.\n\nThis page provides an overview of the individual connector.\nThere is no need to import or load connector libraries in a workflow---connectors\nwork out of the box when used in a call step.\n\nGoogle Forms API\n----------------\n\nReads and writes Google Forms and responses.\nTo learn more, see the [Google Forms API documentation](https://developers.google.com/forms/api).\n\nGoogle Forms connector sample\n-----------------------------\n\n### YAML\n\n # This workflow demonstrates how to use the Google Forms connector:\n # Create, update, get, and delete a Google Form\n # Expected output: \"SUCCESS\"\n - init:\n assign:\n - form_title: \"sample-form\"\n - create_form:\n call: googleapis.forms.v1.forms.create\n args:\n body:\n info:\n title: ${form_title}\n result: create_form_resp\n - update_form:\n call: googleapis.forms.v1.forms.batchUpdate\n args:\n formId: ${create_form_resp.formId}\n body:\n requests:\n - updateFormInfo:\n info:\n title: \"new-title\"\n updateMask: title\n - get_form:\n call: googleapis.forms.v1.forms.get\n args:\n formId: ${create_form_resp.formId}\n - list_responses:\n call: googleapis.forms.v1.forms.responses.list\n args:\n formId: ${create_form_resp.formId}\n pageSize: 10\n - delete_form:\n call: http.delete\n args:\n url: ${\"https://www.googleapis.com/drive/v3/files/\" + create_form_resp.formId}\n auth:\n type: OAuth2\n scope: https://www.googleapis.com/auth/drive\n - the_end:\n return: \"SUCCESS\"\n\n### JSON\n\n [\n {\n \"init\": {\n \"assign\": [\n {\n \"form_title\": \"sample-form\"\n }\n ]\n }\n },\n {\n \"create_form\": {\n \"call\": \"googleapis.forms.v1.forms.create\",\n \"args\": {\n \"body\": {\n \"info\": {\n \"title\": \"${form_title}\"\n }\n }\n },\n \"result\": \"create_form_resp\"\n }\n },\n {\n \"update_form\": {\n \"call\": \"googleapis.forms.v1.forms.batchUpdate\",\n \"args\": {\n \"formId\": \"${create_form_resp.formId}\",\n \"body\": {\n \"requests\": [\n {\n \"updateFormInfo\": {\n \"info\": {\n \"title\": \"new-title\"\n },\n \"updateMask\": \"title\"\n }\n }\n ]\n }\n }\n }\n },\n {\n \"get_form\": {\n \"call\": \"googleapis.forms.v1.forms.get\",\n \"args\": {\n \"formId\": \"${create_form_resp.formId}\"\n }\n }\n },\n {\n \"list_responses\": {\n \"call\": \"googleapis.forms.v1.forms.responses.list\",\n \"args\": {\n \"formId\": \"${create_form_resp.formId}\",\n \"pageSize\": 10\n }\n }\n },\n {\n \"delete_form\": {\n \"call\": \"http.delete\",\n \"args\": {\n \"url\": \"${\\\"https://www.googleapis.com/drive/v3/files/\\\" + create_form_resp.formId}\",\n \"auth\": {\n \"type\": \"OAuth2\",\n \"scope\": \"https://www.googleapis.com/auth/drive\"\n }\n }\n }\n },\n {\n \"the_end\": {\n \"return\": \"SUCCESS\"\n }\n }\n ]\n\nModule: googleapis.forms.v1.forms\n---------------------------------\n\nModule: googleapis.forms.v1.forms.responses\n-------------------------------------------\n\nModule: googleapis.forms.v1.forms.watches\n-----------------------------------------"]]