Auto-Tag Function
AI-powered automatic tagging for Sanity blog posts that analyzes content to generate 3 relevant tags, maintaining consistency by reusing existing tags from your content library.
Go to Auto-Tag FunctionAutomate 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.
AI-powered automatic tagging for Sanity blog posts that analyzes content to generate 3 relevant tags, maintaining consistency by reusing existing tags from your content library.
Go to Auto-Tag FunctionAutomatically track when content was first published with a timestamp that sets once and never overwrites, providing reliable publication history for analytics and editorial workflows.
Go to First Published Timestamp FunctionAutomatically update your Algolia index
Go to Algolia Sync FunctionOn document publish, send a Slack notification so your team is informed
Go to Slack Notify FunctionAI-Powered Content Summary from Long Form Content
Go to Auto Summary FunctionAI-Powered Tone Analysis for Consistent Brand Voice
Go to Capture Tone of Voice FunctionGenerate content changes for a piece of content
Go to Brand Voice Validator FunctionScript to batch remove a field from all documents that match a GROQ query
Go to Batch remove a fieldSanity provides various custom functions inside the schema. But getting a reference field value is difficult. Here's the how I do it using fetch.
Go to Get Sanity Reference Field Values inside Custom Schema FunctionsHow to automatically generate linked headings with a custom serializer
Go to Anchored Headings for Portable TextList all schemas in development
Go to Dev ModeMigration script to convert plain text to block content across your content lake
Go to Migrate plain text field to Portable TextA simple states dropdown list for your Studio
Go to United States Dropdown ListSuggest relevant content based on category tags.
Go to Related ContentSimple content type for a question and answer pattern
Go to Frequently asked questionsSchemas for adding richer quotes within Portable Text
Go to Rich quotations in Portable TextJS/Node example of using the /mutate API
Go to Mutate, set or change values deep within documentsDocument specific content previews
Go to Document specific content previewsThis snippet will return only matched item in a sub array inside a document
Go to Sanity groq Filter by item in an arrayIt will expand the reference (projection) which is deeply linked in an array and optional using select funtion.
Go to Projection of a reference item in a deeplinked optional array.Allows the user to tweet a summary into twitter.
Go to TweetSummaryPreview images of your documents
Go to Image Preview FieldVisually browse the reference documents you want to select in a document.
Go to Reference document browser inputParse, format and mask numeric values with ease
Go to Advanced Numeric InputRun GROQ queries in the studio to populate an array module.
Go to GROQ Reference Lookup + Add & Replace