I'm trying to log my hubspot dev account to Make HTTP request OAuth module to retrieve deals info from a specific pipeline. But it seem that I systematically fail to connect.
My Make set-up
Flow type : Authorisation code
Authorize URI : Installation url (OAuth) (containing the original credential+clientID+ redirect url
Token URI: url from API key
Scope: No scope selected
Client ID
Client Secret
Which info am I missing to grant the access ?
I search through Make and Hubspot documentation but it wasn't that helpful.
I've been able to successfully do this in the past using the credentials below within the HTTP module in Make. You will also need to specify a scope for crm.objects.deals.read if you want to retrieve deal information. The scopes you use depend on what information you want to interact with in HubSpot. Full list of HubSpot scopes here.
Another important thing you need to do is ensure you set the redirect URI within the HubSpot App settings to:
https://www.integromat.com/oauth/cb/oauth2
Once done you'll see in the screenshot my successful connection returing some deal information:
Obviously depending on what endpoint you are using you'll likely receive a different response. I opted to use the GET /crm/v3/objects/deals to pull all deals from the portal. Also if you are using more than one scope you need to ensure you set the scope seperator value to "SPACE". This is found by toggling the "Show advanced settings" option in make.
I'm not entirely sure to be honest with you. What I've done is recorded a short 6 minute video where I run through my entire configuration of the HTTP module in Make. It might help you to see where you might be going wrong:
It sounds like you're encountering some difficulties connecting your HubSpot developer account to make HTTP requests using OAuth. Double-checking your setup is crucial. Firstly, ensure that your authorization flow type is set correctly to "Authorization code" as you've mentioned. Confirm that the Authorization URI is pointing to the installation URL provided by HubSpot's OAuth process, containing your credentials, client ID, and redirect URL. The Token URI should correspond to the URL provided for your API key. Ensure that you've correctly input your Client ID and Client Secret obtained from your HubSpot developer account. Additionally, make sure that you've selected the appropriate scopes required for accessing the deals information from the specific pipeline. If after verifying these details you're still facing issues, it might be helpful to reach out to HubSpot's support for further assistance, as they can provide more specific guidance tailored to your setup.
@coldrickjack I just wanted to say thank you for posting the video. I didnt use it exactly but it was helpful. Very kind of you to take the time and effort.
I've been able to successfully do this in the past using the credentials below within the HTTP module in Make. You will also need to specify a scope for crm.objects.deals.read if you want to retrieve deal information. The scopes you use depend on what information you want to interact with in HubSpot. Full list of HubSpot scopes here.
Another important thing you need to do is ensure you set the redirect URI within the HubSpot App settings to:
https://www.integromat.com/oauth/cb/oauth2
Once done you'll see in the screenshot my successful connection returing some deal information:
Obviously depending on what endpoint you are using you'll likely receive a different response. I opted to use the GET /crm/v3/objects/deals to pull all deals from the portal. Also if you are using more than one scope you need to ensure you set the scope seperator value to "SPACE". This is found by toggling the "Show advanced settings" option in make.
I'm not entirely sure to be honest with you. What I've done is recorded a short 6 minute video where I run through my entire configuration of the HTTP module in Make. It might help you to see where you might be going wrong: