Hubspot Trigger credential

Hi @harshil1712

yes, workflow is activated and for test reasons I set up a simple workflow that sends an email to me when HubSpot node is triggered by creating a new company in my HubSpot.

image

When using the test trigger function from my HubSpot developer account it works well. I receive an email and can see the execution of the workflow in my n8n execution overview as you mentioned.

I think the problem is that the app is not installed in my HubSpot account. What I tried is to install the app with the “Installation-URL (OAuth)”. But I don’t know what I have to enter in the redirect URI field. So I entered my website address there to receive an installation URL for the app. This link works than so far that I don’t get an error message and I’m getting asked to select the HubSpot account I want to connect to. Afterwords I get forwarded to my website - as defined. But when I check my HubSpot account after installation there is no app installed.

In summary I think the credential problem is solved since I can trigger my workflow with the test trigger in the dev account. But now Im struggling with connecting the app with my regular HubSpot account from where I finally want to trigger.

Can someone tell me how I can activate the n8n app in my regular HubSpot account, that a company creation there functions as trigger on n8n side? Thanks much for your help!

In Addition: Found this article now https://app.hubspot.com/user-guide/8336379?code=f3ea8bcc-a65b-400c-88fa-bfdf4b800c42 and as far as I understand I receive a token added to the redirect URL after installation. But I do not know what I need to do with this token…?!

https://exampleurl.com/…?code=f3ea8bcc-a65b-400c-88fa-bfdf4b800c42

Sorry, maybe all these questions are stupid, but for a non tech person it’s quite challenging to find out how it works…