# Connect Cursion and Google Drive

When **New Flow** fires in [Cursion](https://apiant.ai/connections/cursion), your agent runs **Add File Sharing Preference** in [Google Drive](https://apiant.ai/connections/google-drive), or **Comment Added (Docs/Sheets/Slides)** in Google Drive to **Create Page** in Cursion. Describe the whole flow and it is built, tested on every scenario and kept running.

Cursion **5** triggers Cursion **17** actions Google Drive **7** triggers Google Drive **41** actions

What the catalog holds today. Ask for anything missing and your agent reads the API documentation and adds it.

## What do you want Cursion and Google Drive to do together?

Give your AI client this address.

`https://mcp.apiant.ai`

Any client that takes a remote MCP server. Nothing to install. Create your free account, then sign in once in your browser.

### Set it up in your client

### Claude Code

Run this in the directory you want to work in.

`claude mcp add --transport http -s project apiant-ai https://mcp.apiant.ai`

Start Claude Code there, approve the server, and sign in in the browser page it opens.

[Claude Code guide (opens in a new tab)](https://apiant.ai/docs/mcp/claude-code)

### Claude, web and desktop

Open Customize, then Connectors, then Add custom connector, and paste the address. On Team and Enterprise an owner adds it first.

[Setup guide (opens in a new tab)](https://apiant.ai/docs/mcp)

### Cursor

Add the address to your MCP configuration as a server URL. Cursor signs you in in your browser.

[Setup guide (opens in a new tab)](https://apiant.ai/docs/mcp)

### Zed

Open Settings, then AI, then MCP Servers, then Add Server, then Add Remote Server.

[Setup guide (opens in a new tab)](https://apiant.ai/docs/mcp)

### Codex and the ChatGPT desktop app

Open Settings, then MCP servers, then Add server, and choose Streamable HTTP. From the terminal, Codex takes the address with its own add command and then signs you in.

[Setup guide (opens in a new tab)](https://apiant.ai/docs/mcp)

### Any other MCP client

Paste the address where the client asks for a remote MCP server URL, and name the server apiant-ai where it lets you. APIANT's skills reach the client over the same connection.

[Setup guide (opens in a new tab)](https://apiant.ai/docs/mcp)

Example flows

## What Cursion and Google Drive can do together

### From Cursion to Google Drive

- When **New Flow** in Cursion then **Add File Sharing Preference** in Google Drive
- When **New Page** in Cursion then **Create Comment** in Google Drive

### From Google Drive to Cursion

- When **Comment Added (Docs/Sheets/Slides)** in Google Drive then **Create Page** in Cursion
- When **File Created** in Google Drive then **Add case** in Cursion

Starting points drawn from the triggers and actions in the catalog today. Describe the flow you need, at any depth, and your agent builds it and tests every scenario before it ships.

Everything your agent can do with Cursion and Google Drive

## Triggers and actions 12 triggers · 58 actions

- Trigger

**New Flow**

Triggers when a new Flow is created in your Cursion account.

- Trigger

**New Page**

Triggers when a new page is added to a Cursion site.

- Trigger

**New Scan**

Triggers when a new Scan is created for the selected Cursion page.

- Trigger

**New Site**

Triggers when a new site is added to your Cursion account.

- Trigger

**New Test**

Triggers when a new Test (a comparison of two scans) is created for a page.

- Action

**Add case**

Generates a new test case for a site from a plain-language prompt and returns the process tracking its creation.

- Action

**Add flow**

Creates a Flow in Cursion — a named sequence of steps (scans, cases, alerts) that FlowRuns execute.

- Action

**Create CaseRun**

Runs a saved Case against a Site, creating a CaseRun that executes in the background and returns immediately.

- Action

**Create FlowRun**

Runs a Flow against a Site and returns the new FlowRun, which completes asynchronously.

- Action

**Create Page**

Creates a Page under a Cursion Site and, unless skipped, starts its initial baseline Scan.

- Action

**Create Scan**

Starts a new Scan of a Site's pages in Cursion. The scan runs in the background and may take several minutes to complete.

- Action

**Create Site**

Creates a Site in Cursion for a domain, then crawls it for pages and runs initial baseline scans in the background.

- Action

**Delete site**

Deletes a site and, with it, all of the site's scans, tests, schedules and alerts.

- Action

**Get FlowRun**

Returns a single FlowRun — the result of running a Flow against a Site — including its nodes, status and logs.

- Action

**Get scan**

Returns a single Cursion scan with its HTML, logs, Lighthouse and security scores, and screenshots.

- Action

**Get site**

Returns a single Cursion site with its URL, tags, crawl times and latest scan and test summary.

- Action

**Get test**

Returns a single Test, the comparison of two scans of a page, with its scores, status and deltas.

- Action

**List flows**

Returns the flows in your Cursion account, including each flow's steps (nodes) and connections (edges).

- Action

**List pages**

Returns the pages that belong to a Cursion site, with each page's URL, tags and latest scan and test results.

- Action

**List scans**

Returns the scans captured for a Cursion page, ordered by creation time.

- Action

**List sites**

Returns the sites in your Cursion account, newest first, with each site's URL, tags and latest scan and test details.

- Action

**List tests**

Returns the Tests run against a Cursion Page, ordered by creation time.

- Trigger

**Comment Added (Docs/Sheets/Slides)**

Triggers when a new comment is added to Google Docs, Sheets, or Slides.

- Trigger

**File Created**

Triggers when a new file is created in Google Drive.

- Trigger

**File Deleted or Trashed**

Triggers when a file is moved to trash or permanently deleted in Drive.

- Trigger

**File Shared (Permissions Added)**

Triggers when new sharing permissions are granted to a file or folder. Uses Drive's `changes.list` endpoint with inline `permissions` in the `fields` mask so each change carries the file's current permission set provider-atomically. We diff that against `seen_permission_keys` to identify newly added grants. Drive page tokens are the primary cursor; if Drive rejects a stored token, the trigger raises `PollingTriggerError` without clearing state rather than silently re-baselining and dropping events. Limitation: truly ephemeral permissions (added and revoked between two polls without any other file modification in between) are not detected. Drive Activity API would catch those but requires an additional OAuth scope and a different payload contract.

- Trigger

**File Updated**

Triggers when a file's metadata or content changes in Google Drive.

- Trigger

**Google Drive Changes**

Triggers when changes are detected in a Google Drive.

- Trigger

**New File Matching Query**

Triggers when a new Google Drive file matches a provided query. This is the legacy query-centric trigger: it preserves Drive API query config such as ``corpora`` / ``driveId`` aliases and emits the historical ``file_matching_query`` event type. ``FileCreatedTrigger`` covers the broader "new file" case and emits ``file_created``.

- Action

**Add File Sharing Preference**

Modifies sharing permissions for an existing google drive file, granting a specified role to a user, group, domain, or 'anyone'.

- Action

**Copy File**

Duplicates an existing file in google drive, identified by its `file id`.

- Action

**Create Comment**

Tool to create a comment on a file. use when you need to add a new comment to a specific file in google drive.

- Action

**Create File**

Creates a new file or folder with metadata. use to create empty files or folders, or files with content by providing it in the request body (though this action primarily focuses on metadata creation).

- Action

**Create File From Text**

Creates a new file in google drive from provided text content (up to 10mb), supporting various formats including automatic conversion to google workspace types.

- Action

**Create Folder**

Creates a new folder in google drive, optionally within a parent folder specified by its id or name; if a parent name is provided but not found, the action will fail.

- Action

**Create Reply**

Tool to create a reply to a comment in google drive. use when you need to respond to an existing comment on a file.

- Action

**Create Shortcut To File**

Tool to create a shortcut to a file or folder in google drive. use when you need to link to an existing drive item from another location without duplicating it.

- Action

**Delete Comment**

Deletes a comment from a file. use when you need to remove a specific comment from a google drive file.

- Action

**Delete Permission**

Deletes a permission from a file by permission id. use when you need to revoke access for a specific user or group from a file.

- Action

**Delete Reply**

Tool to delete a specific reply by reply id. use when you need to remove a reply from a comment on a file.

- Action

**Download File**

Downloads a file from google drive by its id. for google workspace documents (docs, sheets, slides), optionally exports to a specified `mime type`. for other file types, downloads in their native format regardless of mime type.

- Action

**Edit File**

Updates an existing google drive file by overwriting its entire content with new text (max 10mb).

- Action

**Empty Trash**

Tool to permanently delete all of the user's trashed files. use when you want to empty the trash in google drive.

- Action

**Find File**

Tool to list or search for files and folders in google drive. use when you need to find specific files based on query criteria or list contents of a drive/folder.

- Action

**Find Folder**

Tool to find a folder in google drive by its name and optionally a parent folder. use when you need to locate a specific folder to perform further actions like creating files in it or listing its contents.

- Action

**Generate Ids**

Generates a set of file ids which can be provided in create or copy requests. use when you need to pre-allocate ids for new files or copies.

- Action

**Get About**

Tool to retrieve information about the user, the user's drive, and system capabilities. use when you need to check storage quotas, user details, or supported import/export formats.

- Action

**Get Changes Start Page Token**

Tool to get the starting pagetoken for listing future changes in google drive. use this when you need to track changes to files and folders.

- Action

**Get Comment**

Tool to get a comment by id. use when you need to retrieve a specific comment from a google drive file and have both the file id and comment id.

- Action

**Get File Metadata**

Tool to get a file's metadata by id. use when you need to retrieve the metadata for a specific file in google drive.

- Action

**Get Permission**

Gets a permission by id. use this tool to retrieve a specific permission for a file or shared drive.

- Action

**Get Reply**

Tool to get a specific reply to a comment on a file. use when you need to retrieve the details of a particular reply.

- Action

**Get Revision**

Tool to get a specific revision's metadata by revision id. use when you need to retrieve information about a particular version of a file.

- Action

**Google Drive Delete Folder Or File Action**

Tool to delete a file or folder in google drive. use when you need to permanently remove a specific file or folder using its id. note: this action is irreversible.

- Action

**List Changes**

Tool to list the changes for a user or shared drive. use when you need to track modifications to files and folders, such as creations, deletions, or permission changes. this action requires a `pagetoken` which can be initially obtained using the `get changes start page token` action or from a previous `list changes` response.

- Action

**List Comments**

Tool to list all comments for a file in google drive. use when you need to retrieve comments associated with a specific file.

- Action

**List File Labels**

Tool to list the labels on a file. use when you need to retrieve all labels associated with a specific file in google drive.

- Action

**List Files**

Tool to list a user's files and folders in google drive. use this to search or browse for files and folders based on various criteria.

- Action

**List Permissions**

Tool to list a file's permissions. use when you need to retrieve all permissions associated with a specific file or shared drive.

- Action

**List Replies To Comment**

Tool to list replies to a comment in google drive. use this when you need to retrieve all replies associated with a specific comment on a file.

- Action

**List Revisions**

Tool to list a file's revisions. use when you need to retrieve the revision history of a specific file in google drive.

- Action

**List Shared Drives**

Tool to list the user's shared drives. use when you need to get a list of all shared drives accessible to the authenticated user.

- Action

**Move File**

Tool to move a file from one folder to another in google drive. use when you need to reorganize files by changing their parent folder(s).

- Action

**Stop Watch Channel**

Tool to stop watching resources through a specified channel. use this when you want to stop receiving notifications for a previously established watch.

- Action

**Update Comment**

Tool to update an existing comment on a google drive file. use when you need to change the content or status (e.g., resolve) of a comment.

- Action

**Update File Put**

Updates file metadata. uses patch semantics (partial update) as per google drive api v3. use this tool to modify attributes of an existing file like its name, description, or parent folders. note: this action currently supports metadata updates only.

- Action

**Update File Revision Metadata**

Updates metadata of a file revision (e.g., keepforever, publish). use this tool to modify the metadata of a specific revision of a file in google drive.

- Action

**Update Permission**

Tool to update a permission with patch semantics. use when you need to modify an existing permission for a file or shared drive.

- Action

**Update Reply**

Tool to update a reply to a comment on a google drive file. use when you need to modify the content of an existing reply.

- Action

**Watch Changes**

Tool to subscribe to changes for a user or shared drive in google drive. use when you need to monitor a google drive for modifications and receive notifications at a specified webhook url.

## Each app on its own

- [ **Cursion** Cursion is a website testing platform that helps dev teams easily test and monitor their web apps.](https://apiant.ai/connections/cursion)
- [ **Google Drive** Google Drive is a cloud storage solution for uploading, sharing, and collaborating on files across devices...](https://apiant.ai/connections/google-drive)

Reviews

## What our customers say

## More from Cursion

- [ **Cursion to HubSpot** HubSpot is your all-in-one stop for all of your marketing software needs.](https://apiant.ai/connect/cursion-to-hubspot)
- [ **Cursion to Salesforce** Salesforce is a leading enterprise customer relationship management (CRM) platform.](https://apiant.ai/connect/cursion-to-salesforce)
- [ **Cursion to Slack** Slack is a messaging platform for teams. Post messages, manage channels, users, reminders, and react to...](https://apiant.ai/connect/cursion-to-slack)
- [ **Cursion to Google Sheets** Google Sheets](https://apiant.ai/connect/cursion-to-google-sheets)
- [ **Cursion to Gmail** Gmail is Google’s email service, featuring spam protection, search functions, and seamless integration with...](https://apiant.ai/connect/cursion-to-gmail)
- [ **Cursion to Google Calendar** Google Calendar is a time management tool providing scheduling features, event reminders, and integration...](https://apiant.ai/connect/cursion-to-google-calendar)

## More into Google Drive

- [ **Slack to Google Drive** Slack is a messaging platform for teams. Post messages, manage channels, users, reminders, and react to...](https://apiant.ai/connect/slack-to-google-drive)
- [ **Pipedrive to Google Drive** Pipedrive is a sales CRM and pipeline management tool.](https://apiant.ai/connect/pipedrive-to-google-drive)
- [ **ActiveCampaign to Google Drive** ActiveCampaign is a marketing automation, email marketing, and CRM platform.](https://apiant.ai/connect/activecampaign-to-google-drive)
- [ **Airtable to Google Drive** Organize anything with Airtable, a modern database created for everyone.](https://apiant.ai/connect/airtable-to-google-drive)
- [ **Asana to Google Drive** Asana is a collaborative information manager for workspace.](https://apiant.ai/connect/asana-to-google-drive)
- [ **JIRA to Google Drive** Atlassian JIRA Cloud — issue tracking and project management.](https://apiant.ai/connect/jira-to-google-drive)

Questions

## Cursion and Google Drive, answered

###

### What can start an automation from Cursion?

Any of Cursion's 5 triggers in the catalog, including New Flow, New Page, New Scan and New Site. Describe the moment in plain language and your agent picks the right one.

###

### What can your agent do in Google Drive when something happens in Cursion?

Any of Google Drive's 41 actions, including Create Comment, Create File, Create File From Text and Create Folder. Your agent maps the data both ways and tests every scenario before it ships.

###

### Can it also run from Google Drive to Cursion?

Yes. When something happens in Google Drive, your agent can act in Cursion too. This page covers both directions: Google Drive's triggers and Cursion's actions are listed here as well.

###

### Do I have to build a connector for Cursion or Google Drive?

No. Both are in the catalog with their triggers and actions. You describe the automation; your agent builds it, tests every scenario and keeps it running.

###

### What happens when something fails?

Your agent works that out for you. It plans the failure paths along with the happy path, then tests every scenario before it ships.

###

### Is there a free plan?

Yes. Every plan includes the agent, including free, and building from your own AI client spends no assistant credits.
