Actionable Findings LLC · 1441 Broadway, Suite 5 · New York, NY 10018
HubSpot Integration Flow Confidential and Proprietary

HubSpot Marketplace Installation & Authentication Flow

Standard operating procedure and technical sequence for the RUNMYBOT integration with HubSpot.

The HubSpot Marketplace integration uses the OAuth 2.0 Authorization Code flow to securely authenticate users and establish a connection between HubSpot and the application. The following steps describe both the user experience and the backend processing that occurs during installation.

A Overall Flow Sequence

The sequence below illustrates the chronological interactions between the User, HubSpot Marketplace, and the RUNMYBOT integration engine.

User clicks "Connect" in HubSpot Marketplace
Authenticate with HubSpot
Select HubSpot Account
Generate OAuth Access Token
Retrieve HubSpot User & Portal Information
Identify or Create Customer, User
Assign HubSpot Workflows
Create or Update HubSpot Connection
Redirect to HubSpot Workflows
HubSpot Environment
RUNMYBOT Integration Platform

B Step-by-Step Technical Guide

Follow the sequential stages of the installation process detailed below.

1

Start the Installation

The user initiates the installation by clicking the Connect (or Add) button from the HubSpot Marketplace.

This redirects the user to HubSpot's authentication page and begins the OAuth 2.0 authorization flow.

2

Authenticate with HubSpot

The user logs into HubSpot and grants application access permissions. This stage also handles onboarding profiles for first-time users.

Review Company Profile (First-Time Users)

If the user is creating a HubSpot account for the first time, HubSpot displays the company profile page. This page contains retrieved company information (Name, Company, Website, Industry, Company Size) which the user verifies and submits by clicking Yes, create my account.

Review Company Profile Screenshot
Grant Application Permissions

HubSpot displays the permissions requested by RUNMYBOT® (Contacts, Companies, Deals, Products, CRM Objects, etc.). The user reviews and clicks Connect app.

Grant Application Permissions Screenshot
Authorization Code Dispatch

After permissions are granted, HubSpot redirects the browser to the application's callback URL, returning a temporary Authorization Code to continue the OAuth process.

3

Select HubSpot Account

If the authenticated user has access to multiple HubSpot portals, HubSpot displays the available accounts.

The user selects the HubSpot account that should be connected to RUNMYBOT®.

User Action
  • Select the desired HubSpot account.
  • Click Choose Account.
Select a HubSpot Account Screenshot
4

Generate OAuth Access Token

RUNMYBOT® exchanges the Authorization Code with HubSpot.

HubSpot validates the authorization request and returns:

  • OAuth Access Token
  • Refresh Token (if applicable)
  • Token Expiration Details
  • Authentication Metadata

These credentials are securely stored for future API communication.

5

Retrieve HubSpot User and Portal Information

Using the generated access token, RUNMYBOT® retrieves:

  • Authenticated HubSpot user information
  • HubSpot Portal (Account) information

The Portal ID uniquely identifies the customer's HubSpot account.

6

Identify or Create Customer, User

The system maps the authenticated portal and email address to appropriate database records.

Customer Identification

RUNMYBOT® searches for an existing customer using the HubSpot Portal ID. If a matching customer exists, that record is reused. If no match exists, a new customer record is created and automatically associated with the ActionFi partner.

User Verification and Association

RUNMYBOT® checks whether a user already exists using the authenticated HubSpot email address:

  • Existing User: Reuses the account, retains profile details and customer associations, and skips credential creation.
  • New User: Creates a new user profile, associates them with the customer record, assigns a default role, and emails generated login credentials.

This guarantees a one-to-one mapping between a HubSpot Portal and a customer in the RUNMYBOT®.

7

Assign HubSpot Workflows

RUNMYBOT® identifies all HubSpot-specific system workflows available within the platform.

These workflows are automatically assigned to the customer's account, ensuring immediate access to all supported HubSpot integrations.

8

Create or Update HubSpot Connection

A HubSpot connection is created (or updated if one already exists).

RUNMYBOT® securely stores the OAuth authentication details required for future communication with HubSpot APIs.

9

Redirect to HubSpot Workflows

After establishing the connection, the platform creates a secure application session and auto-authenticates the user.

Finally, the user is redirected to the HubSpot Workflows page within the RUNMYBOT®, where they can immediately begin using the integration.

Final Checkpoints
  • HubSpot authentication is complete.
  • Customer identification is complete.
  • User verification is complete.
  • Required workflows are assigned.
  • HubSpot connection is active.
Workflows Dashboard Screenshot