hubspot-whoami-nango
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseHubSpot WhoAmI via Nango
通过Nango实现HubSpot WhoAmI功能
This skill identifies the current authenticated HubSpot user using the Nango integration.
本skill可借助Nango集成识别当前已认证的HubSpot用户。
MCP Server Requirements
MCP服务器要求
This skill depends on the Nango MCP server being correctly configured and connected.
Required Tool:
- : Returns the authenticated HubSpot user's ID and email address.
whoami
Connection Requirements:
See the skill for details on how to configure the Nango MCP server with the necessary authentication headers.
connect-to-nango-mcp本skill依赖Nango MCP服务器完成正确配置并建立连接。
所需工具:
- :返回已认证HubSpot用户的ID和邮箱地址。
whoami
连接要求:
有关如何为Nango MCP服务器配置必要认证头的详细信息,请参阅 skill。
connect-to-nango-mcpWorkflow
工作流
GOAL: Retrieve and display the authenticated HubSpot user's identity (ID and email). The connection to Nango is a prerequisite, not the end goal.
目标:检索并展示已认证HubSpot用户的身份信息(ID和邮箱)。与Nango建立连接是前提条件,而非最终目标。
Step 1: Ensure Nango is Connected
步骤1:确保已连接Nango
Verify if the Nango MCP server is connected and the tool is available. If not, follow the skill workflow to establish a connection for the hubspot provider. Identify the provider as immediately.
whoamiconnect-to-nango-mcphubspotIMPORTANT: Connecting to Nango is NOT the completion of this task. Once connected, immediately proceed to Step 2 without stopping or asking for permission.
验证Nango MCP服务器是否已连接,且工具可用。若未连接,请按照 skill的工作流为hubspot提供商建立连接。请立即将提供商标识为。
whoamiconnect-to-nango-mcphubspot重要提示:与Nango建立连接并非任务完成。连接成功后,请立即进入步骤2,无需停顿或请求许可。
Step 2: Call the whoami Tool
步骤2:调用whoami工具
Execute the tool provided by the Nango MCP server. This tool requires no arguments if the connection headers were correctly set during MCP initialization.
whoamiExpected output: A JSON response containing the user's HubSpot ID and email address.
What success looks like:
json
{
"userId": "3768092",
"email": "user@example.com"
}If the tool call fails with authentication errors, the connection was not properly established.
执行Nango MCP服务器提供的工具。若在MCP初始化阶段已正确设置连接头,该工具无需传入任何参数。
whoami预期输出:包含用户HubSpot ID和邮箱地址的JSON响应。
成功示例:
json
{
"userId": "3768092",
"email": "user@example.com"
}若工具调用因认证错误失败,则说明连接未正确建立。
Step 3: Present the Identity
步骤3:展示身份信息
Display the returned user information (ID and email) to the user in a friendly format. THIS is the completion of the task, not the connection step.
以友好格式向用户展示返回的用户信息(ID和邮箱)。此步骤为任务的完成标志,而非连接步骤。
Example Output
示例输出
text
HubSpot Identity:
- User ID: 3768092
- Email: email@example.comtext
HubSpot身份信息:
- 用户ID:3768092
- 邮箱:email@example.comError Handling
错误处理
- Tool Not Found: Ensure the Nango MCP server is connected and the provider is .
hubspot - Authentication Error: Refer to the troubleshooting section of the skill.
connect-to-nango-mcp - Provider Mismatch: Ensure you are using the provider config key when connecting to Nango.
hubspot
- 工具未找到:确保已连接Nango MCP服务器,且提供商为。
hubspot - 认证错误:请参阅skill的故障排除部分。
connect-to-nango-mcp - 提供商不匹配:连接Nango时,请确保使用作为提供商配置密钥。
hubspot