I’m working on a HubSpot integration which allows HubSpot Contacts to be enrolled in specified Workflows. In the course of testing, I’ve discovered that the Enroll a contact into a workflow endpoint will return a 204 response, even when the given Workflow is inactive.
When immediately checking the Contact’s enrollments thereafter, the Workflow does not appear in the list. Also, none of the actions in the Workflow (e.g. property updates, email sends, etc.) are executed.
I would have expected a non-200 response code in the case above. Is this a bug?
I’m also seeing that if I enroll a contact into an inactive workflow using this endpoint > I received a 204 response. I would expect a 4xx errors as the contacts didn’t get enrolled into the workflow successfully (as workflow is inactive) and so I’ll have to check in with my team on this. Keep you posted!