Appearance
HubSpot Marketing
undefined
| Detail | Value |
|---|---|
| Category | Marketing |
| Base URL | https://api.hubapi.com |
| Authentication | OAuth2 |
| Endpoints | 5 |
| Connector key | hubspot-marketing |
Using HubSpot Marketing in a workflow
- Go to Connections and click New Connection.
- Pick HubSpot Marketing from the marketplace.
- Enter your credentials (see Authentication above for what's expected).
- In a workflow, drop an API Call node and select this connection.
- Pick the operation you need from the Operation dropdown — the full list is below.
Available endpoints
| Endpoint | Summary |
|---|---|
GET | Emails |
GET | Forms |
GET | Campaigns |
GET | Transactional Email |
GET | Statistics |
Each endpoint is documented in full below. Use the outline on the right to jump to one.
GET
Emails
| Detail | Value |
|---|---|
| Operation ID | emails_0 |
| Method | GET |
| Path | `` |
Parameters
No parameters.
Using this endpoint in a workflow
- Add an API Call node to your workflow.
- Pick your HubSpot Marketing connection from the Connection dropdown.
- In the Operation dropdown, select
emails_0. - Fill in the parameter fields that appear. Use
{{...}}to reference upstream values.
What it returns
The API Call node writes the response to the workflow context:
{
status: 200,
success: true,
data: { ...response body from the API... },
latencyMs: 142
}Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream HubSpot Marketing API reference.
GET
Forms
| Detail | Value |
|---|---|
| Operation ID | forms_1 |
| Method | GET |
| Path | `` |
Parameters
No parameters.
Using this endpoint in a workflow
- Add an API Call node to your workflow.
- Pick your HubSpot Marketing connection from the Connection dropdown.
- In the Operation dropdown, select
forms_1. - Fill in the parameter fields that appear. Use
{{...}}to reference upstream values.
What it returns
The API Call node writes the response to the workflow context:
{
status: 200,
success: true,
data: { ...response body from the API... },
latencyMs: 142
}Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream HubSpot Marketing API reference.
GET
Campaigns
| Detail | Value |
|---|---|
| Operation ID | campaigns_2 |
| Method | GET |
| Path | `` |
Parameters
No parameters.
Using this endpoint in a workflow
- Add an API Call node to your workflow.
- Pick your HubSpot Marketing connection from the Connection dropdown.
- In the Operation dropdown, select
campaigns_2. - Fill in the parameter fields that appear. Use
{{...}}to reference upstream values.
What it returns
The API Call node writes the response to the workflow context:
{
status: 200,
success: true,
data: { ...response body from the API... },
latencyMs: 142
}Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream HubSpot Marketing API reference.
GET
Transactional Email
| Detail | Value |
|---|---|
| Operation ID | transactional_email_3 |
| Method | GET |
| Path | `` |
Parameters
No parameters.
Using this endpoint in a workflow
- Add an API Call node to your workflow.
- Pick your HubSpot Marketing connection from the Connection dropdown.
- In the Operation dropdown, select
transactional_email_3. - Fill in the parameter fields that appear. Use
{{...}}to reference upstream values.
What it returns
The API Call node writes the response to the workflow context:
{
status: 200,
success: true,
data: { ...response body from the API... },
latencyMs: 142
}Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream HubSpot Marketing API reference.
GET
Statistics
| Detail | Value |
|---|---|
| Operation ID | statistics_4 |
| Method | GET |
| Path | `` |
Parameters
No parameters.
Using this endpoint in a workflow
- Add an API Call node to your workflow.
- Pick your HubSpot Marketing connection from the Connection dropdown.
- In the Operation dropdown, select
statistics_4. - Fill in the parameter fields that appear. Use
{{...}}to reference upstream values.
What it returns
The API Call node writes the response to the workflow context:
{
status: 200,
success: true,
data: { ...response body from the API... },
latencyMs: 142
}Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream HubSpot Marketing API reference.