Del via


HubSpot CMS (Independent Publisher) (Preview)

This connector is used to retrieve and make changes to HubSpot CMS. HubSpot CMS is a SaaS CMS designed to help businesses grow their web presence with a special emphasis on enabling marketers. It is designed to be used on business websites where non-technical content creators need to be able to build, measure, and iterate on content independently while working within design, style, and functionality. The content, lead collection, and analytics are also integrated with the HubSpot CRM.

This connector is available in the following products and regions:

Service Class Regions
Logic Apps Standard All Logic Apps regions except the following:
     -   Azure Government regions
     -   Azure China regions
     -   US Department of Defense (DoD)
Power Automate Premium All Power Automate regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Power Apps Premium All Power Apps regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Contact
Name Troy Taylor
URL https://www.hitachisolutions.com
Email ttaylor@hitachisolutions.com
Connector Metadata
Publisher Hitachi Solutions
Website https://www.hubspot.com/
Privacy policy https://legal.hubspot.com/privacy-policy
Categories Marketing

Throttling Limits

Name Calls Renewal Period
API calls per connection 100 60 seconds

Actions

Create a new page (V2)

Create a new page.

Create a new template (V2)

Create a new coded template object in Design Manager.

Delete a page (V2)

Marks a page as deleted. Returns 204 No Content letting you know that the page was successfully deleted. The page can be restored later via a POST to the restore-deleted endpoint.

Delete a template (V2)

Marks the selected Template as deleted. The Template can be restored later via a POST to the restore-deleted endpoint.

List pages (V2)

Get all of your pages. Supports paging and filtering.

List templates (V2)

Get all templates.

Publish or unpublish a page (V2)

Either publishes or cancels publishing based on the POSTed JSON.

Update a page (V2)

Updates a page in the database. If not all top level fields are included in the body, we will only update the included fields.

Update a template (V2)

Updates a template. If not all the fields are included in the body, we will only update the included fields.

Create a new page (V2)

Create a new page.

Parameters

Name Key Required Type Description
Campaign
campaign string

The guid of the marketing campaign this page is associated with

Campaign name
campaign_name string

The name of the marketing campaign this page is associated with.

Footer HTML
footer_html string

Custom HTML for embed codes, javascript, etc. that goes in the tag of the page.

Head HTML
head_html string

The HTML for the head.

Is draft
is_draft string

Whether page is draft.

Meta description
meta_description string

The meta description for the page.

Meta keywords
meta_keywords string

The meta keywords for the page.

Name
name string

The name of the page.

Password
password string

Set this to create a password protected page. Entering the password will be required to view the page.

Publish date
publish_date string

The publish date for the page.

Publish immediately
publish_immediately string

Set this to true if you want to be published immediately when the schedule publish endpoint is called, and to ignore the publish_date setting

Slug
slug string

The slug of the page.

Subcategory
subcategory string

This is set to empty or to "landing_page" for landing pages, or to "site_page" for site pages.

Widget containers
widget_containers string

A data structure containing the data for all the modules inside the containers for this post.

Widgets
widgets string

A data structure containing the data for all the modules for this page.

Returns

Create a new template (V2)

Create a new coded template object in Design Manager.

Parameters

Name Key Required Type Description
category_id
category_id integer

The category id of the template

Folder
folder string

folder

is_available_for_new_content
is_available_for_new_content boolean

Used to determine if the template should be expected to pass page/content validation and be used with live content.

template_type
template_type integer

This parameter accepts a numeric value and sets the type of template that is created.

Path
path string

The Design Manager path to the directory that contains the file being created.

Source
source string

The source code of the file.

Returns

Delete a page (V2)

Marks a page as deleted. Returns 204 No Content letting you know that the page was successfully deleted. The page can be restored later via a POST to the restore-deleted endpoint.

Parameters

Name Key Required Type Description
page_id
page_id True string

The page ID of the page.

Returns

Delete a template (V2)

Marks the selected Template as deleted. The Template can be restored later via a POST to the restore-deleted endpoint.

Parameters

Name Key Required Type Description
template_id
template_id True string

The ID of the template.

Returns

List pages (V2)

Get all of your pages. Supports paging and filtering.

Parameters

Name Key Required Type Description
limit
limit integer

The number of items to return. Defaults to 20.

archived
archived boolean

If True, the page will not show up in your dashboard, although the page will still be live.

id
id string

The ID of the page to return.

name
name string

The name of the page to return.

Returns

List templates (V2)

Get all templates.

Parameters

Name Key Required Type Description
limit
limit integer

The number of items to return. Defaults to 20.

id
id string

Tne ID of the template.

Returns

Publish or unpublish a page (V2)

Either publishes or cancels publishing based on the POSTed JSON.

Parameters

Name Key Required Type Description
page_id
page_id True string

The ID of the page

action
action True string

Either publishes or cancels publishing based on the selected action

Returns

Update a page (V2)

Updates a page in the database. If not all top level fields are included in the body, we will only update the included fields.

Parameters

Name Key Required Type Description
page_id
page_id True string

The page ID of the page.

Campaign
campaign string

The guid of the marketing campaign this page is associated with.

Campaign name
campaign_name string

The name of the marketing campaign this page is associated wit.

Footer HTML
footer_html string

Custom HTML for embed codes, javascript that should be placed before the tag of the page.

Head HTML
head_html string

Custom HTML for embed codes, javascript, etc. that goes in the tag of the page.

Is draft
is_draft string

Whether page is draft.

Meta description
meta_description string

The meta description for the page.

Meta keywords
meta_keywords string

The meta keywords for the page

Name
name string

The name of the page.

Password
password string

Set this to create a password protected page. Entering the password will be required to view the page.

Publish date
publish_date string

The publish date of the page.

Publish immediately
publish_immediately string

Set this to true if you want to be published immediately when the schedule publish endpoint is called, and to ignore the publish_date setting.

Slug
slug string

The slug of the page

Subcategory
subcategory string

This is set to empty or to "landing_page" for landing pages, or to "site_page" for site pages.

Widget containers
widget_containers string

A data structure containing the data for all the modules inside the containers for this post.

Widgets
widgets string

A data structure containing the data for all the modules for this page.

Returns

Update a template (V2)

Updates a template. If not all the fields are included in the body, we will only update the included fields.

Parameters

Name Key Required Type Description
template_id
template_id True string

The ID of the template.

Source
source True string

The source code of the file.

Returns