{
  "name": "Auction File Aggregator (Google Drive \u2192 StreamPulse Secure HMAC)",
  "nodes": [
    {
      "parameters": {
        "pollTimes": {
          "item": [
            {
              "mode": "everyMinute"
            }
          ]
        },
        "folderId": {
          "__rl": true,
          "value": "your-folder-id",
          "mode": "id"
        }
      },
      "name": "Google Drive Trigger",
      "type": "n8n-nodes-base.googleDriveTrigger",
      "position": [
        -200,
        0
      ],
      "credentials": {
        "googleDriveOAuth2Api": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "operation": "download",
        "fileId": "={{ $json.id }}"
      },
      "name": "Download File",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        20,
        0
      ],
      "credentials": {
        "googleDriveOAuth2Api": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "options": {}
      },
      "name": "Parse CSV/Excel",
      "type": "n8n-nodes-base.spreadsheetFile",
      "position": [
        240,
        0
      ]
    },
    {
      "parameters": {
        "url": "https://streampulse.ysiddo-ai-projects.app/webhook/auction_aggregator/with-vision",
        "method": "POST",
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={{ JSON.stringify({records: $json.data}) }}",
        "options": {
          "headers": {
            "X-OmniIntel-Internal-Token": "REDACTED_SECRET",
            "X-Signature-256": "={{ $credentials.streampulseHmac.signature }}"
          }
        }
      },
      "name": "StreamPulse HMAC Push",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        460,
        0
      ],
      "credentials": {
        "streampulseHmac": {
          "name": "<your credential>"
        }
      }
    }
  ],
  "connections": {
    "Google Drive Trigger": {
      "main": [
        [
          {
            "node": "Download File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download File": {
      "main": [
        [
          {
            "node": "Parse CSV/Excel",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse CSV/Excel": {
      "main": [
        [
          {
            "node": "StreamPulse HMAC Push",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}