PUT to Workflows v4 API silently clears a workflow's re-enrollment trigger settings

Has anyone run into this?

We want to do a bulk migration across ~200 workflows (updating a “set property” action from Replace to Append after converting a Contacts property to multi-select), using the automation v4 API and GET > modify > PUT pattern since there’s no way to patch a single action.

We found that any PUT to /automation/v4/flows/{flowId} (Update a workflow - HubSpot docs) silently wipes enrollmentCriteria.reEnrollmentTriggersFilterBranches back to [], even when we resend the exact unmodified body from a prior GET with zero changes.

It doesn’t look like a shape/schema issue on our end, the field is being parsed server-side (sending it with the wrong type, e.g. an object instead of an array, throws a 400 validation error), it just never persists the actual values.

Anyone knows a workaround for this?

Hi @deepdetect and welcome, we are so glad to see you here!

Thanks for reaching out to the HubSpot Community!

As a workaround, you could consider whether re-enrollment triggers can be reconfigured manually in the UI after the bulk API update, since the action changes (Replace → Append) are the primary goal. I understand that this is not idea but it might help in the meanwhile.

For additional information, here is the documentation about it: Workflow actions and enrollment types - HubSpot docs

Let me also check internally in the meantime.

I’d love to hear from our Top Experts: Hi @Anton, @MichaelMa and @sylvain_tirreau do you have any insights to share with @deepdetect, please?

Thanks so much and have a lovely day!
Bérangère

We are seeing exactly the same behaviour, reproduced three times on 29 July 2026:

Test Before Sent Stored Response
PUT of the GET body returned unmodified, nothing changed 3 3 0 200
PUT with the field explicitly populated 0 3 0 200
POST, creating a brand new flow none 1 0 201

Two details that may help narrow this down:

  • The POST is affected too, so this is not specific to updates. Creating a flow with the field populated returns 201 and stores an empty array.
  • In the second test, the 3 entries we sent were byte-identical copies of 3 entries already present in the listFilterBranch of that same flow, so they referenced triggers that provably exist on it. The payload shape is therefore not the issue.

And as you observed, a PUT that changes nothing still wipes the existing value. The field is not merely ignored, it is reset.

Impact on our side: 38 re-enrollment settings lost across 23 workflows during a GDPR/CNIL compliance migration, all re-entered by hand. There is no API path to restore them: Automation v4 exposes no revisions endpoint, and the UI “revert to prior revision” feature is unavailable on flows created from the form editor.

Has anyone found a supported way to write this field?

Hi @deepdetect, @oducasse-mmio, @Emmytech, @TeeTech, I wanted to share a workaround I found for you:

You’ll need to omit reEnrollmentTriggersFilterBranches from the PUT body entirely.

That is to say that since you’re only changing a set-property action (not re-enrollment), you can strip that field from each PUT body and the rest of the workflow, including re-enrollment triggers, will persist correctly.

Please know that the Team is aware of this bug and currently working on it as we speak.

Thanks for your patience and please let me know if you have additional questions.

Bérangère

Hello @Berangere and thank you for your reply :slightly_smiling_face:

I have tested the workaround you shared, with a PUT API call, removing the reEnrollmentTriggersFilterBranches from the body. It still cleared the reEnrollmentTriggersFilterBranches from the workflow.

Could you let us know when you have a solution for this issue ?

Thanks and looking forward to hearing from you !

Hi @oducasse-mmio and all,

Thank you for testing the workaround and letting us know the results.

Our team is actively working on a fix for this issue, and we’ll update you here as soon as a solution is available.

Your feedback is really helpful, thanks for staying involved as we work through this and thanks for your patience.

Bérangère

Hello @deepdetect, @oducasse-mmio, and all!

My name is Shane, and I’m a Senior Community Moderator here at HubSpot.

I have just received confirmation from our internal team that there was a fix pushed out for this issue as of July 31st, and that fix went into production today. This should now be resolved!

Thank you all for your patience!

Shane, Senior Community Moderator

Hi @STierney! Thank you for providing an update.

Unfortunately, I have to report the same as before; just retested against our sandbox portal after seeing your reply, and the bug is still reproducing, identically to what @oducasse-mmio and I both described earlier in this thread.

For what it’s worth, I also tried @Berangere 's earlier workaround of omitting reEnrollmentTriggersFilterBranches from the PUT body entirely; same result as @oducasse-mmio already reported.

One thing I was able to narrow down since my last post here, the specific trigger seems to be the filter type:

  • A reEnrollmentTriggersFilterBranches entry containing a FORM_SUBMISSION-type filter is dropped, every time, on both create and update.
  • A reEnrollmentTriggersFilterBranches entry containing a PROPERTY-type filter (e.g. email IS_KNOWN) persists correctly through the exact same create/update code path.

Hopefully that’ll help narrow down the bug.

@deepdetect that is valuable info !

I confirm on my end that a reEnrollmentTriggersFilterBranches entry containing a PROPERTY-type filter is preserved following a PUT API call.

To add to this, a reEnrollmentTriggersFilterBranches entry containing a IN_LIST-type filter is also cleared, the same way a FORM_SUBMISSION-type filter is cleared.

Looking forward to receiving an update on this @STierney !

Hi there @deepdetect,

Thank you for flagging this one. Our team deployed some changes on our end. Can you confirm if you are still seeing the error on your end?

Cassie, Community Manager