Skip to content



How to build with Sanity for scale: 5 takeaways

Duration: 1:45:28

Jono's talk from the Sanity community meetup in London, recorded on the official Sanity channel: five takeaways from shipping numerous Sanity and Next.js projects at scale, from content modeling to editorial experience. The full meetup recording also includes talks from loveholidays, evensix, and Sanity's own Simeon Griggs.

Frequently asked questions

How do you migrate content into Sanity when you don't have back end access?
Web scraping. Jono argues it's underused: you can scrape an existing site and pipe the content directly into Sanity to populate documents. For the client Jam, with 4,500 products and 200 interlinked blog posts whose categories all changed mid-migration, Roboto hit 100% migration coverage through scraping alone, without ever touching the old back end.
What's the hardest part of migrating an old website?
The connective tissue. Internal links between pieces of content are very difficult to carry over, and images, old image tags, and existing categories are all tricky too, especially when categories change as part of the migration. That's exactly the kind of relational data Jono recommends recovering with scraping rather than manual copy and paste.
How do you integrate services like YouTube or HubSpot with Sanity?
Pull their APIs into Sanity as their own document types. YouTube videos can land directly in the Studio, where you can enrich them with related content like blogs, instead of copy-pasting details by hand and introducing typos. For Techaro, Roboto integrated HubSpot so editors just reference a form, with a cron job keeping the data fresh so it's always the latest forms.
Should API-synced content and hand-edited content live in the same documents?
No, split them. Jono's advice is to separate editable content from content that's pulled in from an API, because syncs can be destructive and you don't want them overwriting things people have written by hand. He also suggests pairing APIs with a scraper when they're missing data, like Wistia, which offers podcasts and videos over its API but no transcripts.
What does "set and forget SEO" mean with Sanity?
Using the structured content already in Sanity to automatically populate JSON-LD for Google, since Google just wants your content in a format it can run with. Sanity's TypeScript generation works hand in hand with the schema-dts tool, so you can combine your Studio data with the structure Google expects. Futurepedia's pillar content worked this way: editors never saw a single curly bracket, yet every page shipped with the JSON-LD behind it.
How do you handle BBC-style hierarchical URLs where content lives in multiple places?
Roboto built a custom URL builder where every step of the URL resolves its own content, so /latest shows the latest posts, /latest/local-news pulls the latest local news, and so on down the structure. They built this for Global Cycling Network and it underpins the whole project, feeding things like breadcrumbs. It lets editors scale content completely without a developer, though Jono admits it's tricky to build and only really achievable because of what GROQ queries can do.
Is AI-generated content worth using on your website?
Not on its own. Jono is blunt that purely AI-generated content isn't very good, and the real value is using AI to enrich and repurpose content you've written yourself, like meta descriptions, Open Graph text, and reference cards, via Sanity's AI Assist. He also highlights internationalisation as the standout win: with AI Assist and Next.js you can have a fully internationalised website working within a day or two, instead of paying translators up front.


Continue watching

Get in touch

Tell us what you're building. We reply within one working day. Jono or someone on the team picks up every message personally.

By sending this you agree to our privacy policy. We only use your details to reply.