Typeform 凭证#
¥Typeform credentials
你可以使用以下凭据验证以下节点:
¥You can use these credentials to authenticate the following nodes:
支持的身份验证方法#
¥Supported authentication methods
- API 令牌
¥API token
- OAuth2
相关资源#
¥Related resources
有关服务的更多信息,请参阅 Typeform API 文档。
¥Refer to Typeform's API documentation for more information about the service.
使用 API 令牌#
¥Using API token
要配置此凭据,你需要一个 Typeform 账户以及:
¥To configure this credential, you'll need a Typeform account and:
- 个人访问令牌
¥A personal Access Token
获取你的个人访问令牌:
¥To get your personal access token:
- 登录你的 Typeform 账户。
¥Log into your Typeform account. 2. 选择右上角的个人资料头像,然后转到“账户”>“你的设置”>“个人令牌”。
¥Select your profile avatar in the upper right and go to Account > Your settings > Personal Tokens. 3. 选择“生成新的令牌”。
¥Select Generate a new token.
4. 为你的令牌命名,例如 n8n integration。
¥Give your token a Name, like n8n integration.
5. 对于作用域,请选择“自定义作用域”。选择以下范围:
¥For Scopes, select Custom scopes. Select these scopes:
-
表单:读取
¥Forms: Read
-
Webhook:读取、写入
¥Webhooks: Read, Write 6. 选择“生成令牌”。
¥Select Generate token. 7. 复制令牌并将其输入到你的 n8n 凭据中。
¥Copy the token and enter it in your n8n credential.
有关更多信息,请参阅 Typeform 的 个人访问令牌文档。
¥Refer to Typeform's Personal access token documentation for more information.
使用 OAuth2#
¥Using OAuth2
要配置此凭据,你需要一个 Typeform 账户以及:
¥To configure this credential, you'll need a Typeform account and:
- 客户端 ID:注册应用时生成。
¥A Client ID: Generated when you register an app.
- 客户端密钥:注册应用时生成。
¥A Client Secret: Generated when you register an app.
获取客户端 ID 和客户端密钥,请注册一个新的 Typeform 应用:
¥To get your Client ID and Client Secret, register a new Typeform app:
- 登录你的 Typeform 账户。
¥Log into your Typeform account. 2. 在左上角,选择你所在组织的下拉菜单,然后选择“开发者应用”。
¥In the upper left, select the dropdown for your organization and select Developer apps. 3. 选择“注册新应用”。
¥Select Register a new app.
4. 输入一个有意义的应用名称,例如 n8n OAuth2 integration。
¥Enter an App Name that makes sense, like n8n OAuth2 integration.
5. 将你的 n8n 基本 URL 作为应用网站输入,例如 https://n8n-sample.app.n8n.cloud/。
¥Enter your n8n base URL as the App website, for example https://n8n-sample.app.n8n.cloud/.
6. 从 n8n 复制 OAuth 重定向 URL。将此作为重定向 URI 输入到 Typeform 中。
¥From n8n, copy the OAuth Redirect URL. Enter this in Typeform as the Redirect URI(s). 7. 选择“注册应用”。
¥Select Register app. 8. 复制客户端密钥并将其输入到你的 n8n 凭据中。
¥Copy the Client Secret and enter it in your n8n credential. 9. 在 Typeform 中,选择“知道了”以关闭客户端密钥模态框。
¥In Typeform, select Got it to close the Client Secret modal. 10. 开发者应用面板会显示你的新应用。复制客户端 ID,并将其作为你的 n8n 客户端 ID 输入。
1 | |
-
在 n8n 中输入客户端 ID 和客户端密钥后,选择“连接我的账户”,然后按照屏幕提示完成应用授权。
¥Once you enter both the Client ID and Client Secret in n8n, select Connect my account and follow the on-screen prompts to finish authorizing the app.
有关更多信息,请参阅 创建与 Typeform API 集成的应用。
¥Refer to Create applications that integrate with Typeform's APIs for more information.