HubSpot Marketing (Independent Publisher) (Preview)

This connector is used to retrieve and make changes to HubSpot Marketing. HubSpot Marketing helps you attract the right audience, convert more visitors into customers, and run complete inbound marketing campaigns at scale.

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 [email protected]
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 form (Preview)

Add a new HubSpot form.

Create a marketing email (V1)

Create a new marketing email.

Create or update a marketing event (Preview)

Upserts a Marketing Event. If there is an existing Marketing event with the specified id, it will be updated; otherwise a new event will be created.

Delete a form (Preview)

Archive a form definition. New submissions will not be accepted and the form definition will be permanently deleted after 3 months.

Delete a marketing email (V1)

Archive a marketing email.

Delete a marketing event (Preview)

Archives an existing Marketing Event with the specified id, if one exists.

Get a form (Preview)

Returns a form based on the form ID provided.

Get a marketing email (V1)

Get the details for a specific marketing email.

Get a marketing event (Preview)

Returns the details of the Marketing Event with the specified id, if one exists.

Get all marketing emails (V1)

Get all marketing emails for a HubSpot account.

Get campaign data for a particular campaign (V1)

For a given campaign, return data associated with the campaign.

List Forms (Preview)

Returns a list of forms based on the search filters. By default, it returns the first 20 hubspot forms.

Update a form (Preview)

Update all fields of a HubSpot form definition.

Update a marketing email (V1)

Update a marketing email.

Create a form (Preview)

Add a new HubSpot form.

Parameters

Name Key Required Type Description
Form Type
formType string

The form types to be included in the results.

Name
name string

The name of the form

Created at
createdAt string

The date/time the form is created

Updated at
updatedAt string

The date/time the form is updated.

Archived
archived boolean

Whether to include archived forms.

Archived at
archivedAt string

The date/time the form is archived.

Group type
groupType string

The type of group.

Rich text type
richTextType string

The type of rich text.

Rich text
richText string

The rich text of the form.

Field type
fieldType string

The type of field.

Object type ID
objectTypeId string

The ID of the object type.

Name
name string

The name of the object.

Label
label string

The label of the object.

Description
description string

The description of the object.

Required
required boolean

Whether the object is required.

Hidden
hidden boolean

Whether the object is hidden.

Operator
operator string

The object operator.

Value
value string

The value of the object.

values
values array of string

The values of the array.

Range start
rangeStart string

The start range of the objects.

Range end
rangeEnd string

The end range of the objects.

Placeholder
placeholder string

The placeholder value.

Default value
defaultValue string

The default value.

blockedEmailDomains
blockedEmailDomains array of string

The email domains that will be blocked.

Use default block list
useDefaultBlockList boolean

Whether to use HubSpot's default blocklist.

Minimum allowed digits
minAllowedDigits integer

The minimum allowed digits.

Max allowed digits
maxAllowedDigits integer

The maximum allowed digits.

Use country code select
useCountryCodeSelect boolean

Whether to use the country code selected.

defaultValues
defaultValues array of string

The default values of the object.

Label
label string

The label of the object.

Value
value string

The value of the object.

Description
description string

The description of the object.

Display order
displayOrder integer

The display order of the items.

Allow multiple files
allowMultipleFiles boolean

Whether to allow multiple files.

Language
language string

The configuration language.

Cloneable
cloneable boolean

Whether the configuration is cloneable.

Type
type string

The property type.

Value
value string

The value of the object.

Editable
editable boolean

Whether the object is editable.

Archivable
archivable boolean

Whether the object is archivable.

Recaptcha enabled
recaptchaEnabled boolean

Whether the Recaptcha is enabled.

Notify contact owner
notifyContactOwner boolean

Whether to notify the contact owner.

notifyRecipients
notifyRecipients array of string

Recipients that will be notified.

Create new contact for new email
createNewContactForNewEmail boolean

Whether to create a new contact for new email.

Pre-populate known values
prePopulateKnownValues boolean

Whether to pre-populate with known values.

Allow link to reset known values
allowLinkToResetKnownValues boolean

Whether to allow link to reset known values.

