Leadly

HubSpot data analytics app

Description:

Leadly (formerly Delphi) integrates with HubSpot for OAuth 2.0 authentication. It allows users to log in using their HubSpot company account, fetches and stores OAuth tokens, and automatically refreshes them before expiration using refresh jobs handled by APScheduler. Logging is in place to keep track of app activities. All app configurations, including HubSpot details, are stored in a separate configuration file. Sensitive data is stored as environment variables.

In the future, the next module will integrate multivariate testing and predictive modeling.

Objectives:

  • To handle OAuth token process in a user-friendly way.
  • To retrieve user data from the CRM account via the API.
  • To analyse user data and predict success using variable correlation in order to inform lead prospecting actions.