APIs & Integrations

DFickes
Participant

Pull from API and display on landing page...

SOLVE

I want pull data from an api based on a value entered on Hubspot landing page, and show the response data on same landing or a separate continuation page.

 

Steps:

1. Enter a zip code and service requirements

2. API pulls relevant service techs in area

3. Display on page

4. Have user choose which one to send information.

 

 

0 Upvotes
1 Accepted solution
SteveHTM
Solution
Guide | Partner
Guide | Partner

Pull from API and display on landing page...

SOLVE

@DFickes - there are limitations to be aware of in what you want to do. Security limits mean that you cannot populate arbitrary contact data on a public web page/landing page - the page would need to be private/accessable via login or access list.

 

If I were undertaking this task for a public facing page, I'd probably choose to hold the data in HubDB and display tech options from there.

 

Good luck!

 

Steve

Steve Christian

HTM Solutions

https://info.htmsolutions.biz/meetings/stevec2

mobilePhone
+1 6195183009
emailAddress
stevec@htmsolutions.biz
website
www.htmsolutions.biz
address
San Diego, CA
Create Your Own Free Signature

View solution in original post

0 Upvotes
3 Replies 3
DFickes
Participant

Pull from API and display on landing page...

SOLVE

HubDB is not an option in this case.  The information being pulled from the API is coming from an entirely different system and sending back information that needs to be displayed on the page.  Think of a system that enables the entry of a zip code and then gives you a local list of stores.  It's close enough for now.  

The store information is not going to be in HubDB as there is already a source of truth and its a bit more complicated than just a simple lookup. 

So, can you/has anyone set up a page that pulls from an API to display information on a HS landing page?

0 Upvotes
SteveHTM
Guide | Partner
Guide | Partner

Pull from API and display on landing page...

SOLVE

Fair enough - if you are using a 3rd party API source, the the sky is the limit. It's perfectly possible to dynamically construct a drop down menu set of options, for example, and attach it to a HubSpot form field on the fly. Its a Javascript based form customization that can be done inside a custom module and positioned on a landing page as required.

 

Steve

Steve Christian

HTM Solutions

https://info.htmsolutions.biz/meetings/stevec2

mobilePhone
+1 6195183009
emailAddress
stevec@htmsolutions.biz
website
www.htmsolutions.biz
address
San Diego, CA
Create Your Own Free Signature
0 Upvotes
SteveHTM
Solution
Guide | Partner
Guide | Partner

Pull from API and display on landing page...

SOLVE

@DFickes - there are limitations to be aware of in what you want to do. Security limits mean that you cannot populate arbitrary contact data on a public web page/landing page - the page would need to be private/accessable via login or access list.

 

If I were undertaking this task for a public facing page, I'd probably choose to hold the data in HubDB and display tech options from there.

 

Good luck!

 

Steve

Steve Christian

HTM Solutions

https://info.htmsolutions.biz/meetings/stevec2

mobilePhone
+1 6195183009
emailAddress
stevec@htmsolutions.biz
website
www.htmsolutions.biz
address
San Diego, CA
Create Your Own Free Signature
0 Upvotes