---
title: "Goldsource — sales up 102% in year one | Skai Digital"
description: "Live precious-metals pricing and headless Shopify for Goldsource, including Sanity workflows for sell-your-coin intake."
canonical_url: "https://www.skaidigital.com/case-studies/goldsource"
markdown_url: "https://www.skaidigital.com/case-studies/goldsource.md"
author: "Skai Digital"
date_modified: "2026-08-13"
last_updated: "2026-08-13"
primary_image: "https://www.skaidigital.com/images/goldsource.jpg"
primary_image_alt: "Goldsource precious-metals storefront"
---

# Goldsource — sales up 102% in year one

Live precious-metals pricing and headless Shopify for Goldsource, including Sanity workflows for sell-your-coin intake.

[![Goldsource precious-metals storefront](https://www.skaidigital.com/images/goldsource.jpg)](https://www.skaidigital.com/images/goldsource.jpg)

## Project

- **Brand:** Goldsource
- **Author:** Skai Digital
- **Capabilities:** D2C precious metals brand, Headless Shopify, High-performance site

## Outcomes

- **Sales in the first year:** +102%
- **First year orders:** +167%
- **Live precious-metal pricing:** Live sync

## Highlights and media

### Live metal pricing with guardrails.

Prices update from live markets, but bad data is stopped before it reaches Shopify. A minute-level workflow acquires locks, respects market hours, fetches rates, detects spikes, syncs Shopify, and refreshes the cache — with lockdown instead of risky storefront updates when something looks wrong.

A guarded workflow checks market hours and data quality before syncing live precious-metal prices to Shopify, then refreshes the cache or enters lockdown when validation fails.

```mermaid
stateDiagram-v2
  direction TB

  [*] --> Triggered
  Triggered --> Locked: acquire Redis lock
  Locked --> Skipped: duplicate or active run
  Locked --> MarketCheck
  MarketCheck --> Skipped: market closed
  MarketCheck --> FetchRates
  FetchRates --> UpdateRates: XE rates
  UpdateRates --> SpikeCheck
  SpikeCheck --> Lockdown: spike detected
  Lockdown --> Skipped
  SpikeCheck --> ShopifySync: rates OK
  ShopifySync --> WarmCache: refresh Redis
  WarmCache --> Completed
  FetchRates --> Failed: fatal XE error
  ShopifySync --> Failed: update failure
  Failed --> [*]
  Completed --> [*]
  Skipped --> [*]
```

### High-performance chart for historical metal prices.

#### Video: Interactive historical metal-price chart

[![Video poster: Interactive historical metal-price chart](https://image.mux.com/dhERu9AulT3Iy02OYqwwzpYEs9UBY700EJQCAs5qX8JE4/thumbnail.webp?width=1600&fit_mode=preserve&time=0)](https://www.skaidigital.com/case-studies/goldsource)

A silent screen recording demonstrates the Goldsource historical-price chart and its time-range controls.

- **Duration:** 13s
- **Watch:** [View the video on the canonical page](https://www.skaidigital.com/case-studies/goldsource)

##### Visual transcript

- The gold price chart opens on a long-range view.
- The cursor selects shorter and longer time ranges, and the chart redraws immediately.
- A custom date range is selected and the refreshed series appears.

### Sell-your-coin intake in Sanity.

Customers register that they want to sell a coin on the storefront, then Goldsource handles the sales process in Sanity — from inquiry to offer and fulfillment.

[![Goldsource sell-your-coin customer intake form](https://www.skaidigital.com/images/case-studies/goldsource/selling-inquiry-slide-one.png)](https://www.skaidigital.com/images/case-studies/goldsource/selling-inquiry-slide-one.png)

[![Goldsource selling inquiry detail in Sanity Studio](https://www.skaidigital.com/images/case-studies/goldsource/selling-inquiry-slide-three.png)](https://www.skaidigital.com/images/case-studies/goldsource/selling-inquiry-slide-three.png)

[![Goldsource selling inquiries list in Sanity Studio](https://www.skaidigital.com/images/case-studies/goldsource/selling-inquiry-slide-two.png)](https://www.skaidigital.com/images/case-studies/goldsource/selling-inquiry-slide-two.png)

### Safe Shopify webhook processing.

Webhooks are accepted fast, then processed with retries, dedupe, and poison-message handling. Routes verify HMAC and schema, enqueue work with idempotency keys, and use Redis locks so overlapping serverless runs cannot corrupt CMS state.

Verified Shopify webhooks enter a deduplicated queue, where locked workers retry safe operations and isolate poison messages before updating Sanity.

```mermaid
sequenceDiagram
  participant Shopify
  participant API as Webhook API
  participant Queue as Vercel Queue
  participant Redis
  participant Worker as Queue worker
  participant Sanity

  Shopify->>API: webhook + HMAC
  API->>API: verify topic and schema
  API->>Queue: send with idempotency key
  Queue->>Worker: deliver message
  Worker->>Redis: claim processing lock
  alt duplicate
    Redis-->>Worker: already processed
  else claimed
    Worker->>Sanity: update derived state
    Worker->>Redis: mark processed
  end
```

## Contact

### Let's talk about what you're trying to solve

Book a quick call to sense-check the problem and see whether we're the right team to help.

[Book a free discovery call](https://cal.com/skai-digital/discovery)

## Sitemap

[Browse every agent-readable page](https://www.skaidigital.com/sitemap.md).
