i am currently trying to set up a hubspot trigger in n8n. The Hubspot Node works fine so far. It was easy to set it up with the n8n doc. here → https://docs.n8n.io/nodes/credentials/Hubspot/
Somehow I can not get the trigger to work. I have to create new credential for the Hubspot trigger.
Can someone help me to set the credentials for the Hubspot trigger?
Yes the Hupspot API is sadly a little bit more complicated. They have different API keys and with each of them different actions are possible. For webhooks, the special Developer API Key is necessary. We sadly do not have documentation for it yet.
Hi @jan@Hueseyin
I tried to setup a Hubspot Trigger node but can not make it run because of connection error.
I have a Hubspot Developer Account, I created an App for n8n communication and now I have
App ID
Client ID
Client Secret
and the
Developer API Key
User ID
Can somebody tell me wich IDs/Key I need and where I need to copy it in the n8n Hubspot Trigger mask. The documentation doesn’t show that explicitly…
Ok, Again I set up a trigger with Developer API Key and Client Secret.
And in the main panel of my node I put the App ID in the App ID field.
Inside the App config panel in HubSpot I activated all Areas, the URLs I left all empty.
When trying to execute the node I get an error message:
It seems to work now. I deleted old webhook entries in my HubSpot dev account, and triggered the API with the test function. So far good. But now I’m struggling with connecting the app with my normal HubSpot Account. I set up the installation URL and ran it in my browser. Then I selected my account, got the message, that installation worked and got redirected. But when I try to trigger now from my HubSpot Account nothing happens on n8n side… Hope someone can advise…
Did you activate your workflow? To run the Trigger nodes in production you have to Activate the workflow. To activate the workflow you can toggle Active to true on the top right.
Also, note that when you’re running in production you won’t see the output in the Editor UI. However, you can check your executions by selecting the Executions options from the menu bar on the left.
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.
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!