When a workflow changes a property, the public property history API returns:
{
“sourceType”: “AUTOMATION_PLATFORM”,
“sourceId”: “enrollmentId:2477462644303;actionExecutionIndex:0”
}
The enrollmentId is opaque. There is no public API path to resolve it to a flowId, which means marketplace apps displaying property history cannot show the workflow name or link to the workflow.
HubSpot’s own native property history UI shows the workflow name and a clickable link to the workflow editor. It does this via an internal endpoint (InterpretedPropertyHistoryRpc under app.hubspot.com/api/chirp-frontend-app/…) that returns fully interpreted history with workflow name and flowId URI per entry. That endpoint is cookie-session authenticated and not accessible to marketplace apps.
The data clearly exists internally. It is just not exposed through public API.
Every endpoint I could find has been verified as a dead end:
- /crm/v3/objects/{type}/{id}?propertiesWithHistory=X — returns opaque enrollmentId
- /crm/v3/objects/{type}/batch/read with propertiesWithHistory — same
- /automation/v4/flows/{flowId}/enrollments — 404
- /automation/v4/flows/{flowId}/actions — 404
- /automation/v4/automation-workflows/enrollments — 404
- /automation/v2/workflows/enrollments/contacts/{vid} — contacts only, current only
- /crm/v3/lists/records/{objectTypeId}/{recordId}/memberships — empty for deals
- /events/v3/events — web analytics events only, wrong domain
- Webhooks (v3 legacy and v4 journal) — payloads omit flowId on AUTOMATION_PLATFORM changes
- Audit logs — no workflow attribution for property-value changes
- Deal associations (engagements/activities) — do not include workflow enrollment events
Requested fix (either option solves this):
Option A: Add flowId to property history entries where sourceType=AUTOMATION_PLATFORM. The field can be null if resolution fails, but should be populated whenever HubSpot’s internal systems can resolve it (which is always, based on what the native UI displays).
Option B: Expose a dedicated endpoint, for example:
GET /automation/v4/enrollments/{enrollmentId}
which returns { enrollmentId, flowId, flowName, objectTypeId, timestamp }.
Why this matters:
Attribution is the core value of any marketplace app displaying change history. Without workflow name resolution, these apps can only show “Workflow” as a generic label, while HubSpot’s native UI shows the full name and link. This is a consistent gap across every marketplace app that tries to surface property change attribution.
This feature request has surfaced in the developer community repeatedly across multiple years and across v2, v3, and v4 of the Automation API. The Workflows API has now been through four major versions without closing this specific gap, despite HubSpot’s native UI clearly having the resolved data.
Exposing this would immediately benefit any marketplace app in the change-history, audit, or data-governance space.
