{
  "name": "SocialBlaze - request observed post ranking",
  "active": false,
  "nodes": [
    {
      "parameters": {
        "content": "## Rank a chosen observed metric\nImport inactive. Choose a Bearer Auth credential with analytics:read and native analytics access. Pick dates, metric and lifetime/period_total basis. Queued is not a completed report. Preserve returned channelId/reportId pairs in reports before rerunning. Empty/partial/unavailable coverage stays visible. Unknown metrics are excluded; zero remains real. This does not prove copy caused performance. No automatic polling, messages or publication.",
        "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": "metric",
              "name": "metric",
              "value": "reactions",
              "type": "string"
            },
            {
              "id": "metricBasis",
              "name": "metricBasis",
              "value": "lifetime",
              "type": "string"
            },
            {
              "id": "reports",
              "name": "reports",
              "value": [],
              "type": "array"
            }
          ]
        },
        "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": "rank_posts",
          "mode": "id"
        },
        "inputMode": "json",
        "jsonInput": "={{ { startDate: $json.startDate, endDate: $json.endDate, metric: $json.metric, metricBasis: $json.metricBasis, first: 10, reports: $json.reports } }}",
        "options": {
          "timeout": 20000,
          "convertToBinary": false
        }
      },
      "id": "socialblaze-operation",
      "name": "SocialBlaze rank_posts",
      "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 rank_posts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1",
    "timezone": "UTC"
  },
  "pinData": {},
  "tags": []
}
