Payments & Commercevendor:shopifyEmail OTPUnwrapped Magic LinkCarrier SMS DIDCloud KMS TOTP

Automate Shopify Admin & Partners 2FA in Playwright, Stagehand & Browser Use

Unblock headless Shopify Admin, Partners, and merchant store logins across Email OTPs, confirmation links, US SMS DIDs, and KMS TOTP.

Curated Stage 4 Extractor Profile (vendor:shopify)

Extracts 6-digit Shopify authentication/security codes and `accounts.shopify.com` verification links while ignoring `Order #` and payout emails.

Matched Sender Domains
shopify.com
Login URL example: https://accounts.shopify.com/login
Filtered Non-Auth Noise
  • New order notifications (Order #1042)
  • Shopify Payouts & merchant settlement emails

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

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

# Paste into Gmail -> Settings -> Filters -> Create a new filter ("Has the words")
from:(shopify.com) ("authentication code" OR "verification code" OR "security code" OR "log in to Shopify")

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

2. Copy-Paste Shopify 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('Shopify Partners login with unattended 2FA', async ({ page }) => {
  await page.goto('https://accounts.shopify.com/login');
  await page.fill('input#account_email', process.env.SHOPIFY_EMAIL!);
  await page.click('button[type="submit"]');
  await page.fill('input#account_password', process.env.SHOPIFY_PASSWORD!);
  await page.click('button[type="submit"]');

  // Shopify often triggers an email or SMS code on cloud browser logins
  const auth = await relay.wait('shopify-ops', { sender: 'shopify.com', timeout: 30 });
  if (auth.event?.otpCode) {
    await page.fill('input[name="code"], input[autocomplete="one-time-code"]', auth.event.otpCode);
    await page.click('button[type="submit"]');
  }

  await expect(page).toHaveURL(/admin\.shopify\.com|partners\.shopify\.com/);
});

3. Shopify Production Gotchas

Frequently Asked Questions

Can agencies manage 20+ client Shopify stores on one Sentry Relay workspace?
Yes. Growth/Pro includes 50 Identities, and Agency & Fleet includes 250 Identities plus scopedIdentityIds API keys for strict per-merchant isolation.
Will Shopify order confirmation numbers match as OTPs?
No. The vendor:shopify rule explicitly disqualifies order and payout notification emails.
Does Sentry Relay support Shopify Authenticator TOTP as well as Email/SMS?
Yes. Store your Shopify TOTP secret in Cloud KMS via srelay totp add or the Console and fetch fresh codes via relay.totp.get().
Provision an Isolated Identity for Shopify

Start free in 3 minutes with @in.sentryrelay.com email + Simulated SMS, or attach a dedicated US carrier Telnyx SMS DID starting on Builder ($29/mo) and Growth/Pro ($79/mo).