Render raw HTML
renderRawHtml boolean

Whether to render raw HTML.

Theme
theme string

The theme of the object.

Submit button text
submitButtonText string

The submit button text value.

Font family
fontFamily string

The style font family.

Background width
backgroundWidth string

The style background width.

Label text color
labelTextColor string

The style label text color.

Label text size
labelTextSize string

The style label text size.

Help text color
helpTextColor string

The style help text color.

Help text size
helpTextSize string

The style help text size.

Legal consent text color
legalConsentTextColor string

The style legal consent text color.

Legal consent text size
legalConsentTextSize string

The style legal consent text size.

Submit color
submitColor string

The style submit color.

Submit alignment
submitAlignment string

The style submit alignment.

Submit font color
submitFontColor string

The style submit font color.

Submit size
submitSize string

The style submit size.

CSS class
cssClass string

The CSS class.

Returns

Create a marketing email (V1)

Create a new marketing email.

Parameters

Name Key Required Type Description
Name
name True string

The name of the object.

Subject
subject string

The subject of the object.

Returns

Create or update a marketing event (Preview)

Upserts a Marketing Event. If there is an existing Marketing event with the specified id, it will be updated; otherwise a new event will be created.

Parameters

Name Key Required Type Description
The id of the marketing event to upsert
externalEventId True string

The id of the marketing event to upsert

Event name
eventName True string

The event name.

eventType
eventType string

The event type

Start date time
startDateTime string

The start date/time.

End date time
endDateTime string

The end date/time.

Event organizer
eventOrganizer True string

The event organizer.

Event description
eventDescription string

The event description.

Event URL
eventUrl string

The event URL.

Event cancelled
eventCancelled boolean

Whether the event is cancelled.

Name
name string

The name of the object.

Value
value string

The value of the object.

Timestamp
timestamp integer

The timestamp.

Source ID
sourceId string

The source ID.

Source label
sourceLabel string

The source label.

Source
source string

The source.

Selected by user
selectedByUser boolean

The selected by user.

Selected by user timestamp
selectedByUserTimestamp integer

The selected by user timestamp.

sourceVid
sourceVid array of integer

The source Vid.

Source metadata
sourceMetadata string

The source metadata.

Request ID
requestId string

The request ID.

External account ID
externalAccountId True string

The external account ID.

External event ID
externalEventId True string

The external event ID.

Returns

Delete a form (Preview)

Archive a form definition. New submissions will not be accepted and the form definition will be permanently deleted after 3 months.

Parameters

Name Key Required Type Description
formId
formId True string

Form ID

Returns

Delete a marketing email (V1)

Archive a marketing email.

Parameters

Name Key Required Type Description
id
id True string

The ID value.

Returns

Delete a marketing event (Preview)

Archives an existing Marketing Event with the specified id, if one exists.

Parameters

Name Key Required Type Description
The id of the marketing event to delete
externalEventId True string

The id of the marketing event to delete

The account id associated with the marketing event
externalAccountId True string

The account id associated with the marketing event

Returns

Get a form (Preview)

Returns a form based on the form ID provided.

Parameters

Name Key Required Type Description
formId
formId True string

The formId of the form

archived
archived boolean

Whether to return only results that have been archived.

Returns

Get a marketing email (V1)

Get the details for a specific marketing email.

Parameters

Name Key Required Type Description
id
id True string

The ID value.

Returns

Get a marketing event (Preview)

Returns the details of the Marketing Event with the specified id, if one exists.

Parameters

Name Key Required Type Description
The id of the marketing event to return
externalEventId True string

The id of the marketing event to return

The account id associated with the marketing event
externalAccountId True string

The account id associated with the marketing event

Returns

Get all marketing emails (V1)

Get all marketing emails for a HubSpot account.

Parameters

Name Key Required Type Description
limit
limit integer

The returned limit

orderBy
orderBy string

The order by string

Returns

Get campaign data for a particular campaign (V1)

For a given campaign, return data associated with the campaign.

Parameters

Name Key Required Type Description
campaign_id
campaign_id True string

Campaign ID

Returns

List Forms (Preview)

