See Sanity in action 👀 Join us for a live product demo + Q&A →

Guidance on linking Vercel with Sanity using GROQ-based Webhooks for real-time updates

3 replies
Last updated: Mar 3, 2023
I'm looking for guidance on how to properly link Vercel with Sanity using GROQ-based Webhooks. I'm currently utilizing this URL: https://api.vercel.com/v1/webhooks/my-webhook .
Each time I make updates to either the content on Sanity or the code on Github, it takes roughly three minutes to deploy. Could someone assist me with this?
Mar 2, 2023, 7:52 AM
can you tell me what triggers or what circumstances your site should rebuild?
And if you could send your schema structure, that would be helpful for us to create a GROQ query that will fine tuned to your circumstances…
Mar 2, 2023, 12:48 PM
II need when I update content on sanity or update code on github the update will be realtime same as when I using wordpress.
now everytime I update content on sanity It took 3minute to deploy on vercel.
Mar 2, 2023, 1:40 PM
Are you using Next.js? If yes, I’d look into Incremental Static Regeneration
Mar 3, 2023, 12:13 PM

Sanity.io – build remarkable experiences at scale

Sanity is a customizable solution that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Categorized in