@useairfoil/producer-zendesk

中文文档
0.0.3发布于 2026/11/03TypeScriptES Module构建来源已验证

Syncs tickets, comments, field history, metric events, users, organizations, satisfaction ratings and surveys, Help Center articles and community posts, Talk lines, and the lists that name their IDs from one Zendesk account. It backfills each resource and

原始使用文档
文档目录6 节
  1. Config
  2. Setup
  3. Data
  4. Limits
  5. Demo data
  6. Local development

Zendesk producer

Syncs tickets, comments, field history, metric events, users, organizations, satisfaction ratings and surveys, Help Center articles and community posts, Talk lines, and the lists that name their IDs from one Zendesk account. It backfills each resource and polls for changes. There are no webhooks.

Config

VariableRequiredDefault
ZENDESK_SUBDOMAINyesnone
ZENDESK_CLIENT_IDyesnone
ZENDESK_CLIENT_SECRETyesnone

Setup

As an admin, add an OAuth client in Admin Center under Apps and integrations > APIs > OAuth clients:

  • Client kind: Confidential.
  • Scopes: leave empty, or allow read.
  • No redirect URL is needed.

Use the Identifier as ZENDESK_CLIENT_ID and the secret as ZENDESK_CLIENT_SECRET. Use acme for acme.zendesk.com; the full address also works.

The token uses the permissions of the admin who made the client.

Data

  • tickets.metrics holds reply, wait, and resolution times. custom_fields maps field IDs to values, and ticket_fields names them.
  • ticket_comments includes internal notes (public is false). It has the text, not attachment files.
  • Deleted tickets, users, and organizations get _deleted. Restored tickets come back.
  • Groups, brands, ticket fields, forms, and statuses keep deleted items, so older tickets still have their names. So do the other lists, articles, and Talk lines. Removed group and organization memberships get _deleted.
  • ticket_field_history has one row per changed field. Custom fields use their ID.
  • satisfaction_ratings holds legacy CSAT ratings. A new score is a new row.
  • survey_responses holds CSAT answers. csat_surveys names the questions and options. Both need the new CSAT, on Support Professional or Suite Growth and up. Unanswered surveys are skipped.
  • Tables hold names, emails, and ticket text. Treat them as confidential.

Limits

  • Incremental exports share a limit of 10 calls a minute per account, or 30 with the High Volume add-on. Large comment backfills can be slow.
  • ticket_comments and ticket_field_history each read the ticket events export, so both count toward that limit.
  • Exports are polled every 5 minutes. Zendesk leaves out the latest minute.
  • A comment made private later stays public in ticket_comments. Zendesk's event for it has no details. A redacted comment or attachment is read again.

Demo data

pnpm demo --size 128MiB writes made-up Zendesk data without Zendesk credentials. See the Connector Kit README for the flags and the variables it needs.

Each customer has tickets with comments, field history, metric events, and sometimes a satisfaction rating and survey response. The first 12 customers also bring the 12 agents. The account setup is written once and doesn't grow with the size: brands, groups and group memberships, statuses, fields, forms, roles, SLA policies, business hours, macros, the Help Center and community, a Talk line, the CSAT survey, and 40 organizations.

Local development

cd connectors/producer-zendesk
pnpm sandbox

pnpm start runs the hosted connector. It needs the Wings and PostgreSQL variables from the Connector Kit README.

版本与发布记录

@useairfoil/producer-zendesk 共发布 4 个版本,首次发布于 2026/10/29;过去 12 个月发布了 4 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
0.0.3latest2026/11/03今天
0.0.22026/10/295 天前
0.0.12026/10/295 天前
0.0.0-stage2026/10/295 天前

关于 @useairfoil/producer-zendesk 的常见问题

@useairfoil/producer-zendesk 是什么?

同步门票,评论,现场历史,度量事件,用户,组织,满意度评级和调查,帮助中心文章和社区帖子,谈话线,并从一个Zendesk帐户命名他们的id列表。它回填每个资源和

如何安装 @useairfoil/producer-zendesk?

在项目目录运行 npm install @useairfoil/producer-zendesk,或使用 pnpm add / yarn add / bun add。

@useairfoil/producer-zendesk 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@useairfoil/producer-zendesk 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@useairfoil/producer-zendesk 可以商用吗?

@useairfoil/producer-zendesk 使用 未声明 许可。package.json 没有声明许可证。没有许可证的代码默认保留全部权利,商用前请联系作者或查看仓库中的 LICENSE 文件。以上为概括,不构成法律意见,请以许可原文为准。

@useairfoil/producer-zendesk 还在维护吗?

最新版本 0.0.3 发布于 2026/11/03(今天);至今共发布 4 个版本,其中过去 12 个月发布了 4 个;首次发布于 2026/10/29。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。