Developer & AIvendor:vercelEmail OTPUnwrapped Magic Link

Automate Vercel Login Verification & Email OTP in Playwright & Stagehand

Automate Vercel Email Login Verification codes and magic confirmation links in Playwright and Stagehand without deployment alerts getting in the way.

Curated Stage 4 Extractor Profile (vendor:vercel)

Extracts 6-digit Vercel login/security codes and `vercel.com/confirm`, `/api/registration/verify`, `/auth/verify`, and `/login/verify` links while disqualifying deployment failed and team invoice emails.

Matched Sender Domains
vercel.com
Login URL example: https://vercel.com/login
Filtered Non-Auth Noise
  • Deployment failed / Production deployment alerts
  • Monthly team billing invoice emails

1. 60-Second Gmail & Outlook Auto-Forwarding Filter

Don't want to change your existing account email on Vercel? Keep your corporate inbox on Vercel and forward only verification emails to <identity-slug>@in.sentryrelay.com. Sentry Relay's Stage 2 unwrapper preserves the original Vercel sender header automatically (full setup guide).

# Paste into Gmail -> Settings -> Filters -> Create a new filter ("Has the words")
from:(vercel.com) ("verification code" OR "sign in to Vercel" OR "login verification" OR "security code")

# Action: Forward it to -> <your-identity-slug>@in.sentryrelay.com

2. Copy-Paste Vercel 2FA Automation Snippets

Choose your browser automation stack below. All snippets resolve codes in <200ms with Upstash Redis 15-second lookback protection so arrived-before-wait race conditions never fail a run.

import { test, expect } from '@playwright/test';
import { SentryRelay } from '@sentryrelay/sdk';

const relay = new SentryRelay({ apiKey: process.env.SENTRY_RELAY_API_KEY! });

test('Automate Vercel Email Login Verification', async ({ page }) => {
  await page.goto('https://vercel.com/login');
  await page.click('button:has-text("Continue with Email")');
  await page.fill('input[name="email"]', 'vercel-ops@in.sentryrelay.com');
  await page.click('button[type="submit"]');

  // Vercel sends a 6-digit security code or /login/verify magic link
  const auth = await relay.wait('vercel-ops', {
    channel: 'email',
    sender: 'vercel.com',
    timeout: 30,
  });

  if (auth.event?.magicLink) {
    await page.goto(auth.event.magicLink);
  } else if (auth.event?.otpCode) {
    await page.fill('input[autocomplete="one-time-code"]', auth.event.otpCode);
  }

  await expect(page).toHaveURL(/vercel\.com\//);
});

3. Vercel Production Gotchas

Frequently Asked Questions

Does Vercel send an OTP code or a magic link?
Vercel uses both depending on the login flow. Sentry Relay returns both otpCode and magicLink (if present) on WaitResponse so your script handles either automatically.
Will Vercel deployment failure emails confuse my bot?
No. Deployment failure, production deployment, and team invoice emails are explicitly disqualified by vendor:vercel.
Can I forward Vercel verification emails from my existing engineering email?
Yes. Use the Gmail or Outlook filter above to forward Vercel auth emails to your Sentry Relay Identity.
Provision an Isolated Identity for Vercel

Start free in 3 minutes with 2 isolated @in.sentryrelay.com Identities, 250 monthly email extractions, and Cloud KMS TOTP vaulting.