# Only First Filter in If/Then Branch from Workflow API

**URL:** <https://community.hubspot.com/t/only-first-filter-in-if-then-branch-from-workflow-api/51633>\
**Category:** Data Hub\
**Tags:** workflows\
**Created:** [February 16, 2022, 11:35am UTC](https://community.hubspot.com/t/only-first-filter-in-if-then-branch-from-workflow-api/51633 "2022-02-16T11:35:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dlapointeus](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dlapointeus/32/25270_2.png) [@dlapointeus](https://community.hubspot.com/u/dlapointeus)\
**Post date:** [February 16, 2022, 11:35am UTC](https://community.hubspot.com/t/only-first-filter-in-if-then-branch-from-workflow-api/51633/1 "2022-02-16T11:35:07Z")

</div>

Hi,

We are trying to clone a contact based workflow. As per the documentation, we are querying the existing workflow with the /automation/v3/workflows/:workflowId endpoint. The returned JSON does show the If/Then BRANCH action, however it only contains the first filter and accept action, when in fact there are several conditions in the existing workflow. I see there was a similar issue from a [previous post](https://community.hubspot.com/t5/APIs-Integrations/Contact-Workflow-API-Missing-Required-Details/m-p/327012#M31598) that says the issue was resolved…so I’m curious what we might be missing to see the full JSON representation of the If/Then branch. I do see there is a 'filtersListId" as mentioned in the post, but was unsure how/if we can view the details of that (similarly, we get a 404 when trying to use that ID in the Contacts List endpoint).

Any Direction would be greatly appreciated.

Thanks!

---

<div class="post-metadata">

**Author:** ![OJ\_ONT](https://avatars.discourse-cdn.com/v4/letter/o/a587f6/32.png) [@OJ\_ONT](https://community.hubspot.com/u/OJ_ONT)\
**Post date:** [September 9, 2026, 6:53am UTC](https://community.hubspot.com/t/only-first-filter-in-if-then-branch-from-workflow-api/51633/2 "2026-09-09T06:53:49Z")

</div>

This still seems to be a problem to this day… what is the point of the API if we can only download part of an API, or create a partial workflow.  
writes are also missing the ability to set description text…

---

<div class="post-metadata">

**Author:** ![Berangere](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/berangere/32/220784_2.png) [@Berangere](https://community.hubspot.com/u/Berangere)\
**Post date:** [September 9, 2026, 11:05am UTC](https://community.hubspot.com/t/only-first-filter-in-if-then-branch-from-workflow-api/51633/4 "2026-09-09T11:05:55Z")

</div>

Hi @OJ_ONT and all,

Thanks for posting on the HubSpot Community!

I can confirm that the `/automation/v3/workflows/:workflowId` endpoint is a legacy v3 endpoint. It has been replaced it with the [Workflows v4 API](https://developers.hubspot.com/docs/api-reference/legacy/automation/workflows/guide) (`GET /automation/v4/flows/{flowId}`), which is the current, actively supported model for reading/writing workflow definitions, including branching actions.

In the v4 model, If/Then branches are represented as `LIST_BRANCH` actions, where each `listBranches[]` entry contains its own full `filterBranch` (with nested `filters` and `filterBranches`) inline in the JSON, there’s no separate `filtersListId` reference to resolve via the Contacts List endpoint. That decoupling is likely why v3 truncates/omits full filter detail while v4 exposes the complete conditional logic directly in the response.

Regarding a `filtersListId` field, I’d recommend switching your clone workflow to `GET /automation/v4/flows/{flowId}` rather than continuing to debug v3.

Here is the documentation for it: [Workflows v4 API guide](https://developers.hubspot.com/docs/api-reference/legacy/automation/workflows/guide)[Action and enrollment reference](https://developers.hubspot.com/docs/api-reference/legacy/automation/workflows/action-enrollment-reference)

If this is not exactly what you were looking for, I’d recommend sharing your comment via the [HubSpot Developer Feedback form](https://developers.hubspot.com/feedback).

Also, I’d love to hear from our Top Experts: Hi @Anton, @nickdeckerdevs1 and @alyssamwilie do you have any insights to share, please?

Thank you and have a lovely day!

Bérangère

_This post was created with the assistance of AI tools_

---

<div class="post-metadata">

**Author:** ![OJ\_ONT](https://avatars.discourse-cdn.com/v4/letter/o/a587f6/32.png) [@OJ\_ONT](https://community.hubspot.com/u/OJ_ONT)\
**Post date:** [October 5, 2026, 11:11am UTC](https://community.hubspot.com/t/only-first-filter-in-if-then-branch-from-workflow-api/51633/6 "2026-10-05T11:11:23Z")

</div>

It was in all versions - even the latest date based APIs. . I spoke to a rep at unbound and the next week they had rolled out a fix. For me, the issue was that static branches didn’t actually expose the logic used in the branch (e.g. is equal to / not equal to etc). When creating a new workflow it would only ever default to ‘is equal to’.
