{
  "name": "SocialBlaze - save an event as a draft",
  "active": false,
  "nodes": [
    {
      "parameters": {
        "content": "## Save a draft, without publishing\nImport inactive. Select a Bearer Auth credential on the MCP node using a SocialBlaze key with drafts:write. The key belongs in n8n credentials, never a node field. Replace the sample event ID and copy. For an upstream trigger, retain its immutable event ID on retries. Changing text requires a new event ID. This creates an unsubmitted draft only. No Slack/email/social publishing node is included.",
        "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": "eventId",
              "name": "eventId",
              "value": "replace-with-stable-event-0001",
              "type": "string"
            },
            {
              "id": "text",
              "name": "text",
              "value": "Replace with your approved draft text.",
              "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": "create_draft",
          "mode": "id"
        },
        "inputMode": "json",
        "jsonInput": "={{ { requestKey: 'draft-' + $json.eventId, text: $json.text } }}",
        "options": {
          "timeout": 20000,
          "convertToBinary": false
        }
      },
      "id": "socialblaze-operation",
      "name": "SocialBlaze create_draft",
      "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 create_draft",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1",
    "timezone": "UTC"
  },
  "pinData": {},
  "tags": []
}
