Google Forms connector

Create and manage Google Forms, read responses, and share forms from AgentRuntime workflows.

On this page

The google-form connector uses the Google Forms API with Drive. Workflows can read new responses, create and update forms, copy a template form, share forms, and set up notifications about new responses.

Prerequisites

  • A Google account that can use Google Forms and Drive.
  • A Google account connection in AgentRuntime with the Google Forms service ticked. See Google Workspace.
  • The project_contributor role or higher in your workspace, which lets you manage connections and MCP instances. See Roles and permissions.

Connect in AgentRuntime

  1. Sign in with Google

    Go to Connections. In the Accounts section, click Sign in with Google. Enter a display name, tick Google Forms (and any other Google services you plan to use), click Continue to Google, and approve the permissions. If you already connected a Google account with this service ticked, skip this step. If Sign in with Google is missing or Continue to Google is disabled, Google sign-in is not set up for your workspace: contact support. See Connections.

  2. Add the connector to your workspace

    Click MCP in the sidebar, then Add connectors. Find Google Forms in the App catalog, select it, and click Add to workspace. The instance now appears on the MCP connectors page. See MCP instances.

  3. Attach your Google account to a profile

    Open the new instance to reach Instance config. Under Profiles for this connector, click New profile, enter a Display name, and on the Use a saved connection tab choose your Google account under Which connection?. Set Status to Active — can be used in workflows, click Save, then click Use this profile for workflows. You do not enter tokens yourself.

  4. Test it

    In Workflow Studio, add the google_form_list_forms tool from your Google Forms instance (use Browse platform MCP if it is not listed), fill in its arguments, and run the workflow. A successful step means the connection works. Pass page_size 10, include_team_drives false, and name_contains "".

What you can build

  • Survey follow-up. A schedule runs google_form_list_new_responses since the last run, an LLM tags the sentiment, and a sheet or email gets the result.
  • Application triage. google_form_list_responses feeds a scoring step, and a Human step reviews borderline cases.
  • Recurring survey. google_form_copy_form copies a master form, google_form_rename_form labels it, and google_form_share_form shares it.
  • Push notifications. google_form_create_watch asks Google to notify a Pub/Sub topic when responses arrive.

Tools

The Required arguments column lists the fields the tool's input schema marks as required. Some of them are optional in practice; if you have nothing to set, pass an empty value such as "", [], {}, or false.

Tools marked Delete remove forms or access permanently. google_form_trash_form moves a form to the Drive trash instead.

Forms

ToolAccessWhat it doesRequired arguments
google_form_copy_formWriteCopy a Google Form through the Drive API, with optional rename or parent folder.form_id, new_name, parent_id
google_form_create_formWriteCreate a Google Form with initial title metadata.title, document_title, description
google_form_delete_formDeletePermanently delete a Google Form through the Drive API.form_id
google_form_get_formReadGet a Google Form, including info, items, settings, and revision ID.form_id
google_form_list_formsReadList Google Forms in the authenticated user's Drive.page_size, include_team_drives, name_contains
google_form_move_formWriteMove a Google Form to a different Drive folder.form_id, add_parent_id, remove_parent_id
google_form_rename_formWriteRename the Drive file that backs a Google Form.form_id, new_name
google_form_trash_formWriteMove a Google Form to Drive trash without permanently deleting it.form_id
google_form_update_formWriteApply a Google Forms batchUpdate request to a form.form_id, requests, include_form_in_response, write_control_required_revision_id, write_control_target_revision_id

Responses

ToolAccessWhat it doesRequired arguments
google_form_get_responseReadGet a specific submitted response for a form by response ID.form_id, response_id
google_form_list_new_responsesReadList form responses submitted after an RFC3339 timestamp.form_id, since_time, page_size
google_form_list_responsesReadList submitted responses for a form, with optional filtering and pagination.form_id, page_size, page_token, filter

Sharing and permissions

ToolAccessWhat it doesRequired arguments
google_form_list_form_permissionsReadList Drive permissions on a Google Form.form_id
google_form_revoke_form_permissionDeleteRemove a Drive permission from a Google Form by permission ID.form_id, permission_id
google_form_share_formWriteShare a Google Form by creating a Drive permission.form_id, role, type, email_address, domain, send_notification, email_message

Watches

ToolAccessWhat it doesRequired arguments
google_form_create_watchWriteCreate a Pub/Sub watch for form response or schema changes.form_id, topic_name, event_type, watch_id
google_form_delete_watchDeleteDelete a Pub/Sub watch by watch ID.form_id, watch_id
google_form_list_watchesReadList active Pub/Sub watches on a form.form_id
google_form_renew_watchWriteRenew a Pub/Sub watch before it expires.form_id, watch_id

Example

Fetch responses submitted since the last run. since_time is an RFC 3339 timestamp.

{
  "id": "poll-responses",
  "type": "mcp",
  "name": "Fetch new form responses",
  "tool_name": "google_form_list_new_responses",
  "tool_args": {
    "form_id": "{{input.nps_form_id}}",
    "since_time": "{{input.last_poll_time}}",
    "page_size": 100
  },
  "timeout_s": 45
}

Configuration

Google connectors take no keys from you: the permissions come from your Google account connection.

Google permissions (scopes) requested when you tick this service:

  • https://www.googleapis.com/auth/forms.body
  • https://www.googleapis.com/auth/forms.responses.readonly
  • https://www.googleapis.com/auth/drive

Signing in also requests openid and https://www.googleapis.com/auth/userinfo.email so AgentRuntime can tell which Google account signed in.

Troubleshooting

ProblemWhat to do
google_form_update_form fails with a revision errorRead the form with google_form_get_form first and pass its revision ID in the write control arguments.
A watch stops sending notificationsWatches expire after seven days. Run google_form_renew_watch on a schedule.
google_form_list_new_responses is emptyCheck that since_time is an RFC 3339 timestamp earlier than the submissions you expect.
Google access stopped workingOpen Connections, open the Google account, and click Reconnect. If you removed a permission, click Update permissions and tick the service again.
Edit this pageagentruntime-io/agentruntime-docs