Skip to main content

Scenario

Static personas go stale. Your HubSpot contacts have live engagement data — opens, clicks, page views — that reveal which segments are active. You pull engagement metrics, weight persona attributes by behavior, then update Mavera personas so they evolve with your audience.

Architecture

Code

Example Output

Error Handling

hs_email_open_count requires Marketing Hub with email tracking. Verify with GET /crm/v3/properties/contacts.
If Mavera doesn’t support PATCH, delete and recreate: DELETE /api/v1/personas/{id} then POST /api/v1/personas.
Default weights (opens: 1×, clicks: 3×, views: 2×, conversions: 10×) are starting points. Adjust per your business.

HubSpot Integration

Personas API