{
  "name": "Sync HubSpot to Google Sheets",
  "flow": [
    {
      "id": 1,
      "module": "hubspot:searchDeals",
      "metadata": {
        "designer": {
          "x": 0,
          "y": 0
        }
      },
      "parameters": {},
      "description": "Deals updated in the last 24 hours (all properties)."
    },
    {
      "id": 2,
      "module": "iterator:loopDeals",
      "metadata": {
        "designer": {
          "x": 300,
          "y": 0
        }
      },
      "parameters": {},
      "description": "Loop each deal."
    },
    {
      "id": 3,
      "module": "google-sheets:upsertRow",
      "metadata": {
        "designer": {
          "x": 600,
          "y": 0
        }
      },
      "parameters": {},
      "description": "Search Live Pipeline by deal ID, then update or add the row."
    },
    {
      "id": 4,
      "module": "on-error:alertOnFailure",
      "metadata": {
        "designer": {
          "x": 900,
          "y": 0
        }
      },
      "parameters": {},
      "description": "Post the failure to #ops-alerts so a silent gap never goes unnoticed.",
      "spion_notes": "Added by Spion: a stale sheet that looks fresh is the dangerous failure."
    }
  ],
  "metadata": {
    "version": 1,
    "generated_by": "Spion",
    "generated_at": "2026-06-14T14:13:03.649Z",
    "description": "On a daily schedule, pull recently-updated HubSpot deals and upsert them into a live Sheet with zero touches."
  }
}