Everything *[NYC] 2026: see what we announced. →
Skip to content

Sanity Functions

Automate your content workflows with functions that trigger on document events. From AI-powered automatic tagging and content enrichment to translation and optimization, these pre-built functions save time and improve content quality across your Sanity projects.

6 Sanity Functions tools

Auto i18n

Per-language tabs on any string, text or rich-text field, with one-click machine translation via MyMemory or Azure Translator.

tobi

Zernio Social Publishing

Plan, preview and publish Instagram and Facebook posts from inside Sanity Studio, through the Zernio API. Posts live in the dataset as documents, so they get drafts, version history, roles and a reference to the article or release they belong to. The tool adds a cockpit with a calendar, a filtered post list, true-to-scale previews per post type, and a settings panel for the API key, profiles and connected accounts. Covers Instagram feed, carousel, story and reel plus Facebook feed, story and reel, with per-type validation while writing.

SGNTech

Gallery Block

Image galleries as a Portable Text block: grid or carousel, fed from the Sanity Media Library. Every image carries alternative text, caption and credit, and the caption is rendered underneath each slide. The carousel steps through one image at a time with arrows and dot indicators; clicking any image opens it full screen in a native <dialog> lightbox with keyboard navigation. The renderer ships structural CSS only — colours, fonts and spacing come from your design via CSS custom properties.

SGNTech

Key Value Input

Sanity Studio input component for editing ordered key-value string pairs. Supports add, remove, and reorder operations with real-time patch updates.

sanity-plugin-imagekit-plugin

This plugin integrates ImageKit.io into Sanity Studio, enabling video upload, management, preview, and usage directly inside Sanity. It extends Sanity’s media workflow with ImageKit’s video hosting

Vishnu Prajapat

2 Sanity Functions guides

From WordPress to Astro + Sanity: Why Our Agency Made the Switch

Digital Empr left WordPress behind for Astro + Sanity to build faster, more secure, easier-to-edit websites. Here’s what kept breaking in WordPress, and what fixed it.

digitalempr.ro
Mihai Cristian Baltac

1 Sanity Functions project made with Sanity

Termogar

Termogar: A High-Performance HVAC eCommerce Built with Next.js and Sanity

N4N1T0