Returns a list of forms based on the search filters. By default, it returns the first 20 hubspot forms.

Parameters

Name Key Required Type Description
limit
limit integer

The maximum number of results to return.

Whether to return only results that have been archived.
archived boolean

Whether to return only results that have been archived.

Returns

Update a form (Preview)

Update all fields of a HubSpot form definition.

Parameters

Name Key Required Type Description
formId
formId True string

Form ID

Form Type
formType True string

The form types to be included in the results.

ID
id True string

The ID value.

Name
name string

The name of the object.

Created at
createdAt True date-time

The date/time the form is created

Updated at
updatedAt True date-time

The date/time the form is updated.

archived
archived True boolean

Whether to include archived forms.

Archived at
archivedAt string

The date/time the form is archived.

Group type
groupType string

The type of group.

Rich text type
richTextType string

The type of rich text.

Rich text
richText string

The rich text of the form.

Field type
fieldType string

The type of field.

Object type ID
objectTypeId string

The ID of the object type.

Name
name string

The name of the object.

Label
label string

The label of the object.

Description
description string

The description of the object.

Required
required boolean

Whether the object is required.

Hidden
hidden boolean

Whether the object is hidden.

Operator
operator string

The object operator.

Value
value string

The value of the object.

values
values array of string

The values of the array.

Range start
rangeStart string

The start range of the objects.

Range end
rangeEnd string

The end range of the objects.

Placeholder
placeholder string

The placeholder value.

Default value
defaultValue string

The default value.

blockedEmailDomains
blockedEmailDomains array of string

The email domains that will be blocked.

Use default block list
useDefaultBlockList boolean

Whether to use HubSpot's default blocklist.

Minimum allowed digits
minAllowedDigits integer

The minimum allowed digits.

Max allowed digits
maxAllowedDigits integer

The maximum allowed digits.

Use country code select
useCountryCodeSelect boolean

Whether to use the country code selected.

defaultValues
defaultValues array of string

The default values of the object.

Label
label string

The label of the object.

Value
value string

The value of the object.

Description
description string

The description of the object.

Display order
displayOrder integer

The display order of the items.

Allow multiple files
allowMultipleFiles boolean

Whether to allow multiple files.

Language
language string

The configuration language.

Cloneable
cloneable boolean

Whether the configuration is cloneable.

Type
type string

The property type.

Value
value string

The value of the object.

Editable
editable boolean

Whether the object is editable.

Archivable
archivable boolean

Whether the object is archivable.

Recaptcha enabled
recaptchaEnabled boolean

Whether the Recaptcha is enabled.

Notify contact owner
notifyContactOwner boolean

Whether to notify the contact owner.

notifyRecipients
notifyRecipients array of string

Recipients that will be notified.

Create new contact for new email
createNewContactForNewEmail boolean

Whether to create a new contact for new email.

Pre-populate known values
prePopulateKnownValues boolean

Whether to pre-populate with known values.

Allow link to reset known values
allowLinkToResetKnownValues boolean

Whether to allow link to reset known values.

Render raw HTML
renderRawHtml boolean

Whether to render raw HTML.

Theme
theme string

The theme of the object.

Submit button text
submitButtonText string

The submit button text value.

Font family
fontFamily string

The style font family.

Background width
backgroundWidth string

The style background width.

Label text color
labelTextColor string

The style label text color.

Label text size
labelTextSize string

The style label text size.

Help text color
helpTextColor string

The style help text color.

Help text size
helpTextSize string

The style help text size.

Legal consent text color
legalConsentTextColor string

The style legal consent text color.

Legal consent text size
legalConsentTextSize string

The style legal consent text size.

Submit color
submitColor string

The style submit color.

Submit alignment
submitAlignment string

The style submit alignment.

Submit font color
submitFontColor string

The style submit font color.

Submit size
submitSize string

The style submit size.

CSS class
cssClass string

The CSS class.

Returns

Update a marketing email (V1)

Update a marketing email.

Parameters

Name Key Required Type Description
id
id True string

The ID value.

From name
fromName string

fromName

Reply to
replyTo string

replyTo

Subject
subject string

The subject of the object.

Returns