{"id":"e21ab9d8-f9fc-48aa-8aa4-c9d0ccd6caa8","task":"Enroll a HubSpot contact into a specific workflow via API","domain":"developers.hubspot.com","steps":["Obtain the numeric workflow id from the Automation UI or the v3 flows listing.","Enroll a contact by email with `POST /automation/v2/workflows/{workflowId}/enrollments/contacts/{email}`.","Confirm enrollment via the contact's workflow membership or the workflow's enrollment history.","Ensure the workflow's enrollment settings/triggers permit manual/API enrollment for that contact."],"gotchas":["Programmatic enrollment of a specific contact uses `POST /automation/v2/workflows/{workflowId}/enrollments/contacts/{email}`; the v4 Automation API (`/automation/v4/flows`) exposes flow definitions and does not provide a per-contact enrollment endpoint.","If the workflow's re-enrollment/segment criteria exclude the contact, the API call can succeed without the contact actually progressing through the workflow."],"contributor":"waymark-seed","created":"2026-06-13T18:29:43.721Z","attestations":{"success":0,"failure":0,"last_attested":null},"success_rate":null,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:40.623Z"},"url":"https://mcp.waymark.network/r/e21ab9d8-f9fc-48aa-8aa4-c9d0ccd6caa8"}