Skip to content

New in HubSpot ​

Starts the workflow when a contact, company or deal is created in HubSpot. The object lands in data.hubspot, with no triggering email.

The New in HubSpot trigger checks HubSpot at a regular interval and starts a run for each contact, company or deal created since the previous check. Use it to write to a new prospect, tell the team about a new deal or copy the contact into another tool.

It queries HubSpot search (POST /crm/v3/objects/{type}/search), filtered on the creation date. Nothing needs to be set up in HubSpot. The first check starts at publication: objects created before trigger nothing. Because HubSpot search lags a few moments behind, each check re-reads the previous ten minutes and skips what it has already seen, so nothing is lost.

The run has no carrier email: nodes that act on the triggering email cannot follow this trigger. Send remains usable if you pick the sending mailbox on the node.

At a glance ​

  • Type: trigger.hubspot · version 1
  • Category: Triggers
  • Kind: Trigger — starts a run
  • Effect: No external effect (none) — nothing is written outside Loop & Roll; safe to replay
  • Needs a carrier email: No
  • Connection: HubSpot
  • Outputs: main
The ports of “New in HubSpot”: what comes in on the left, what goes out on the rightIt starts runs: no input. Outputs: main. It needs a HubSpot connection.New in HubSpottrigger.hubspotEventmainConnection: HubSpot
The ports of “New in HubSpot”: what comes in on the left, what goes out on the right

Connection ​

This node needs a HubSpot connection.

Parameters ​

connection ​

HubSpot connection — The HubSpot connection to use. Create it once in Connections; its key never appears in the workflow.

  • Type: Connection (credential)
  • Required: Yes
  • Default: "" (empty)

object ​

Trigger on

  • Type: One choice (options)
  • Required: Yes
  • Default: contacts
  • Options:
    • contacts — A new contact
    • companies — A new company
    • deals — A new deal

everyMinutes ​

Check every (minutes) — Each check costs one HubSpot search request.

  • Type: Number (number)
  • Required: No
  • Default: 10
  • Whole number, from 5 to 1440

Outputs ​

  • main — Taken once per created object found during a check: each contact, company or deal starts its own run.

Data produced ​

What this node adds to the run data, and how to read it in an expression. <step> stands for the step key: the node name turned into an identifier (see Data and expressions).

  • {{ data.hubspot.id }} — string. The HubSpot ID of the created object — pass it to the HubSpot node (contactId, dealId…).
  • {{ data.hubspot.objectType }} — string. contacts, companies or deals, depending on the Trigger on setting.
  • {{ data.hubspot.properties }} — object. The object’s main properties, by internal name: {{ data.hubspot.properties.email }} for a contact, {{ data.hubspot.properties.dealname }} for a deal.
  • {{ data.hubspot.createdAt }} — string. The creation instant, in ISO 8601.

Example ​

To write to each new contact, set Trigger on to “A new contact”, then add a Compose step addressed to {{ data.hubspot.properties.email }}.

Tips ​

  • Cadence. Ten minutes by default, five at least. Each check costs one HubSpot search request (limited to five per second per account).
  • Cap. One check brings back at most one hundred objects; the rest come with the next check.
  • Errors. A revoked token stops the trigger and notifies the admins once; it resumes on its own once the connection is fixed.

Loop & Roll — the workflow builder for email.