contextware

hubspot-whoami-nango

0
0
# Install this skill:
npx skills add contextware/skills --skill "hubspot-whoami-nango"

Install specific skill from multi-skill repository

# Description

Find out who you are in HubSpot using Nango.

# SKILL.md


name: hubspot-whoami-nango
description: Find out who you are in HubSpot using Nango.
version: 2.0.0
author: agent-skills-workbench
mcp-servers: ["nango"]
depends-on: ["connect-to-nango-mcp"]
tags: [hubspot, nango, identity, portable]


HubSpot WhoAmI via Nango

This skill identifies the current authenticated HubSpot user using the Nango integration.

MCP Server Requirements

This skill depends on the Nango MCP server being correctly configured and connected.

Required Tool:
- whoami: Returns the authenticated HubSpot user's ID and email address.

Connection Requirements:
See the connect-to-nango-mcp skill for details on how to configure the Nango MCP server with the necessary authentication headers.


Workflow

Step 1: Ensure Nango is Connected

Verify if the Nango MCP server is connected and the whoami tool is available. If not, follow the connect-to-nango-mcp skill workflow to establish a connection for the hubspot provider. Identify the provider as hubspot immediately.

Step 2: Call the whoami Tool

Execute the whoami tool provided by the Nango MCP server. This tool requires no arguments if the connection headers were correctly set during MCP initialization.

Step 3: Present the Identity

Display the returned user information (ID and email) to the user in a friendly format.


Example Output

HubSpot Identity:
- User ID: 3768092
- Email: [email protected]

Error 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 connect-to-nango-mcp skill.
  • Provider Mismatch: Ensure you are using the hubspot provider config key when connecting to Nango.

# Supported AI Coding Agents

This skill is compatible with the SKILL.md standard and works with all major AI coding agents:

Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.