Skip to content

HubSpot: update subscription

The HubSpot: update subscription Point template writes the push subscription state and the journey step onto an existing HubSpot contact, so sales and email marketing see what the person already gets from the app.

This point authenticates with its own HubSpot private app token — it doesn’t use any account-level HubSpot integration configured elsewhere in Settings.

Configure the point

Anchor link to
  1. Drag HubSpot: update subscription from the Integrations section onto the canvas.
  2. Double-click the point and enter a Step Name.
  3. In Private app token, enter a HubSpot private app token with the crm.objects.contacts.write scope. It’s stored masked, like a webhook secret header.
  4. In Look the contact up by, enter the internal name of the HubSpot property that holds the identifier — email by default, or a property of your own that carries the Pushwoosh User ID. HubSpot only looks a contact up by a property whose values it keeps unique.
  5. In Identifier value, enter the value to look up, for example {{device:user_id}} or a tag of the traveler.
  6. In Properties to write, add a row per HubSpot property’s internal name mapped to what to write into it — see key/value fields. Besides tags, the value can use the new {{device:push_subscribed}} macro for the push subscription state, {{now}} for the moment the traveler passed here, or {{journey:name}}/{{point:name}} for where. A cell holding a single macro keeps that macro’s own type — {{device:push_subscribed}} alone arrives as a boolean, not the string "true".
  7. Click Save.

After the step runs, the HubSpot contact’s ID is available in later steps as attribute hubspot_contact_id — use it the same way you’d use a Webhook response attribute, for example to set a Tag with Update user profile.

A failed request, including a contact HubSpot can’t find by the identifier you gave, drops the traveler from the journey — see Errors and failed requests.