hubspot-hello-world

Featured

Create a working HubSpot CRM example with contacts, companies, and deals. Use when starting a new HubSpot integration, testing your setup, or learning basic CRM API patterns with real endpoints. Trigger with phrases like "hubspot hello world", "hubspot example", "hubspot quick start", "first hubspot API call", "hubspot contact create".

AI & Automation 2,926 stars 433 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# HubSpot Hello World ## Overview Create, read, update, and delete CRM records using the HubSpot API. Covers contacts, companies, and deals with real endpoints and SDK methods. ## Prerequisites - Completed `hubspot-install-auth` setup - Private app with scopes: `crm.objects.contacts.read`, `crm.objects.contacts.write` - `@hubspot/api-client` installed ## Instructions ### Step 1: Create a Contact ```typescript import * as hubspot from '@hubspot/api-client'; const client = new hubspot.Client({ accessToken: process.env.HUBSPOT_ACCESS_TOKEN!, }); // POST /crm/v3/objects/contacts const contactResponse = await client.crm.contacts.basicApi.create({ properties: { firstname: 'Jane', lastname: 'Doe', email: 'jane.doe@example.com', phone: '(555) 123-4567', company: 'Acme Corp', lifecyclestage: 'lead', }, associations: [], }); console.log(`Created contact: ${contactResponse.id}`); // Output: Created contact: 12345 ``` ### Step 2: Read a Contact ```typescript // GET /crm/v3/objects/contacts/{contactId} const contact = await client.crm.contacts.basicApi.getById( contactResponse.id, ['firstname', 'lastname', 'email', 'phone', 'lifecyclestage'], undefined, // propertiesWithHistory ['companies'] // associations to include ); console.log(`${contact.properties.firstname} ${contact.properties.lastname}`); console.log(`Email: ${contact.properties.email}`); console.log(`Stage: ${contact.properties.lifecyclestage}`); ``` ### Step 3: Update a Con...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category