S
SnapCall · Admin
← Back to App

Connectivity Tests

Verifies env vars, Drive auth, and folder access

Click "Run Tests" to check all connections

Google Drive Setup

One-time configuration to enable automatic report backup

1
Create a Google Cloud project

Go to console.cloud.google.com → New Project. Enable the Google Drive API under APIs & Services.

2
Create a service account

IAM & Admin → Service Accounts → Create. Give it any name. Click the account → Keys → Add Key → JSON → download.

3
Add to Vercel

In your Vercel project → Settings → Environment Variables. Add GOOGLE_SERVICE_ACCOUNT_JSON and paste the entire contents of the downloaded JSON file as the value.

4
Share the target Drive folder

Open the target Google Drive folder. Share it with the service account email (e.g. name@project.iam.gserviceaccount.com) and give it Editor access.

5
Verify

Run the connectivity tests above. You should see all green checks including "Drive Write Test ✓".

Environment Variables

Required in Vercel → Settings → Environment Variables

ANTHROPIC_API_KEYREQUIRED

Your Anthropic API key for Claude analysis.

Get from console.anthropic.com

GOOGLE_SERVICE_ACCOUNT_JSONOPTIONAL

Full JSON content of your Google service account key file. Enables Drive backup.

Download from Google Cloud Console → IAM → Service Accounts → Keys

GOOGLE_DRIVE_ROOT_FOLDER_IDOPTIONAL

ID of the Drive folder to save reports under. Defaults to 0ACsbSIej9QgUUk9PVA.

Copy from the URL of the target folder in Google Drive

Drive Folder Structure

[Root Folder] (GOOGLE_DRIVE_ROOT_FOLDER_ID)
└── SnapCall Reports/
    └── {zendesk-subdomain}/
        └── 2026-03-25 14.32.05/
            ├── analysis-subdomain-2026-03-25 14.32.05.csv
            ├── report-subdomain-2026-03-25 14.32.05.html
            └── data-subdomain-2026-03-25 14.32.05.json