Skip to main content

GetHubSpot

Description

Retrieves JSON data from a private HubSpot application. This processor is intended to be run on the Primary Node only.

Tags

hubspot

Properties

In the list below required Properties are shown with an asterisk (*). Other properties are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.

Display NameAPI NameDefault ValueAllowable ValuesDescription
Object Type *object-type
  • Companies
  • Contacts
  • Deals
  • Line Items
  • Products
  • Tickets
  • Quotes
  • Calls
  • Emails
  • Meetings
  • Notes
  • Tasks
The HubSpot Object Type requested
Access Token *access-tokenAccess Token to authenticate requests
Result Limitresult-limitThe maximum number of results to request for each invocation of the Processor

Supports Expression Language, using Environment variables.
Incremental Loading *is-incrementaltrue
  • true
  • false
The processor can incrementally load the queried objects so that each object is queried exactly once. For each query, the processor queries objects within a time window where the objects were modified between the previous run time and the current time (optionally adjusted by the Incremental Delay property).
Incremental Delay *incremental-delay30 secThe ending timestamp of the time window will be adjusted earlier by the amount configured in this property. For example, with a property value of 10 seconds, an ending timestamp of 12:30:45 would be changed to 12:30:35. Set this property to avoid missing objects when the clock of your local machines and HubSpot servers' clock are not in sync and to protect against HubSpot's mechanism that changes last updated timestamps after object creation.

Supports Expression Language, using Environment variables.

This property is only considered if:
  • the property Incremental Loading has a value of true
Incremental Initial Start Timeincremental-initial-start-timeThis property specifies the start time that the processor applies when running the first request. The expected format is a UTC date-time such as '2011-12-03T10:15:30Z'

Supports Expression Language, using Environment variables.

This property is only considered if:
  • the property Incremental Loading has a value of true
Web Client Service Provider *web-client-service-providerController Service:
WebClientServiceProvider

Implementations:
StandardWebClientServiceProvider
Controller service for HTTP client operations

Dynamic Properties

This component does not support dynamic properties.

Relationships

NameDescription
successFor FlowFiles created as a result of a successful HTTP request.

Reads Attributes

This processor does not read attributes.

Writes Attributes

NameDescription
mime.typeSets the MIME type to application/json

State Management

ScopeDescription
CLUSTERIn case of incremental loading, the start and end timestamps of the last query time window are stored in the state. When the 'Result Limit' property is set, the paging cursor is saved after executing a request. Only the objects after the paging cursor will be retrieved. The maximum number of retrieved objects can be set in the 'Result Limit' property.

Restricted

This component is not restricted.

Input Requirement

This component does not allow an incoming relationship.

System Resource Considerations

This component does not specify system resource considerations.

See Also