Merge branch 'kanban-hubspot' of https://github.com/smamudhan/n8n-docs into smamudhan-kanban-hubspot

This commit is contained in:
Tanay Pant 2020-08-31 09:31:10 +02:00
commit 57cc4ce6d2
4 changed files with 62 additions and 6 deletions

View File

@ -2,20 +2,46 @@
permalink: /credentials/hubspot
---
# Hubspot
# HubSpot
You can find information about the operations supported by the Hubspot node on the [integrations](https://n8n.io/integrations/n8n-nodes-base.hubspot) page. You can also browse the source code of the node on [GitHub](https://github.com/n8n-io/n8n/tree/master/packages/nodes-base/nodes/Hubspot).
You can find information about the operations supported by the HubSpot node on the [integrations](https://n8n.io/integrations/n8n-nodes-base.hubspot) page. You can also browse the source code of the node on [GitHub](https://github.com/n8n-io/n8n/tree/master/packages/nodes-base/nodes/Hubspot).
## Prerequisites
Create a [Hubspot](https://www.hubspot.com/) account.
Create a [HubSpot](https://www.hubspot.com/) account.
## Using OAuth
1. Access your [HubSpot Developer Home](https://developers.hubspot.com/).
2. Click on 'Create an app'.
3. Specify an app name in the ***Public app name*** field.
4. Click on the 'Auth' tab.
5. Use the provided 'Client ID' and the 'Client secret' with your HubSpot OAuth2 API credentials in n8n.
6. Copy your OAuth Callback URL from the 'Create New Credentials' screen in n8n and paste in the ***Redirect URL*** section.
7. In the Scopes section, make sure that the 'Basic OAuth functionality' scope is selected from the ***Add a required scope*** dropdown list.
8. Select any other Scopes you plan to use with n8n.
9. Click on the ***Save*** button to save your settings in HubSpot.
10. Back in n8n, click on the circle button in the OAuth section to connect your HubSpot account to n8n.
11. Click the ***Save*** button to save your credentials.
![Getting HubSpot OAuth credentials](./using-oauth.gif)
## Using Access Token
1. Access your Hubspot dashboard.
1. Access your HubSpot dashboard.
2. Click on the gear icon on the top.
3. Click on Integrations, API key.
4. Create Key.
5. Use the key with Hubspot node credentials in n8n.
5. Use the key with HubSpot node credentials in n8n.
![Getting Hubspot credentials](./using-access-token.gif)
![Getting HubSpot credentials](./using-access-token.gif)
<!-- ## Developer API (for trigger node)
https://legacydocs.hubspot.com/docs/faq/developer-api-keys -->
## Retrieving your Developer API Key (for HubSpot Trigger node)
1. Access your [HubSpot Developer Home](https://developers.hubspot.com/).
2. Click on the ***Get HubSpot API key*** button.
3. Click on the ***Show key*** button.
4. Use the displayed Developer API key with your HubSpot Trigger node credentials in n8n.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

View File

@ -0,0 +1,30 @@
---
permalink: /nodes/n8n-nodes-base.hubspotTrigger
---
# Hubspot Trigger
[HubSpot](https://www.hubspot.com/) provides tools for social media marketing, content management, web analytics, landing pages, customer support, and search engine optimization.
::: tip 🔑 Credentials
You can find authentication information for this node [here](../../../credentials/Hubspot/README.md).
Note that for this node, you will have to retrieve the App ID and Client Secret using the OAuth instructions in addition to the Developer API Key.
:::
## Example Usage
This workflow allows you to receive updates when a new contact is created in HubSpot. You can also find the [workflow](https://n8n.io/workflows/628) on the website. This example usage workflow would use the following node.
- [HubSpot Trigger]()
The final workflow should look like the following image.
![A workflow with the HubSpot Trigger node](./workflow.png)
### 1. HubSpot Trigger node
1. First of all, you'll have to enter credentials for the HubSpot Trigger node. You can find out how to do that [here](../../../credentials/Hubspot/README.md).
2. Enter the HubSpot App ID in the ***App ID*** field.
3. Click on ***Execute Node*** to run the workflow.

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB