{
 "results": [
  {
   "id": "1001",
   "name": "MQL handoff",
   "description": "Sets lead status to New when a contact becomes an MQL",
   "isEnabled": true,
   "flowType": "WORKFLOW",
   "type": "CONTACT_FLOW",
   "objectTypeId": "0-1",
   "createdAt": "2025-04-02T10:15:00Z",
   "updatedAt": "2026-08-20T09:00:00Z",
   "startActionId": "1",
   "enrollmentCriteria": {
    "type": "LIST_BASED",
    "shouldReEnroll": true,
    "listFilterBranch": {
     "filterBranchType": "OR",
     "filterBranches": [
      {
       "filterBranchType": "AND",
       "filters": [
        {
         "filterType": "PROPERTY",
         "property": "lifecyclestage",
         "operation": {"operationType": "ENUMERATION", "operator": "IS_ANY_OF", "values": ["marketingqualifiedlead"]}
        }
       ]
      }
     ]
    },
    "reEnrollmentTriggersFilterBranches": [
     {
      "filterBranchType": "OR",
      "filterBranches": [
       {
        "filterBranchType": "AND",
        "filters": [
         {
          "filterType": "PROPERTY",
          "property": "lifecyclestage",
          "operation": {"operationType": "ENUMERATION", "operator": "IS_ANY_OF", "values": ["marketingqualifiedlead"]}
         }
        ]
       }
      ]
     }
    ]
   },
   "actions": [
    {
     "type": "SINGLE_CONNECTION",
     "actionId": "1",
     "actionTypeId": "0-5",
     "actionTypeVersion": 0,
     "fields": {"property_name": "hs_lead_status", "value": {"type": "STATIC_VALUE", "staticValue": "NEW"}}
    }
   ]
  },
  {
   "id": "1002",
   "name": "Sales accepted",
   "description": "Sets lead status to In progress when sales accepts",
   "isEnabled": true,
   "flowType": "WORKFLOW",
   "type": "CONTACT_FLOW",
   "objectTypeId": "0-1",
   "createdAt": "2025-04-02T10:20:00Z",
   "updatedAt": "2026-09-11T14:00:00Z",
   "startActionId": "1",
   "enrollmentCriteria": {
    "type": "LIST_BASED",
    "shouldReEnroll": false,
    "listFilterBranch": {
     "filterBranchType": "OR",
     "filterBranches": [
      {
       "filterBranchType": "AND",
       "filters": [
        {
         "filterType": "PROPERTY",
         "property": "lifecyclestage",
         "operation": {"operationType": "ENUMERATION", "operator": "IS_ANY_OF", "values": ["marketingqualifiedlead", "salesqualifiedlead"]}
        }
       ]
      }
     ]
    }
   },
   "actions": [
    {
     "type": "SINGLE_CONNECTION",
     "actionId": "1",
     "actionTypeId": "0-5",
     "actionTypeVersion": 0,
     "fields": {"property_name": "hs_lead_status", "value": {"type": "STATIC_VALUE", "staticValue": "IN_PROGRESS"}}
    }
   ]
  },
  {
   "id": "1003",
   "name": "Inbound rotation",
   "description": "Enriches new leads, then rotates them to the inbound team",
   "isEnabled": true,
   "flowType": "WORKFLOW",
   "type": "CONTACT_FLOW",
   "objectTypeId": "0-1",
   "createdAt": "2025-01-15T08:00:00Z",
   "updatedAt": "2026-10-02T11:30:00Z",
   "startActionId": "1",
   "enrollmentCriteria": {
    "type": "LIST_BASED",
    "shouldReEnroll": false,
    "listFilterBranch": {
     "filterBranchType": "OR",
     "filterBranches": [
      {
       "filterBranchType": "AND",
       "filters": [
        {
         "filterType": "PROPERTY",
         "property": "lifecyclestage",
         "operation": {"operationType": "ENUMERATION", "operator": "IS_ANY_OF", "values": ["lead", "marketingqualifiedlead"]}
        },
        {
         "filterType": "PROPERTY",
         "property": "country",
         "operation": {"operationType": "ALL_PROPERTY", "operator": "IS_KNOWN"}
        }
       ]
      }
     ]
    }
   },
   "actions": [
    {
     "type": "SINGLE_CONNECTION",
     "actionId": "1",
     "actionTypeId": "0-201091202",
     "actionTypeVersion": 0,
     "fields": {}
    },
    {
     "type": "SINGLE_CONNECTION",
     "actionId": "2",
     "actionTypeId": "0-11",
     "actionTypeVersion": 0,
     "fields": {"user_ids": ["owner-11", "owner-12", "owner-13", "owner-14"], "target_property": "hubspot_owner_id", "overwrite_current_owner": true}
    }
   ]
  },
  {
   "id": "1004",
   "name": "APAC routing",
   "description": "Sends APAC leads to the APAC queue",
   "isEnabled": true,
   "flowType": "WORKFLOW",
   "type": "CONTACT_FLOW",
   "objectTypeId": "0-1",
   "createdAt": "2025-06-01T08:00:00Z",
   "updatedAt": "2025-06-01T08:00:00Z",
   "startActionId": "1",
   "enrollmentCriteria": {
    "type": "LIST_BASED",
    "shouldReEnroll": false,
    "listFilterBranch": {
     "filterBranchType": "OR",
     "filterBranches": [
      {
       "filterBranchType": "AND",
       "filters": [
        {
         "filterType": "PROPERTY",
         "property": "region",
         "operation": {"operationType": "ENUMERATION", "operator": "IS_ANY_OF", "values": ["apac"]}
        }
       ]
      }
     ]
    }
   },
   "actions": [
    {
     "type": "SINGLE_CONNECTION",
     "actionId": "1",
     "actionTypeId": "0-5",
     "actionTypeVersion": 0,
     "fields": {"property_name": "routing_queue", "value": {"type": "STATIC_VALUE", "staticValue": "apac"}}
    }
   ]
  },
  {
   "id": "1005",
   "name": "Bounce cleanup",
   "description": "Deletes contacts that hard bounced",
   "isEnabled": true,
   "flowType": "WORKFLOW",
   "type": "CONTACT_FLOW",
   "objectTypeId": "0-1",
   "createdAt": "2024-11-20T08:00:00Z",
   "updatedAt": "2026-03-04T16:00:00Z",
   "startActionId": "1",
   "enrollmentCriteria": {
    "type": "LIST_BASED",
    "shouldReEnroll": false,
    "listFilterBranch": {
     "filterBranchType": "OR",
     "filterBranches": [
      {
       "filterBranchType": "AND",
       "filters": [
        {
         "filterType": "PROPERTY",
         "property": "hs_email_hard_bounce_reason_enum",
         "operation": {"operationType": "ENUMERATION", "operator": "IS_ANY_OF", "values": ["UNKNOWN_USER", "OTHER"]}
        }
       ]
      }
     ]
    }
   },
   "actions": [
    {
     "type": "SINGLE_CONNECTION",
     "actionId": "1",
     "actionTypeId": "0-18224765",
     "actionTypeVersion": 0,
     "fields": {}
    }
   ]
  },
  {
   "id": "1006",
   "name": "Score refresh",
   "description": "Sets the lead score band from the HubSpot score",
   "isEnabled": true,
   "flowType": "WORKFLOW",
   "type": "CONTACT_FLOW",
   "objectTypeId": "0-1",
   "createdAt": "2025-03-10T08:00:00Z",
   "updatedAt": "2026-07-01T10:00:00Z",
   "startActionId": "1",
   "enrollmentCriteria": {
    "type": "LIST_BASED",
    "shouldReEnroll": true,
    "listFilterBranch": {
     "filterBranchType": "OR",
     "filterBranches": [
      {
       "filterBranchType": "AND",
       "filters": [
        {
         "filterType": "PROPERTY",
         "property": "hubspotscore",
         "operation": {"operationType": "NUMBER", "operator": "IS_GREATER_THAN", "value": 0}
        }
       ]
      }
     ]
    },
    "reEnrollmentTriggersFilterBranches": [
     {
      "filterBranchType": "OR",
      "filterBranches": [
       {
        "filterBranchType": "AND",
        "filters": [
         {
          "filterType": "PROPERTY",
          "property": "lead_score_band",
          "operation": {"operationType": "ENUMERATION", "operator": "HAS_EVER_BEEN_ANY_OF"}
         }
        ]
       }
      ]
     }
    ]
   },
   "actions": [
    {
     "type": "LIST_BRANCH",
     "actionId": "1",
     "listBranches": [
      {
       "filterBranch": {
        "filterBranchType": "OR",
        "filterBranches": [
         {
          "filterBranchType": "AND",
          "filters": [
           {
            "filterType": "PROPERTY",
            "property": "hubspotscore",
            "operation": {"operationType": "NUMBER", "operator": "IS_GREATER_THAN_OR_EQUAL_TO", "value": 70}
           }
          ]
         }
        ]
       },
       "connection": {"edgeType": "STANDARD", "nextActionId": "2"}
      }
     ],
     "defaultBranch": {"edgeType": "STANDARD", "nextActionId": "3"}
    },
    {
     "type": "SINGLE_CONNECTION",
     "actionId": "2",
     "actionTypeId": "0-5",
     "actionTypeVersion": 0,
     "fields": {"property_name": "lead_score_band", "value": {"type": "STATIC_VALUE", "staticValue": "A"}}
    },
    {
     "type": "SINGLE_CONNECTION",
     "actionId": "3",
     "actionTypeId": "0-5",
     "actionTypeVersion": 0,
     "fields": {"property_name": "lead_score_band", "value": {"type": "STATIC_VALUE", "staticValue": "B"}}
    }
   ]
  },
  {
   "id": "1007",
   "name": "Webinar follow-up (2024)",
   "description": "Follow-up email after the 2024 webinar series",
   "isEnabled": false,
   "flowType": "WORKFLOW",
   "type": "CONTACT_FLOW",
   "objectTypeId": "0-1",
   "createdAt": "2024-02-01T08:00:00Z",
   "updatedAt": "2025-12-01T08:00:00Z",
   "startActionId": "1",
   "enrollmentCriteria": {
    "type": "LIST_BASED",
    "shouldReEnroll": false,
    "listFilterBranch": {
     "filterBranchType": "OR",
     "filterBranches": [
      {
       "filterBranchType": "AND",
       "filters": [
        {
         "filterType": "PROPERTY",
         "property": "webinar_attended_2023",
         "operation": {"operationType": "BOOL", "operator": "IS_EQUAL_TO", "value": true}
        }
       ]
      }
     ]
    }
   },
   "actions": [
    {
     "type": "SINGLE_CONNECTION",
     "actionId": "1",
     "actionTypeId": "0-4",
     "actionTypeVersion": 0,
     "fields": {"content_id": "email-01"}
    }
   ]
  },
  {
   "id": "1008",
   "name": "MQL promotion",
   "description": "",
   "isEnabled": true,
   "flowType": "WORKFLOW",
   "type": "CONTACT_FLOW",
   "objectTypeId": "0-1",
   "createdAt": "2025-03-10T09:00:00Z",
   "updatedAt": "2026-07-01T10:05:00Z",
   "startActionId": "1",
   "enrollmentCriteria": {
    "type": "LIST_BASED",
    "shouldReEnroll": false,
    "listFilterBranch": {
     "filterBranchType": "OR",
     "filterBranches": [
      {
       "filterBranchType": "AND",
       "filters": [
        {
         "filterType": "PROPERTY",
         "property": "lead_score_band",
         "operation": {"operationType": "ENUMERATION", "operator": "IS_ANY_OF", "values": ["A"]}
        }
       ]
      }
     ]
    }
   },
   "actions": [
    {
     "type": "SINGLE_CONNECTION",
     "actionId": "1",
     "actionTypeId": "0-5",
     "actionTypeVersion": 0,
     "fields": {
      "property_name": "lifecyclestage",
      "value": {"type": "STATIC_VALUE", "staticValue": "marketingqualifiedlead"}
     }
    }
   ]
  }
 ]
}
