Multiple queries in Sanity with one request

by Magnus Sigvartsen

Format your groq query to get multiple queries in one request to Sanity.io.…

Filtering an array for specific types with GROQ

by Magnus Sigvartsen

In Sanity, you can have arrays that contain different objects. But what if we want to filter out the specific types inside the array when we run a query? A problem I came across was how to map the different Sanity objects to .NET objects based on their type. Disclaimer:…

Sanity and GROQ-powered webhooks are great, but there is a bug...

by Tomas Hensrud Gulla

Sanity recently launched their GROQ-powered webhooks, and they are really powerful! But there is a bug…

Sanity and Slack integration with GROQ-powered webhooks

by Tomas Hensrud Gulla

The newly released GROQ-powered webhooks for Sanity unlock some interesting new possibilities. Use the query language GROQ to define which documents should trigger a webhook and what its payload should be. See how to post messages directly to Slack!…