|
| 1 | +--- |
| 2 | +project: |
| 3 | + pypi: https://pypi.org/project/strands-hubspot/ |
| 4 | + github: https://github.com/eraykeskinmac/strands-hubspot |
| 5 | + maintainer: eraykeskinmac |
| 6 | +service: |
| 7 | + name: hubspot |
| 8 | + link: https://developers.hubspot.com/ |
| 9 | +--- |
| 10 | + |
| 11 | +# strands-hubspot |
| 12 | + |
| 13 | +{{ community_contribution_banner }} |
| 14 | + |
| 15 | +[strands-hubspot](https://github.com/eraykeskinmac/strands-hubspot) is a production-ready HubSpot CRM tool designed for **READ-ONLY** operations with zero risk of data modification. It enables agents to safely access and analyze CRM data without any possibility of corrupting customer information. |
| 16 | + |
| 17 | +This community tool provides comprehensive HubSpot integration for AI agents, offering safe CRM data access for sales intelligence, customer research, and data analytics workflows. |
| 18 | + |
| 19 | +## Installation |
| 20 | + |
| 21 | +```bash |
| 22 | +pip install strands-hubspot |
| 23 | +``` |
| 24 | + |
| 25 | +## Usage |
| 26 | + |
| 27 | +```python |
| 28 | +from strands import Agent |
| 29 | +from strands_hubspot import hubspot |
| 30 | + |
| 31 | +# Create an agent with HubSpot READ-ONLY tool |
| 32 | +agent = Agent(tools=[hubspot]) |
| 33 | + |
| 34 | +# Search contacts (READ-ONLY) |
| 35 | +agent("find all contacts created in the last 30 days") |
| 36 | + |
| 37 | +# Get company details (READ-ONLY) |
| 38 | +agent("get company information for ID 67890") |
| 39 | + |
| 40 | +# List available properties (READ-ONLY) |
| 41 | +agent("show me all available deal properties") |
| 42 | + |
| 43 | +# Search with filters (READ-ONLY) |
| 44 | +agent("search for deals with amount greater than 10000") |
| 45 | +``` |
| 46 | + |
| 47 | +## Key Features |
| 48 | + |
| 49 | +- **Universal READ-ONLY Access**: Safely search ANY HubSpot object type (contacts, deals, companies, tickets, etc.) |
| 50 | +- **Smart Search**: Advanced filtering with property-based queries and sorting |
| 51 | +- **Object Retrieval**: Get detailed information for specific CRM objects by ID |
| 52 | +- **Property Discovery**: List and explore all available properties for any object type |
| 53 | +- **User Management**: Get HubSpot user/owner details and assignments |
| 54 | +- **100% Safe**: NO CREATE, UPDATE, or DELETE operations - read-only by design |
| 55 | +- **Rich Console Output**: Beautiful table displays with Rich library formatting |
| 56 | +- **Type Safe**: Full type hints and comprehensive error handling |
| 57 | + |
| 58 | +## Configuration |
| 59 | + |
| 60 | +Set your HubSpot API key as an environment variable: |
| 61 | + |
| 62 | +```bash |
| 63 | +HUBSPOT_API_KEY=your_hubspot_api_key # Required |
| 64 | +HUBSPOT_DEFAULT_LIMIT=100 # Optional |
| 65 | +``` |
| 66 | + |
| 67 | +Get your API key at: [HubSpot Private Apps](https://developers.hubspot.com/docs/api/private-apps) |
| 68 | + |
| 69 | +## Resources |
| 70 | + |
| 71 | +- [PyPI Package](https://pypi.org/project/strands-hubspot/) |
| 72 | +- [GitHub Repository](https://github.com/eraykeskinmac/strands-hubspot) |
| 73 | +- [Examples & Demos](https://github.com/eraykeskinmac/strands-tools-examples) |
| 74 | +- [HubSpot API Docs](https://developers.hubspot.com/) |
0 commit comments