Eric Downs

Building a Content Pipeline with Claude

How I built an automated content pipeline that takes markdown and images and publishes structured content in under 3 minutes.

AutomationClaudeSanityNext.js

Building a Content Pipeline with Claude

The idea was simple: drop a markdown file and some images into a folder, run one command, and have a fully structured, SEO-optimized post live on the site in under 3 minutes.

I built an automation pipeline powered by Claude that handles the entire process — from parsing markdown to publishing structured content with full metadata.

No manual CMS work. No copy-pasting between tools. One command, everything handled.

1. Parse — Read the markdown and frontmatter

2. Structure — Convert content sections into modular Sanity blocks

3. Enrich — Generate SEO, LLM, and GEO metadata automatically

4. Upload — Push images to Sanity's CDN

5. Publish — Create the document with everything wired up

6. Revalidate — Trigger ISR so the site updates instantly

The best system is the one that gets out of your way and lets you focus on the content.

## What's Next

- **Voice-to-text ingestion** for quick micro-insights
- **Before/after module expansion** for design case studies
- **Content performance dashboard** to monitor what's landing

Sources

  1. Based on firsthand implementation of a Claude Code → Sanity publishing pipeline for ericdowns.co
  2. Publishing time benchmarks measured across multiple content types over weeks of real usage

Key Statistics

  • Publishing time reduced from 15-20 minutes to under 3 minutes per article
  • Pipeline handles 6 distinct steps: parse, structure, enrich, upload, publish, revalidate
  • 10 content module types supported: hero, intro, pullQuote, slider, singleImage, twoColumn, video, callout, beforeAfter, mdxOverride

Expertise

Technical Director at Grain & Mortar with 10+ years of web development experienceBuilt and operates this pipeline daily for ericdowns.co content publishingDeep experience with Sanity CMS schema design, Next.js ISR, and AI-assisted tooling

Related