Skip to content

Zendesk 节点#

使用 Zendesk 节点在 Zendesk 中自动化工作,并将 Zendesk 与其他应用程序集成。n8n 内置支持广泛的 Zendesk 功能,包括创建和删除工单、用户和组织。

在此页面上,您将找到 Zendesk 节点支持的操作列表和更多资源的链接。

凭据

请参考 Zendesk 凭据 获取身份验证设置指南。

此节点可用作 AI 工具

此节点可用于增强 AI 代理的功能。以这种方式使用时,许多参数可以自动设置,或使用 AI 指导的信息设置 - 在 AI 工具参数文档中了解更多信息。

操作#

  • Ticket 工单
    • Create a ticket 创建工单
    • Delete a ticket 删除工单
    • Get a ticket 获取工单
    • Get all tickets 获取所有工单
    • Recover a suspended ticket 恢复挂起的工单
    • Update a ticket 更新工单
  • Ticket Field 工单字段
    • Get a ticket field 获取工单字段
    • Get all system and custom ticket fields 获取所有系统和自定义工单字段
  • User 用户
    • Create a user 创建用户
    • Delete a user 删除用户
    • Get a user 获取用户
    • Get all users 获取所有用户
    • Get a user's organizations 获取用户的组织
    • Get data related to the user 获取与用户相关的数据
    • Search users 搜索用户
    • Update a user 更新用户
  • Organization 组织
    • Create an organization 创建组织
    • Delete an organization 删除组织
    • Count organizations 计算组织数量
    • Get an organization 获取组织
    • Get all organizations 获取所有组织
    • Get data related to the organization 获取与组织相关的数据
    • Update a organization 更新组织

Tag Replacement Behavior 标签替换行为

When using the Zendesk node's "Update Ticket" operation and specifying the Tag Names or IDs field, the entire list of tags on the ticket will be replaced. Any tags not included in the update will be removed from the ticket due to how the Zendesk API processes tag updates by default. 使用 Zendesk 节点的"Update Ticket 更新工单"操作并指定 Tag Names or IDs 标签名称或 ID 字段时,工单上的整个标签列表将被替换。由于 Zendesk API 默认处理标签更新的方式,未包含在更新中的任何标签将从工单中删除。

To avoid accidental tag removal: 为避免意外删除标签:

  • First retrieve the ticket's tags and merge them with your new tags before updating. 首先检索工单的标签,并在更新前将它们与新标签合并。
  • Alternatively, use the HTTP Request node with Zendesk's additional_tags property to add tags without removing existing ones. 或者,使用带有 Zendesk 的 additional_tags 属性的 HTTP Request 节点来添加标签,而不删除现有标签。
  • You can also call the ticket's /tags endpoint to add tags without replacing existing ones (Zendesk tags endpoint documentation). 你也可以调用工单的 /tags 端点来添加标签,而不替换现有标签(Zendesk 标签端点文档)。

See the official documentation for details: Adding tags to tickets without overwriting existing tags. 有关详细信息,请参阅官方文档:在不覆盖现有标签的情况下向工单添加标签

Templates and examples 模板和示例#

Template widget placeholder.

如果不支持您的操作该怎么办#

如果此节点不支持您想要执行的操作,您可以使用 HTTP 请求节点来调用服务的 API。

您可以在 HTTP 请求节点中使用为此服务创建的凭据:

  1. 在 HTTP 请求节点中,选择身份验证 > 预定义凭据类型
  2. 选择您要连接的服务。
  3. 选择您的凭据。

有关更多信息,请参阅自定义 API 操作