# HubSpot - New/Updated object triggers

This section contains documentation on the triggers that are currently supported on the Workato platform, including:

WARNING

The triggers below will be deprecated soon. Please use the newly released New/updated record trigger.

# Trigger conditions

For each trigger, you can configure trigger conditions. Trigger conditions are like filters in Workato. Turning on trigger conditions in Workato means that you can selectively choose which events you want to trigger workflows. Conditions can be set on object attributes like approval status. This allows you to build workflows that are only triggered on things such as approved purchase orders or invoices.

# New/Updated Record trigger

Triggers when a new record is created or an existing record is updated in your HubSpot instance. Each record will be processed as a separate job. It checks for new jobs once every poll interval. To configure this action, you will need to first select the object you want to trigger jobs off.

We currently support the following record types:

  • Contact
  • Company
  • Deal
  • Ticket

New/Updated record in HubSpot trigger

New/Updated record trigger

# Input fields

Input field Description
Object Select the object you want to trigger jobs off.
When first started, this recipe should pick up events from Configure this input to pull records that have been created or updated since a time in the past. Leave blank to pull records from 1 hour ago.
Properties If not configured, we return the default set of properties for each record type. You can pull in custom sets of properties by configuring this input. Custom fields are supported.

# Output fields

Workato will return an object representing each new or updated record in separate jobs so you can use its datapills in the subsequent steps. The output datapills will be based on what you have configured in the Properties input field. If blank, a default set of properties are returned.

# New/Updated Company trigger

Triggers when a new company is created or an existing company is updated in your HubSpot instance. Each company will be processed as a separate job. It checks for new jobs once every poll interval.

New/Updated company in HubSpot trigger

New/Updated company trigger

# Input fields

Input field Description
From Companies created or updated after this time will be processed by the recipe. If left blank, the default date will be set to one hour before the recipe is first started.

# Output fields

Workato will return an object representing each new or updated company in separate jobs so you can use its datapills in the subsequent steps. Click here to view the fields available. In addition, any custom fields that you have configured will be returned.

# New/Updated Contact trigger

Triggers when a new contact is created or an existing contact is updated in your HubSpot instance. Each contact will be processed as a separate job. It checks for new jobs once every poll interval.

New/Updated contact in HubSpot trigger

New/Updated contact trigger

# Input fields

Input field Description
Property mode Select value and version history to retrieve the entire version history of the contact properties in the trigger response.
Show list memberships Select yes to retrieve data about the lists that this contact is in, in the trigger response.
Properties Only contact properties selected here will be returned. Leave this blank to retrieve all properties in the trigger response.

# Output fields

Workato will return an object representing each new or updated contact in separate jobs so you can use its datapills in the subsequent steps, the values of each property retrieved is determined by the input fields of the trigger. Click here to view the fields available. In addition, any custom fields that you have configured will be returned.

# New/Updated Deal trigger

Triggers when a new deal is created or an existing company is updated in your HubSpot instance. Each deal will be processed as a separate job. It checks for new jobs once every poll interval.

New/Updated deal in HubSpot trigger

New/Updated deal trigger

# Input fields

There are no input fields required.

# Output fields

Workato will return an object representing each new or updated deal in separate jobs so you can use its datapills in the subsequent steps. Click here to view the fields available. In addition, any custom fields that you have configured will be returned.