Zendesk 凭证#
¥Zendesk credentials
你可以使用以下凭据验证以下节点:
¥You can use these credentials to authenticate the following nodes:
先决条件#
¥Prerequisites
- 创建 Zendesk 账户。
¥Create a Zendesk account.
- 要进行 API 令牌身份验证,请在管理中心“应用和集成”>“API”>“Zendesk API”下启用 API 令牌访问权限。
¥For API token authentication, enable token access to the API in Admin Center under Apps and integrations > APIs > Zendesk APIs.
支持的身份验证方法#
¥Supported authentication methods
- API 令牌
¥API token
- OAuth2
相关资源#
¥Related resources
有关服务的更多信息,请参阅 Zendesk 的 API 文档。
¥Refer to Zendesk's API documentation for more information about the service.
使用 API 令牌#
¥Using API token
要配置此凭据,你需要:
¥To configure this credential, you'll need:
- 你的子域名:你的 Zendesk 子域是 URL 中
https://和.zendesk.com之间的部分。例如,如果 Zendesk URL 为https://n8n-example.zendesk.com/agent/dashboard,则子域名为n8n-example。
¥Your Subdomain: Your Zendesk subdomain is the portion of the URL between https:// and .zendesk.com. For example, if the Zendesk URL is https://n8n-example.zendesk.com/agent/dashboard, the subdomain is n8n-example.
- 电子邮件地址:请输入你用于登录 Zendesk 的电子邮件地址。
¥An Email address: Enter the email address you use to log in to Zendesk.
- API 令牌:在“应用和集成”>“API”>“Zendesk API”中生成 API 令牌。有关更多信息,请参阅 API 令牌。
¥An API Token: Generate an API token in Apps and integrations > APIs > Zendesk API. Refer to API token for more information.
使用 OAuth2#
¥Using OAuth2
要配置此凭据,你需要:
¥To configure this credential, you'll need:
- 客户端 ID:创建新的 OAuth 客户端时生成。
¥A Client ID: Generated when you create a new OAuth client.
- 客户端密钥:创建新的 OAuth 客户端时生成。
¥A Client Secret: Generated when you create a new OAuth client.
- 你的子域名:你的 Zendesk 子域是 URL 中
https://和.zendesk.com之间的部分。例如,如果 Zendesk URL 为https://n8n-example.zendesk.com/agent/dashboard,则子域名为n8n-example。
¥Your Subdomain: Your Zendesk subdomain is the portion of the URL between https:// and .zendesk.com. For example, if the Zendesk URL is https://n8n-example.zendesk.com/agent/dashboard, the subdomain is n8n-example.
要创建新的 OAuth 客户端,请转到“应用和集成”>“API”>“Zendesk API”>“OAuth 客户端”。
¥To create a new OAuth client, go to Apps and integrations > APIs > Zendesk API > OAuth Clients.
使用这些设置:
¥Use these settings:
- 从 n8n 复制 OAuth 重定向 URL,并将其作为重定向 URL 输入到 OAuth 客户端。
¥Copy the OAuth Redirect URL from n8n and enter it as a Redirect URL in the OAuth client.
- 复制 Zendesk 客户端的唯一标识符,并将其作为你的 n8n 客户端 ID 输入。
¥Copy the Unique identifier for the Zendesk client and enter this as your n8n Client ID.
- 从 Zendesk 复制密钥,并将其作为你的 n8n 客户端密钥输入。
¥Copy the Secret from Zendesk and enter this as your n8n Client Secret
有关更多信息,请参阅 使用 Zendesk 注册应用。
¥Refer to Registering your application with Zendesk for more information.