> ## Documentation Index
> Fetch the complete documentation index at: https://onecli.sh/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Forms: Form & Response Access for AI Agents

> Agents can create forms, read submissions, and analyze response data through the Google Forms API. OAuth handled by the gateway.

## Overview

OneCLI connects AI agents to Google Forms through Google's OAuth flow. Agents can create forms, add questions, and read submitted responses. The gateway injects OAuth credentials into requests to the Google Forms API automatically.

This is useful for agents that need to collect feedback, create surveys, or process form submissions.

## Setup

<Steps>
  <Step title="Go to Connections">
    Open the OneCLI dashboard and navigate to **Connections** > **Google Forms**.
  </Step>

  <Step title="Authorize">
    Click **Connect Google Forms**. You'll be redirected to Google to authorize OneCLI. Review the permissions and click **Allow**.
  </Step>
</Steps>

## What agents can do

* Create new forms with a title and description
* Add questions (multiple choice, short answer, paragraph, checkbox, dropdown, scale)
* Read form structure (questions, sections, settings)
* Read all submitted responses
* Get individual response details
* Set up and manage response watches (notifications for new submissions)
* Update form metadata (title, description)
* Modify existing questions

## Controlling access with rules

Use OneCLI's [rules engine](/guides/rules) to limit what agents can do with Google Forms. For example, you can allow read-only access so agents can read responses but not create or modify forms. Rules are evaluated before credential injection, so a blocked request never reaches Google Forms.
