Get all pipelines and dealstages
Tags: #hubspot #crm #sales #deal #pipelines #naas_drivers #snippet #dataframe
Description: This notebook get all your pipelines and dealstages.
from naas_drivers import hubspot
import naas
👉 Starting November 30, 2022, HubSpot API keys no longer enable access to HubSpot APIs, so in Naas version 2.8.3 and above, you need create a private app and use the access token.
Enter Your Access Token
HS_ACCESS_TOKEN = naas.secret.get("HS_ACCESS_TOKEN") or "YOUR_HS_ACCESS_TOKEN"
df_pipelines = hubspot.connect(HS_ACCESS_TOKEN).pipelines.get_all()
df_pipelines
Last modified 2mo ago