Using the HubSpot workflow API to query the definition of a contact workflow from one HubSpot portal, and replicate the workflow configuration into another HubSpot portal. Have foud that some of the workflow configuration detail is not available via the HubSpot API. Consider the fragment below - part of a "Get Workflow" response:
Notice the property filtersListId = 1195. This is an "If/Then" branch step and the "filtersListId" represents filter logic that is to be applied to determine which branch is to be followed. For example, the logic could be "IF Contact Property X=Test THEN follow accept branch".
Unfortunately there seems to be no way to retrieve, via the HubSpot API, details of what the logic of filtersListId = 1195 actually is. For example, calling the "Contact Lists API" with to retrieve the list with id 1195 returns a 404 not found error.
Has anyone successfully retrieved this detail via the HubSpot API?
Okt 10, 20231:10 AM - bearbeitet Okt 10, 20231:11 AM
Teilnehmer/-in
Contact Workflow API: Missing Required Details?
lösung
Not to throw a wrench in the works @IsaacTakushi (and obviously it's 3-and-a-half years later), but when querying a workflow with multiple branches, only the first branch data is being returned….
I'm seeing this behavior as well. (If I recall correctly, the v2 Workflows API previously displayed all filter conditions.)
Can you confirm the first four digits of the Hub ID you are querying and share the request URL (without any authentication details) so that I can share another example with my team?
Thanks, however I'm having trouble locating that workflow. Could you direct message me a link to it?
I'll be bringing this up to the team to get insight into whether anything changed and what can be done to surface this information for integrators like you.
Brilliant, yes I can see those filters again now & so can successfully clone the workflow if/then branches between portals. Thanks for the assistance @IsaacTakushi.