Google Vault

Search, export, and manage holds/exports for Vault matters

Google Vault is a core information governance and eDiscovery tool for organizations using Google Workspace. With Google Vault, you can retain, search, and export users' Google Workspace data (such as Gmail, Drive, Groups, and Meet) to support litigation, regulatory compliance, and internal investigations.

Vault provides administrators and legal teams with powerful controls to manage the lifecycle of business communications. You can place data on legal hold, create matters to group eDiscovery activities, search message and file content across your organization, and export relevant data for review.

Key features of Google Vault include:

  • Search & Export: Search across Gmail, Drive, Groups, and Meet for relevant data and export the results for analysis.
  • Matters & Holds: Create matters (cases) and apply legal holds to retain user data beyond standard retention policies.
  • Retention Rules: Define retention rules to keep or delete data after a set period to meet business and compliance needs.
  • Audit & Review: Monitor Vault activity and enforce compliance with organization-wide policies.

In Sim, the Google Vault integration lets your AI agents programmatically manage Vault matters, exports, and holds. This enables automated workflows for legal discovery, compliance archiving, and data retention management in your organization. Agents can initiate new exports, list available holds, manage legal matters, and retrieve exported files directly through your automated processes, ensuring your compliance and information governance needs are met efficiently and securely.

Usage Instructions

Connect Google Vault to create exports, list exports, and manage holds within matters.

Tools

google_vault_create_matters_export

Create an export in a matter

Input

ParameterTypeRequiredDescription
matterIdstringYesThe matter ID (e.g., "12345678901234567890")
exportNamestringYesName for the export (avoid special characters)
corpusstringYesData corpus to export (MAIL, DRIVE, GROUPS, HANGOUTS_CHAT, VOICE)
accountEmailsstringNoComma-separated list of user emails to scope export (e.g., "user1@example.com, user2@example.com")
orgUnitIdstringNoOrganization unit ID to scope export (e.g., "id:03ph8a2z1enx5q0", alternative to emails)
startTimestringNoStart time for date filtering (ISO 8601 format, e.g., "2024-01-01T00:00:00Z")
endTimestringNoEnd time for date filtering (ISO 8601 format, e.g., "2024-12-31T23:59:59Z")
termsstringNoSearch query terms to filter exported content (e.g., "from:sender@example.com subject:invoice")

Output

ParameterTypeDescription
exportjsonCreated export object

google_vault_list_matters_export

List exports for a matter

Input

ParameterTypeRequiredDescription
matterIdstringYesThe matter ID (e.g., "12345678901234567890")
pageSizenumberNoNumber of exports to return per page
pageTokenstringNoToken for pagination
exportIdstringNoOptional export ID to fetch a specific export (e.g., "exportId123456")

Output

ParameterTypeDescription
exportsjsonArray of export objects
exportjsonSingle export object (when exportId is provided)
nextPageTokenstringToken for fetching next page of results

google_vault_download_export_file

Download a single file from a Google Vault export (GCS object)

Input

ParameterTypeRequiredDescription
matterIdstringYesThe matter ID (e.g., "12345678901234567890")
bucketNamestringYesGCS bucket name from cloudStorageSink.files.bucketName
objectNamestringYesGCS object name from cloudStorageSink.files.objectName
fileNamestringNoOptional filename override for the downloaded file

Output

ParameterTypeDescription
filefileDownloaded Vault export file stored in execution files

google_vault_create_matters_holds

Create a hold in a matter

Input

ParameterTypeRequiredDescription
matterIdstringYesThe matter ID (e.g., "12345678901234567890")
holdNamestringYesName for the hold
corpusstringYesData corpus to hold (MAIL, DRIVE, GROUPS, HANGOUTS_CHAT, VOICE)
accountEmailsstringNoComma-separated list of user emails to put on hold (e.g., "user1@example.com, user2@example.com")
orgUnitIdstringNoOrganization unit ID to put on hold (e.g., "id:03ph8a2z1enx5q0", alternative to accounts)
termsstringNoSearch terms to filter held content (e.g., "from:sender@example.com subject:invoice", for MAIL and GROUPS corpus)
startTimestringNoStart time for date filtering (ISO 8601 format, e.g., "2024-01-01T00:00:00Z", for MAIL and GROUPS corpus)
endTimestringNoEnd time for date filtering (ISO 8601 format, e.g., "2024-12-31T23:59:59Z", for MAIL and GROUPS corpus)
includeSharedDrivesbooleanNoInclude files in shared drives (for DRIVE corpus)

Output

ParameterTypeDescription
holdjsonCreated hold object

google_vault_list_matters_holds

List holds for a matter

Input

ParameterTypeRequiredDescription
matterIdstringYesThe matter ID (e.g., "12345678901234567890")
pageSizenumberNoNumber of holds to return per page
pageTokenstringNoToken for pagination
holdIdstringNoOptional hold ID to fetch a specific hold (e.g., "holdId123456")

Output

ParameterTypeDescription
holdsjsonArray of hold objects
holdjsonSingle hold object (when holdId is provided)
nextPageTokenstringToken for fetching next page of results

google_vault_create_matters

Create a new matter in Google Vault

Input

ParameterTypeRequiredDescription
namestringYesName for the new matter
descriptionstringNoOptional description for the matter

Output

ParameterTypeDescription
matterjsonCreated matter object

google_vault_list_matters

List matters, or get a specific matter if matterId is provided

Input

ParameterTypeRequiredDescription
pageSizenumberNoNumber of matters to return per page
pageTokenstringNoToken for pagination
matterIdstringNoOptional matter ID to fetch a specific matter (e.g., "12345678901234567890")

Output

ParameterTypeDescription
mattersjsonArray of matter objects
matterjsonSingle matter object (when matterId is provided)
nextPageTokenstringToken for fetching next page of results

On this page

Start building today
Trusted by over 60,000 builders.
Build Agentic workflows visually on a drag-and-drop canvas or with natural language.
Get started