Skip to content

Instantly share code, notes, and snippets.

@belgattitude
Last active June 7, 2022 09:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save belgattitude/80d530aa013e577a21006ade0b9a84b9 to your computer and use it in GitHub Desktop.
Save belgattitude/80d530aa013e577a21006ade0b9a84b9 to your computer and use it in GitHub Desktop.

Hubspot Embed Case-Study

Original issue in https://github.com/sortlist/sortlist/issues/18791 and some requirements in https://docs.google.com/spreadsheets/d/1HzL-Swnh0qLOB-vLWDeHQtyJMpkCF7RvFWTaBU0U4Xo/.

Motives

  • Make advising calls details available on Hubspot.
  • Integrate Hubspot Schedule Meetings in our advisor (schedule meetings will handle confirmations, reschedule...)

Assumptions

Tasks

  • Pre-study IFrame embed limitations, ie redirect, prefill (0.5 day)
  • Identify hubspot configurations (most of them must be done in the use dashboard, ie meeting link...)
  • Prefill the form https://community.hubspot.com/t5/Sales-Hub-Tools/Add-parameters-to-meetings-link/td-p/304947
  • API discovery if IFrame embed limitations requires to use it (1 day)
    • Pre-study of Private Apps Api (beta) vs Api key based Api. Private Apps while in beta would prevent hitting rate-limit.
    • Pre-study of Engagement API (beta).
  • Prepare a POC and extract tasks and required API calls (? days).
  • Demo and feedbacks (? hours)
  • Implementation and design (? hours)

Notes

Integrations

Simililarly to calendly, Hubspot provides a way to embed a schedule in any application.

Iframe has limitations for the developer, notably:

  • Redirection: has a query param to allow go back to a back when finished ? -> No
  • Redirection: expose a javascript callback from the parent ? -> No
  • ? Redirection: In the dashboard it's possible to set a redirect page. But not sure what it would solve

From https://knowledge.hubspot.com/meetings-tool/create-and-edit-scheduling-pages#customize-your-form-questions image

Data

  • Be sure we establish the data we need. Write a contract.

Branding

How to setup

All useful for sharing how to integrate with hubspot

Engagement api via private App

image

image

What we know ?

For grooming.

  • Must be done: If Iframe we need to solve the redirect problem. Needs discovery (1-2 days)
  • Must be decided: By using hubspot we don't need to develop the reschedule, google calendar, reminders... integrations. But do we need to save the data
  • Nice to have: Find a way to configure Content-Security-Policy for iframe in javascript-labs. Otherwise some users (safari...) might have issues. This task should be groomed.
@belgattitude
Copy link
Author

belgattitude commented Jun 3, 2022

Customize the questions

How to

hubspot-customizing-the-questions.mp4

Customize the redirect

Howto

hubspot-customizing-the-redirect.mp4

How to create a private-app token

howto

hubspot-create-a-private-app-api.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment