webmilmind1

payload plugin deskcrew

by webmilmind1
Third-party services
v2
>=2.0.0
MIT

Overview

Summary generated from the README

Connects Payload collections such as contact forms, feedback and support requests to the DeskCrew helpdesk. It adds one afterChange hook per listed collection and sends the mapped name, email and message to DeskCrew as a ticket. Requires a DeskCrew account and a public widget key.

Features

  • One afterChange hook appended per listed collection
  • Configurable field mapping for name, email and message
  • Skips documents missing an email or message
  • Sending never blocks document creation
  • Sends only mapped fields with the public widget key

Use cases

  • Route contact form submissions stored in Payload into a support inbox
  • Convert feedback or support request documents into trackable helpdesk tickets

From the author

Plugin for Payload-powered sites: new documents in chosen collections (contact forms, feedback, support requests) become DeskCrew support tickets.

Installation

npm i payload-plugin-deskcrew

0

Stars

0

Forks

0

Open Issues

3 weeks ago

Last Updated

4

Weekly Downloads

v1.0.0

npm Version

9.7 KB

Unpacked Size

0

Dependencies

GitHub stars

Trends appear after 7 days of data. Daily snapshots have not started yet.

npm weekly downloads

Trends appear after 7 days of data. Daily snapshots have not started yet.

Each point is npm's rolling 7-day download count.

Health Score

65/100Good

Composite score based on GitHub activity, stars, npm downloads, publish recency, dependency count, and package size.

Badge for your README

Payload Directory health badge
Markdown
[![Payload Directory](https://payloaddirectory.dev/badge/1357141573-root.svg)](https://payloaddirectory.dev/plugins/1357141573-root)
HTML
<a href="https://payloaddirectory.dev/plugins/1357141573-root"><img src="https://payloaddirectory.dev/badge/1357141573-root.svg" alt="Payload Directory"></a>
Updated Sep 30, 2026Created Sep 4, 2026Published Sep 3, 2026

README

DeskCrew

payload-plugin-deskcrew

Plugin for Payload-powered sites

New documents in chosen collections, such as contact forms and feedback, become DeskCrew support tickets through one afterChange hook per collection.

Website • Integrations • For agents • Sign up

GitHub stars License

Visit our website Join our Discord Follow @getdeskcrew Join us on Whop

⭐ Help more people find DeskCrew. Star this repo!

Payload documents become DeskCrew tickets

Turn new documents in your Payload collections into DeskCrew support tickets. List the collections your forms write to (a contact form, feedback, support requests) and every created document lands in your DeskCrew inbox with the sender's name, email and message.

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 payload-plugin-deskcrew

In your Payload config:

import { buildConfig } from 'payload'
import { deskcrewPlugin } from 'payload-plugin-deskcrew'

export default buildConfig({
  // ...
  plugins: [
    deskcrewPlugin({
      widgetKey: process.env.DESKCREW_WIDGET_KEY, // pub_... from Dashboard → Install
      siteUrl: 'https://www.example.com', // the site your widget runs on
      ticketSources: [
        {
          slug: 'contact-submissions',
          fields: { name: 'name', email: 'email', message: 'message' },
        },
      ],
    }),
  ],
})

Each document created in a listed collection becomes a ticket. Documents without an email or a message are skipped, sending never blocks the create, and the plugin changes nothing else in your config (one afterChange hook per listed collection, appended after your own).

The widget on your frontend

The widget itself lives in the site that renders your content. 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, using siteUrl as the request origin. Nothing else leaves your project. Terms: https://deskcrew.io/terms. Privacy: https://deskcrew.io/privacy.

License

MIT

Tags

Similar plugins