{
  "name": "Real-time ClickUp time tracking to HubSpot project sync",
  "nodes": [
    {
      "id": "05fe5ea5-681b-4be2-bfcb-95b75280339b",
      "name": "ClickUp: Get Task Details",
      "type": "n8n-nodes-base.clickUp",
      "position": [
        2000,
        1400
      ]
    },
    {
      "id": "c35c2491-51cf-45c2-bec3-45a214ac4ada",
      "name": "ClickUp: Get Time Entry Details",
      "type": "n8n-nodes-base.clickUp",
      "position": [
        2000,
        1600
      ]
    },
    {
      "id": "0e67ca2b-8071-48d4-9a01-8b063e3fe98c",
      "name": "Merge: Task & Time Data",
      "type": "n8n-nodes-base.merge",
      "position": [
        2320,
        1500
      ]
    },
    {
      "id": "ee0a97cb-d935-4f33-849f-2b3d44a849fe",
      "name": "Code: Extract Sprint & Task Data",
      "type": "n8n-nodes-base.code",
      "position": [
        2740,
        1500
      ]
    },
    {
      "id": "9951232a-969c-46c6-b314-a505e086ccdc",
      "name": "Time Tracked Update Trigger",
      "type": "n8n-nodes-base.clickUpTrigger",
      "position": [
        1700,
        1460
      ]
    },
    {
      "id": "f37f07d8-0cc2-4855-912a-6bb63ed766a5",
      "name": "OnProjectFolder",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2980,
        1500
      ]
    },
    {
      "id": "8baccf3c-becd-48aa-99bf-8d6ec104903e",
      "name": "HubSpot: Update Project Hours (actual_additional_requests_hours)",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3560,
        1360
      ]
    },
    {
      "id": "96e4f398-ad13-4a79-87d2-2e1174193db7",
      "name": "HubSpot: Update Project Hours Sprint 1-4",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3560,
        1660
      ]
    },
    {
      "id": "986eb283-e122-4e8d-a090-2ad9f17da217",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        820,
        820
      ],
      "parameters": {
        "width": 640,
        "height": 1500,
        "content": "### **Real-Time ClickUp Time Tracking to HubSpot Project Sync**\n\nThis workflow automates the synchronization of time tracked on ClickUp tasks directly to a custom project object in HubSpot, ensuring y"
      }
    },
    {
      "id": "dc3c9c3a-fe2c-4abb-9565-6378f45aeb20",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2540,
        1020
      ],
      "parameters": {
        "width": 660,
        "height": 320,
        "content": "### Explanation Box\n\nThis workflow instantly syncs ClickUp task time updates to HubSpot. It fetches task details, calculates time per sprint, finds the HubSpot project, and updates actual hours in the"
      }
    },
    {
      "id": "7ed05d2f-311a-487c-b598-d8254085512a",
      "name": "Route by Sprint Type",
      "type": "n8n-nodes-base.if",
      "position": [
        3180,
        1500
      ]
    }
  ],
  "connections": {
    "OnProjectFolder": {
      "main": [
        [
          {
            "node": "Route by Sprint Type",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Route by Sprint Type": {
      "main": [
        [
          {
            "node": "HubSpot: Update Project Hours (actual_additional_requests_hours)",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "HubSpot: Update Project Hours Sprint 1-4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge: Task & Time Data": {
      "main": [
        [
          {
            "node": "Code: Extract Sprint & Task Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ClickUp: Get Task Details": {
      "main": [
        [
          {
            "node": "Merge: Task & Time Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Time Tracked Update Trigger": {
      "main": [
        [
          {
            "node": "ClickUp: Get Task Details",
            "type": "main",
            "index": 0
          },
          {
            "node": "ClickUp: Get Time Entry Details",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ClickUp: Get Time Entry Details": {
      "main": [
        [
          {
            "node": "Merge: Task & Time Data",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Code: Extract Sprint & Task Data": {
      "main": [
        [
          {
            "node": "OnProjectFolder",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}