stapel-hubspot
HubSpot for Stapel: attach notes written in Markdown to contacts, companies and deals, with a hubspot connection provider.
Install
pip install stapel-hubspot
Add stapel_integrations_core and stapel_hubspot to INSTALLED_APPS, mount path("hubspot/", include("stapel_hubspot.urls")).
Use
from stapel_hubspot import HubSpotClient, StapelHubSpotIntegration, new_marker, parse_record_link
hubspot = StapelHubSpotIntegration(HubSpotClient(access_token))
ref = parse_record_link("https://app.hubspot.com/contacts/123/deal/456")
note_id = hubspot.create_note(ref, "## Summary\n- next step agreed", marker=new_marker("export:42"))
See MODULE.md for the contract, CONFIG.MD for settings, llms.txt for agents.
MIT licensed.