APIs & Integrations

PowerbiAdmin
Participant

Hubspot Webhook Integration with Microsoft flow

Hi, 

 

I'm working on my microsoft flow integration on to hubspot webhook.  I'm having trouble configuring the Microsoft flow side.  These are the fields they are asking for:

Client ID

Client Secret

Authorization URL

Token URL

Refresh URL

Scope

 

I filled out the client id, secret, authorization URL and scope.  I'm a bit lost as to the token url and refresh url.  I've read all the documentation I could find both on the hubspot and the microsoft flow side.  I though I was filling it in correctly, but it didn't work.

 

The goal of this webhook integration is for us to be able to pick up contact/company/deal fields from hubspot and copy it over to our system of record using microsoft flow.

 

TIA for any assistance!

0 Upvotes
4 Replies 4
WendyGoh
HubSpot Employee
HubSpot Employee

Hubspot Webhook Integration with Microsoft flow

Hey @PowerbiAdmin,

 

While I'm not too familiar with the Microsoft flow integration, I'm assuming that the token/refresh URL is refering to the access and refresh tokens: Get OAuth 2.0 access and refresh tokens. Are you able to generate these tokens and see if it works?

PowerbiAdmin
Participant

Hubspot Webhook Integration with Microsoft flow

I was able to generate them.  However, I've tried inputting the URL, https://api.hubapi.com/oauth/v1/token, that's not working.  That's why I want to check all my settings.  Can you confirm what we should be using as the host, authorization URL, token URL, and refresh URL.  Can you help me with that?

 

I have the following:

host - api.hubapi.com

authorization url - https://app.hubspot.com/oauth/authorize

token and refresh url - https://api.hubapi.com/oauth/v1/token

scope - contacts

 

Does this look correct to you?

0 Upvotes
WendyGoh
HubSpot Employee
HubSpot Employee

Hubspot Webhook Integration with Microsoft flow

Hey @PowerbiAdmin,

 

I believe the access and refresh URL might be referring to the access and refresh token specifically:

 

"access_token": "xxxx",
"refresh_token": "yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy",

If it doesn't, could you leave it blank? This is because, our OAuth integration doesn't have a token and refresh url. We do however have a redirect URI

0 Upvotes
PowerbiAdmin
Participant

Hubspot Webhook Integration with Microsoft flow

No the token url and the refresh url are exactly that - URLs, not actual tokens.  The fields give "Must be a valid url starting with https:// or http://" error when I put actual tokens into the fields.

 

There is a redirect uri.  The redirect uri is generated by microsoft flow connector when the token and refresh urls are correct.  This is what's not occurring.  The redirect uri is not generated. Due to some incorrect parameters.  

 

This was why I opened the ticket.  Because I can't get it to work with the webhook api documentation you have.

 

Can someone at hubspot verify that my fields are properly filled out?

---------

 

Wasting an entire day to hear that "I believe the access and refresh URL might be referring to the access and refresh token specifically."  Waiting a full 24 hours for this sort of response is not helpful - it's guessing and what good is that.  It's been over 48 hours since I asked for help and there is no actual direction or documentation. 

 

Is there anyone else technical at hubspot that can be asked.  This is hubspots documentation.  There should be someone familiar with OAth authentication for Microsoft Flow at hubspot.  Anyone such as Isaac Takushi or Derek Gervais?  Both of those people have answered microsoft flow questions in your developer  boards?

0 Upvotes