Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,13 @@
<Card title="WhatsApp for Business" href="/integrations/popular-integrations/whatsapp-for-business#setting-up-triggers" icon="whatsapp">Use WhatsApp for Business to trigger your Agent</Card>
<Card title="Telegram" href="/integrations/popular-integrations/telegram#setting-up-triggers" icon="telegram">Trigger your Agents from Telegram messages</Card>
</Columns>
<Columns cols={2}>
<Card title="Google Drive" href="/integrations/popular-integrations/google-drive#setting-up-triggers" icon="google">Trigger your Agent when files are created, modified, or deleted in Google Drive</Card>
</Columns>

### External Triggers

External triggers like **Zapier** are configured and managed outside of Relevance AI. These allow you to connect your Agent to third-party automation platforms without any setup within Relevance AI itself.

Check warning on line 29 in build/agents/build-your-agent/agent-triggers/integrations.mdx

View check run for this annotation

Mintlify / Mintlify Validation (relevanceai) - vale-spellcheck

build/agents/build-your-agent/agent-triggers/integrations.mdx#L29

Did you really mean 'Zapier'?

## Frequently asked questions (FAQs)

Expand All @@ -32,6 +35,6 @@
Navigate to your agent's Triggers section, select the integration you want to connect, and authenticate with your credentials for that service.
</Accordion>
<Accordion title="Are premium triggers included in my plan?">
Premium triggers (LinkedIn, WhatsApp, WhatsApp for Business, and Telegram) are available on the Pro plan and above. Check the [pricing page](/admin/subscriptions/new-pricing) for details.
Premium triggers (LinkedIn, WhatsApp, WhatsApp for Business, Telegram, and Google Drive) are available on the Pro plan and above. Check the [pricing page](/admin/subscriptions/new-pricing) for details.
</Accordion>
</AccordionGroup>
2 changes: 2 additions & 0 deletions build/knowledge/integrated-knowledge-sources/google-drive.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@

You can select specific Google Drive files for your Agent to read as Knowledge sources.

<Note>You can also trigger your agents automatically when files in Google Drive are created, modified, or deleted. [Learn more about Google Drive triggers](/integrations/popular-integrations/google-drive).</Note>

## Set up Google Drive as a Knowledge source

<div style={{ width:"100%",position:"relative","padding-top":"56.75%" }}>
<iframe src="https://app.supademo.com/embed/cmcveryfp0ch99empj7tvn4mb" frameBorder="0" title="How to set up Google Drive as a source of Knowledge" allow="clipboard-write; fullscreen" webkitAllowFullscreen="true" mozAllowFullscreen="true" allowFullscreen style={{ position:"absolute",top:0,left:0,width:"100%",height:"100%",border:"3px solid #5E43CE",borderRadius:"10px" }} />

Check failure on line 18 in build/knowledge/integrated-knowledge-sources/google-drive.mdx

View workflow job for this annotation

GitHub Actions / Documentation Lint Checks

Supademo embed is missing rounded corners — use the standard embed snippet. [technical: borderRadius: '10px' missing from iframe style]

Check failure on line 18 in build/knowledge/integrated-knowledge-sources/google-drive.mdx

View workflow job for this annotation

GitHub Actions / Documentation Lint Checks

Supademo embed is missing the purple border — use the standard embed snippet. [technical: border: '3px solid #5E43CE' missing from iframe style]

Check failure on line 18 in build/knowledge/integrated-knowledge-sources/google-drive.mdx

View workflow job for this annotation

GitHub Actions / Documentation Lint Checks

Supademo embed isn't using the standard wrapper — replace it with the snippet from the style guide. [technical: paddingTop: '56.25%' missing from wrapper <div>]

</div>

Expand Down
1 change: 1 addition & 0 deletions docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,7 @@
"pages": [
"integrations/popular-integrations/google-calendar",
"integrations/popular-integrations/google-sheets",
"integrations/popular-integrations/google-drive",
"integrations/popular-integrations/notion",
"integrations/popular-integrations/trello",
"integrations/popular-integrations/confluence",
Expand Down
67 changes: 67 additions & 0 deletions integrations/popular-integrations/google-drive.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
---
title: 'Google Drive'
description: 'Trigger your agents automatically when files in Google Drive are created, modified, or deleted.'
---

Connect your Google Drive account to Relevance AI and configure your agents to respond automatically when files in your Google Drive change.

<Info>The Google Drive trigger is currently rolling out in early access. If you don't see it in your account yet, it will become available soon.</Info>

## Connect the integration

1. Navigate to the "Integrations & API Keys" page in the sidebar of your Relevance AI dashboard.
2. Click on "Google Drive" from the available integrations.
3. Click the "Add Integration" button.
4. In the pop-up window, sign into your Google account and authorize the connection.
5. Once authorized, your Google account will appear in the connected accounts list.

## Setting up triggers

The Google Drive integration lets you trigger agents automatically when files are created, modified, or deleted. You can also filter to a specific folder so only changes within that folder activate your agent.

<Warning>The Google Drive trigger is a Premium trigger, available on the Pro plan and above. Learn more about our [new pricing](/admin/subscriptions/new-pricing).</Warning>

### Available Google Drive triggers

- **File created** — triggers when a new file is added to your Google Drive or monitored folder
- **File modified** — triggers when an existing file is updated
- **File deleted** — triggers when a file is removed from your Google Drive or monitored folder

<Note>Conversations are threaded by file ID. Multiple changes to the same file continue in the same conversation thread, so your agent maintains full context across a file's history.</Note>

### How to set up a Google Drive trigger

The setup process differs slightly depending on whether you're configuring a trigger for an agent or a workforce.

#### For agents

1. Navigate to the agent builder by selecting the agent you want to configure.
2. In the left sidebar, locate and click the "Triggers" section.
3. Click the "Add trigger" button, then select "Google Drive" from the available trigger types.
4. Choose the connected Google account you want to use. If you haven't connected one yet, do so first in the Integrations & API Keys page.
5. Select the trigger event:
- **File created** — triggers when a new file is added
- **File modified** — triggers when a file is updated
- **File deleted** — triggers when a file is removed
6. Optionally, specify a folder to monitor. Only file events within that folder will activate your agent.
7. If available on your plan, configure queue work hours to control when your agent processes Google Drive triggers.

#### For workforces

1. Navigate to the workforce builder by selecting the workforce you want to configure.
2. In the Build section, locate the "Triggers" section in the node palette on the left. Drag a trigger node onto your workspace.
3. Click the trigger node to open its configuration panel, then select "Google Drive" as the trigger type.
4. Choose the connected Google account you want to use. If you haven't connected one yet, do so first in the Integrations & API Keys page.
5. Select the trigger event:
- **File created** — triggers when a new file is added
- **File modified** — triggers when a file is updated
- **File deleted** — triggers when a file is removed
6. Optionally, specify a folder to monitor. Only file events within that folder will activate your agents.
7. If available on your plan, configure queue work hours to control when your workforce processes Google Drive triggers.
8. Drag a connection line from the trigger node to the agent in your workforce that should respond when the trigger fires.

## Google Drive as a knowledge source

You can also use Google Drive as a knowledge source, giving your agents direct read access to files for retrieval and reference.

[Learn more about Google Drive as a knowledge source](/build/knowledge/integrated-knowledge-sources/google-drive).
Loading