{
  "name": "AI-Powered Content Generation",
  "nodes": [
    {
      "parameters": {},
      "id": "546b6ad1-a2fe-467a-955a-a063a39fedb8",
      "name": "Start",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        260,
        300
      ]
    },
    {
      "parameters": {
        "assignments": {
          "assignments": [
            {
              "id": "abdafd43-a7e0-4ed7-a57c-6c807768d4e3",
              "name": "topic",
              "value": "n8n automation for agencies",
              "type": "string"
            },
            {
              "id": "69843996-5fe7-4e01-b435-195a0ee946d4",
              "name": "tone",
              "value": "practical, no-hype",
              "type": "string"
            }
          ]
        }
      },
      "id": "9358c69c-9980-40d6-9081-dd14cd74c5f5",
      "name": "Topic + Brand Voice",
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.4,
      "position": [
        560,
        300
      ]
    },
    {
      "parameters": {
        "resource": "text",
        "operation": "message"
      },
      "id": "a5d5a861-305d-4594-b5d6-49fa4e7ea3dd",
      "name": "Generate Draft",
      "type": "n8n-nodes-base.openAi",
      "typeVersion": 1.8,
      "position": [
        860,
        300
      ],
      "notes": "Assign OpenAI credentials."
    },
    {
      "parameters": {
        "select": "channel",
        "text": "=Draft ready for review: {{ $json.topic }}"
      },
      "id": "a536e61e-3fad-468b-806c-eb755c21bd56",
      "name": "Human Review Gate",
      "type": "n8n-nodes-base.slack",
      "typeVersion": 2.3,
      "position": [
        1160,
        300
      ],
      "notes": "Swap for a Wait node + approval if you want a hard gate."
    },
    {
      "parameters": {
        "operation": "update"
      },
      "id": "7189523f-0672-4920-8a77-32abfc4b4f37",
      "name": "Save to Docs",
      "type": "n8n-nodes-base.googleDocs",
      "typeVersion": 2,
      "position": [
        260,
        520
      ],
      "notes": "Assign Google Docs credentials."
    }
  ],
  "connections": {
    "Start": {
      "main": [
        [
          {
            "node": "Topic + Brand Voice",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Topic + Brand Voice": {
      "main": [
        [
          {
            "node": "Generate Draft",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Draft": {
      "main": [
        [
          {
            "node": "Human Review Gate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Human Review Gate": {
      "main": [
        [
          {
            "node": "Save to Docs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "pinData": {}
}
