{
  "name": "Weekly HubSpot lead report to Slack",
  "nodes": [
    {
      "id": "99d822b5-2f86-4dee-94f2-8e0948a8d93e",
      "name": "Get all contacts",
      "type": "n8n-nodes-base.hubspot",
      "position": [
        656,
        192
      ]
    },
    {
      "id": "bad7066e-ec34-495d-a83a-ab88afef0b98",
      "name": "Filter leads added last week",
      "type": "n8n-nodes-base.filter",
      "position": [
        880,
        192
      ]
    },
    {
      "id": "ec02e91b-4f2e-4112-8a4f-0c6e3f8d43f4",
      "name": "Count leads",
      "type": "n8n-nodes-base.summarize",
      "position": [
        1104,
        192
      ]
    },
    {
      "id": "b3763fb5-90aa-44f4-80e0-cdb4e068bf13",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -208,
        16
      ],
      "parameters": {
        "width": 512,
        "height": 528,
        "content": "## Weekly HubSpot “New Leads” → Slack\n\n### How it works\n1. **Schedule** runs weekly.\n2. **HubSpot (contacts):** fetch all contacts.\n3. **Filter:** `hs_v2_date_entered_lead` within last 7 days.\n4. **Co"
      }
    },
    {
      "id": "f4572a98-acc0-4ca8-b777-e8632ab28729",
      "name": "Send report to a Slack channel",
      "type": "n8n-nodes-base.slack",
      "position": [
        1312,
        192
      ]
    },
    {
      "id": "b3f3fe78-6d15-43b7-a633-33d58a30ca16",
      "name": "Schedule the report",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        432,
        192
      ]
    },
    {
      "id": "ca6981d1-1741-4adc-a4d7-302375a0692c",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        624,
        432
      ],
      "parameters": {
        "width": 656,
        "height": 240,
        "content": "You can use this for deals too"
      }
    },
    {
      "id": "fee5c81d-5b90-4725-82da-c6130dbb3863",
      "name": "Get all deals",
      "type": "n8n-nodes-base.hubspot",
      "position": [
        656,
        496
      ]
    },
    {
      "id": "91303c21-d105-4b2d-afe2-682e13091100",
      "name": "Filter won deals last week",
      "type": "n8n-nodes-base.filter",
      "position": [
        880,
        496
      ]
    },
    {
      "id": "6df7a16f-a3ae-4428-b900-2604f142d252",
      "name": "Sum deal value",
      "type": "n8n-nodes-base.summarize",
      "position": [
        1104,
        496
      ]
    },
    {
      "id": "fb9890a6-e524-44dd-84c5-ae25815df9e6",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        384,
        144
      ],
      "parameters": {
        "width": 1120,
        "height": 224,
        "content": ""
      }
    }
  ],
  "connections": {
    "Count leads": {
      "main": [
        [
          {
            "node": "Send report to a Slack channel",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get all deals": {
      "main": [
        [
          {
            "node": "Filter won deals last week",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get all contacts": {
      "main": [
        [
          {
            "node": "Filter leads added last week",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule the report": {
      "main": [
        [
          {
            "node": "Get all contacts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter won deals last week": {
      "main": [
        [
          {
            "node": "Sum deal value",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter leads added last week": {
      "main": [
        [
          {
            "node": "Count leads",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}