SurveyMonkey 凭证(SurveyMonkey credentials)#
你可以使用以下凭据验证以下节点:
🌐 You can use these credentials to authenticate the following nodes:
先决条件(Prerequisites)#
- 创建一个 SurveyMonkey 账户。
- 从您的开发者控制台 > 我的应用注册一个应用程序(注册应用)。
- 有关必须使用的权限范围的信息,请参阅 必需的应用权限范围。
支持的身份验证方法(Supported authentication methods)#
- API 访问令牌
- OAuth2
相关资源(Related resources)#
有关该服务的更多信息,请参阅 SurveyMonkey 的 API 文档。
🌐 Refer to SurveyMonkey's API documentation for more information about the service.
使用 API 访问令牌(Using API access token)#
要配置此凭据,你需要:
🌐 To configure this credential, you'll need:
- 一个访问令牌:在你创建应用后生成。
- 客户端 ID:在你创建应用时生成。
- 一个客户端密钥:在你创建应用后生成。
创建应用并分配适当的权限后,前往 设置 > 凭证。复制 访问令牌、客户端ID 和 密钥,并将它们添加到 n8n 中。
🌐 Once you've created your app and assigned appropriate scopes, go to Settings > Credentials. Copy the Access Token, Client ID, and Secret and add them to n8n.
使用 OAuth(Using OAuth)#
要配置此凭据,你需要:
🌐 To configure this credential, you'll need:
- 客户端 ID:在你创建应用时生成。
- 一个客户端密钥:在你创建应用后生成。
创建应用并分配相应的权限范围后:
🌐 Once you've created your app and assigned appropriate scopes:
- 进入应用的设置 > 设置。
- 从 n8n 中,复制 OAuth 重定向 URL。
- 用该 URL 覆盖应用已有的 OAuth 重定向 URL。
- 选择 提交更改。
- 请确保 Scopes 部分包含 所需的应用权限。
在应用的 设置 > 凭证 中,复制 客户端 ID 和 客户端密钥 并将它们添加到你的 n8n 凭证中。你现在可以从 n8n 中选择 连接我的账户。
🌐 From the app's Settings > Credentials, copy the Client ID and Client Secret and add them to your n8n credential. You can now select Connect my account from n8n.
SurveyMonkey 测试 OAuth 流程
此选项仅在你保留默认的 SurveyMonkey OAuth 重定向 URL 并将 n8n 的 OAuth 重定向 URL 添加为 附加重定向 URL 时才有效。
必填应用范围(Required app scopes)#
创建应用后,进入 设置 > 权限范围。选择这些权限范围,使你的 n8n 凭证能够工作:
🌐 Once you create your app, go to Settings > Scopes. Select these scopes for your n8n credential to work:
- 查看调查
- 查看收藏者
- 查看回复
- 查看回复详情
- 创建/修改 Webhook
- 查看 Webhook
选择 更新范围 以保存它们。
🌐 Select Update Scopes to save them.