Connecting HubSpot to Customer.io
HubSpot knows which leads turned into money, weeks after the ad platforms have stopped paying attention. Customer.io triggers messages from behaviour, which means an event you send is not recorded — it is acted on, usually within seconds, by sending something to a real person. The join between them succeeds or fails on one thing: whether the person identifier you assign reaches the HubSpot contact and deal before the conversion happens, because Customer.io can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
HubSpot to Customer.io: stop the trial nurture when sales closes
When a HubSpot deal reaches Closed Won, post an event to Customer.io's Track API for every associated contact, keyed on the Customer.io person identifier, with plan and amount as attributes, so trial nurtures stop. Store your app user ID on the HubSpot contact rather than matching on email, require fields in campaign conditions, and test in a separate workspace.
Product-led SaaS companies often run Customer.io for in-product behavior emails and HubSpot for the sales team. The two collide when a trial user is being worked by a rep: Customer.io keeps sending "your trial ends in 3 days" emails to someone whose company signed a contract in HubSpot yesterday.
Fix the direction that matters first. When a deal reaches Closed Won, post an event to Customer.io's Track API for every contact associated with the deal, keyed on the Customer.io person identifier, with the plan and amount as attributes. If Customer.io uses your app user ID and HubSpot keys on email, write that ID to a HubSpot contact property from your backend, because matching on email fails as soon as a user changes theirs in the product. Check whether a native HubSpot connector exists for your Customer.io plan before building one.
The second risk is campaigns reading attributes that HubSpot sends empty. A deal created without an amount, or with the plan in a custom field nobody filled, will still trigger the welcome campaign and insert a blank into the message. Make the campaign condition require the field. Test against a separate Customer.io workspace, since a test deal fired at production will email a real customer.
HubSpot → Customer.io · what breaks
Why this join usually fails — HubSpot → Customer.io
- 01
The person identifier you assign never reaches HubSpot
The identifier has to be captured on the form and written to a contact property. HubSpot forms embedded in an iframe do not automatically see your page's cookies, so a hidden field has to be populated deliberately. Miss that and the contact is created clean, with nothing to join on ever again.
- 02
The deal closes long after the click
B2B sales cycles routinely run past the attribution window of every ad platform. Value uploaded on day 95 is value nobody will accept, so the timing question has to be answered before anything is built.
- 03
A test event sending a real email
Because campaigns evaluate on arrival, there is no safe place to test in production. A malformed purchase event fired during development against a live workspace will send a real order confirmation to a real person, and that cannot be recalled.
- 04
Nothing reconciles afterwards
Customer.io shows the event and the resulting campaign activity on the person's timeline. Check what the event triggered, not just that it arrived.
HubSpot → Customer.io · the fix
What working looks like — HubSpot → Customer.io
The person identifier you assign on every deal
Conversions arriving in Customer.io
The event lands on the person, evaluates against every campaign trigger and segment condition, and may send immediately.
Reconciled against the source
HubSpot → Customer.io · architecture
How HubSpot and Customer.io actually connect
- 1
HubSpot holds the truth
The deal carries the amount, the stage, the close date and the associated contact. That contact is where the original click identifier must live, because the deal is created much later by a salesperson who has no idea an ad was involved.
- 2
Customer.io needs a click to match
Customer.io needs the person identifier, the event name and any attributes the campaign conditions reference. An event whose attributes are missing will still trigger a campaign, which may then send a message with an empty placeholder in it.
- 3
The identifier is the bridge
The person identifier you assign, captured at the visit and carried into the HubSpot contact and deal.
- 4
The event source decides reliability
Trigger when the deal reaches Closed Won and send the deal amount with the identifier stored on the associated contact. Sending on form submission instead means you optimize toward form fills, which is exactly the behavior that fills a pipeline with unqualified leads.
- 5
Deduplication at the destination
Customer.io does not deduplicate events. A purchase sent twice can enter a workflow twice and send two emails, and unlike a reporting duplicate the customer sees this one.
HubSpot → Customer.io · normal or broken
Working vs. broken, side by side — HubSpot → Customer.io
Normal, not a fault
The person identifier you assign present on the deal
Sent from a HubSpot workflow or webhook on deal stage change
Deduplicated correctly
Customer.io does not deduplicate events. A purchase sent twice can enter a workflow twice and send two emails, and unlike a reporting duplicate the customer sees this one.
Reconciles with the source
Actually broken
The person identifier you assign missing on most records
The identifier has to be captured on the form and written to a contact property. HubSpot forms embedded in an iframe do not automatically see your page's cookies, so a hidden field has to be populated deliberately. Miss that and the contact is created clean, with nothing to join on ever again.
Sent from the browser
B2B sales cycles routinely run past the attribution window of every ad platform. Value uploaded on day 95 is value nobody will accept, so the timing question has to be answered before anything is built.
Counted twice, or not at all
Because campaigns evaluate on arrival, there is no safe place to test in production. A malformed purchase event fired during development against a live workspace will send a real order confirmation to a real person, and that cannot be recalled.
Nobody has reconciled it
HubSpot → Customer.io · diagnose
Diagnostic order — HubSpot → Customer.io
- 01
Count deals carrying the person identifier you assign
- 02
Follow one real conversion end to end
- 03
Open a Closed Won deal and follow it back to its contact
Does that contact carry the identifier property, populated? Then check the date gap between the contact's creation and the deal's close — that gap decides whether this integration is possible at all.
- 04
Confirm which workspace you are writing to before sending anything
Environment separation is the whole safety mechanism in behaviour-triggered tools, and it is the thing most often skipped.
- 05
Read the match rate, not the success message
Customer.io shows the event and the resulting campaign activity on the person's timeline. Check what the event triggered, not just that it arrived.
HubSpot → Customer.io · prove
How it gets proven — HubSpot → Customer.io
Source of truth
HubSpot's Deals report, filtered to Closed Won for the same window, by close date.
- The person identifier you assign confirmed present on a live deal.
- Events confirmed on person profiles with the triggered campaign activity verified, in a test workspace before production.
- The click-to-close time distribution measured, so you know what share of deals close inside the destination's window.
HubSpot → Customer.io · free audit
What we check in the free audit
- Count deals carrying the person identifier you assign
- Follow one real conversion end to end
- Open a Closed Won deal and follow it back to its contact
- Confirm which workspace you are writing to before sending anything
- Read the match rate, not the success message
Checked against
HubSpot's Deals report, filtered to Closed Won for the same window, by close date.
Free30 minutesNo obligation
HubSpot → Customer.io · when not to buy
When you don't need this — HubSpot → Customer.io
- Measure identifier coverage yourself first — pull your last hundred deals and count how many carry the person identifier you assign.
- If your median deal closes well past the destination's upload window, the honest answer is a different measurement strategy, not this integration. We will tell you that on the call rather than sell you a build that cannot work.
- If your messaging is scheduled rather than behavioural, a simpler email platform does the job and removes the whole class of accidental-send risk.
HubSpot → Customer.io · what we deliver
What gets built — HubSpot → Customer.io
Identifier capture into HubSpot
Create a custom contact property, populate a hidden form field from the persisted first-party cookie, and confirm the property lands on the contact rather than only on the form submission.
Event source: a HubSpot workflow or webhook on deal stage change
Trigger when the deal reaches Closed Won and send the deal amount with the identifier stored on the associated contact. Sending on form submission instead means you optimize toward form fills, which is exactly the behavior that fills a pipeline with unqualified leads.
Dispatch to Customer.io
The Customer.io Track API, posted server-side from your order or product system with the person identifier and event attributes.
Reversals where they exist
A deal reopened or moved out of Closed Won can be retracted where the destination supports it, though most teams accept the small error here rather than wire it.
Written guarantee
95%+ tracking accuracy
Measured against HubSpot's Deals report, filtered to Closed Won for the same window, by close date.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
HubSpot → Customer.io questions, answered
Send the Closed Won deal to Customer.io as an event for each associated contact, and make trial campaigns exit on it.
Yes. Store your Customer.io person ID on the HubSpot contact rather than matching on email, which changes.
Almost always because the person identifier you assign never reached the HubSpot contact and deal. The identifier has to be captured on the form and written to a contact property. HubSpot forms embedded in an iframe do not automatically see your page's cookies, so a hidden field has to be populated deliberately. Miss that and the contact is created clean, with nothing to join on ever again. Measure coverage before debugging the dispatch.
Customer.io identifies people by an ID you control, with email as a common choice. Anonymous events can be sent and later merged, but a mismatch creates a second profile — and a second profile means a second copy of every campaign that person is enrolled in.
A HubSpot workflow or webhook on deal stage change. Trigger when the deal reaches Closed Won and send the deal amount with the identifier stored on the associated contact. Sending on form submission instead means you optimize toward form fills, which is exactly the behavior that fills a pipeline with unqualified leads.
Customer.io shows the event and the resulting campaign activity on the person's timeline. Check what the event triggered, not just that it arrived.
More on HubSpot → Customer.io
- Stripe → Customer.ioConnecting Stripe to Customer.io
- PayPal → Customer.ioConnecting PayPal to Customer.io
- Shopify → Customer.ioConnecting Shopify to Customer.io
Using HubSpot for bookings? How HubSpot bookings get tracked end to end
RELATED GUIDES
Where HubSpot → Customer.io fits in the rest of your tracking
- Zoho Books → Customer.ioConnecting Zoho Books to Customer.io
- Close → Customer.ioConnecting Close to Customer.io
- Less Annoying CRM → Customer.ioConnecting Less Annoying CRM to Customer.io
- HubSpot → Marketing CloudConnecting HubSpot to Salesforce Marketing Cloud
- HubSpot → AttentiveConnecting HubSpot to Attentive
- Law firmsConversion tracking for law firms, without sending case details anywhere
- Clio → Customer.ioConnecting Clio to Customer.io
- Salesforce → Customer.ioConnecting Salesforce to Customer.io
Free · 30 min
Get HubSpot and Customer.io joined properly
Free30 minutesNo obligation
