DeskCrew Ticket Action
A "Send to DeskCrew" document action for Studio v3. Editors file any document (a feedback entry, a form submission, a content question) as a support ticket in DeskCrew, the AI helpdesk, without leaving the Studio. Map the fields once in sanity.config.ts (widget key, board, which fields hold name, email and message). The AI drafts a reply from your knowledge base and a human approves it before it sends. Pair it with the DeskCrew widget on your frontend for live chat and a help center. Free plan, no credit card. MIT.
Install command
npm i sanity-plugin-deskcrewsanity-plugin-deskcrew
Sanity Studio plugin
A "Send to DeskCrew as a ticket" document action for contact, feedback and support documents.
Website • Integrations • For agents • Sign up
⭐ Help more people find DeskCrew. Star this repo!

A Sanity Studio plugin that adds a Send to DeskCrew as a ticket action to the documents you choose (a contact form type, feedback, support requests). One click and the document's name, email and message land in your DeskCrew inbox as a support ticket.
DeskCrew is an AI-powered helpdesk: a support widget for your site, AI answers grounded in your knowledge base, a human approval step before anything sends, and every conversation as a ticket. You need a free DeskCrew account: https://deskcrew.io/signup
Install
npm install sanity-plugin-deskcrew// sanity.config.js
import { defineConfig } from 'sanity'
import { deskcrewTicketAction } from 'sanity-plugin-deskcrew'
export default defineConfig({
// ...
plugins: [
deskcrewTicketAction({
widgetKey: 'pub_your_widget_key', // from Dashboard → Install
types: ['contact', 'feedback'],
// fields: { name: 'name', email: 'email', message: 'message' }, // dot paths allowed
}),
],
})Open a document of a listed type and the action appears in the document menu. Documents without an email or a message do not get the action. Sending is best-effort: a failure shows a dialog and never changes the document.
The widget on your frontend
The widget itself lives in the site that renders your content, not in Sanity Studio. Add one script tag there, or use the package for your frontend framework: https://deskcrew.io/integrations
What the plugin sends
Only the mapped name, email and message, with your public widget key, to https://deskcrew.io/api/widget/submit from the Studio in the editor's browser. Your Studio origin must be on the widget's allowed origins list (Dashboard → Install). Nothing else leaves the Studio. Terms: https://deskcrew.io/terms. Privacy: https://deskcrew.io/privacy.
License
MIT
