{
  "name": "SocialBlaze - count retained local publishing records",
  "active": false,
  "nodes": [
    {
      "parameters": {
        "content": "## Count local creation-date records\nImport inactive. Choose dates/timezone and select an n8n Bearer Auth credential with posts:read. Results count retained local automatic post records by original creation date; each destination/thread entry counts separately. This is not exact submission-date or delivery-date history. Keep basis, countUnit and note with any summary. No messages are sent.",
        "height": 240,
        "width": 680
      },
      "id": "setup-notes",
      "name": "Read before running",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        180,
        -290
      ]
    },
    {
      "parameters": {},
      "id": "manual-start",
      "name": "Run manually",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        0,
        0
      ]
    },
    {
      "parameters": {
        "assignments": {
          "assignments": [
            {
              "id": "startDate",
              "name": "startDate",
              "value": "2026-09-01",
              "type": "string"
            },
            {
              "id": "endDate",
              "name": "endDate",
              "value": "2026-09-30",
              "type": "string"
            },
            {
              "id": "timezone",
              "name": "timezone",
              "value": "UTC",
              "type": "string"
            }
          ]
        },
        "options": {}
      },
      "id": "workflow-inputs",
      "name": "Edit workflow inputs",
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.4,
      "position": [
        260,
        0
      ]
    },
    {
      "parameters": {
        "authentication": "bearerAuth",
        "serverTransport": "httpStreamable",
        "endpointUrl": "https://backend.socialblaze.ai/api/developer/mcp",
        "tool": {
          "__rl": true,
          "value": "get_publishing_activity",
          "mode": "id"
        },
        "inputMode": "json",
        "jsonInput": "={{ { startDate: $json.startDate, endDate: $json.endDate, timezone: $json.timezone } }}",
        "options": {
          "timeout": 20000,
          "convertToBinary": false
        }
      },
      "id": "socialblaze-operation",
      "name": "SocialBlaze get_publishing_activity",
      "type": "@n8n/n8n-nodes-langchain.mcpClient",
      "typeVersion": 1.1,
      "position": [
        520,
        0
      ]
    }
  ],
  "connections": {
    "Run manually": {
      "main": [
        [
          {
            "node": "Edit workflow inputs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit workflow inputs": {
      "main": [
        [
          {
            "node": "SocialBlaze get_publishing_activity",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1",
    "timezone": "UTC"
  },
  "pinData": {},
  "tags": []
}
