{
  "name": "rawroute: Batch Content Studio",
  "nodes": [
    {
      "parameters": {},
      "id": "b2c3d4e5-0002-4000-8000-000000000001",
      "name": "Manual Trigger",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        200,
        300
      ]
    },
    {
      "parameters": {
        "assignments": {
          "assignments": [
            {
              "id": "brief-topic",
              "name": "topic",
              "value": "Monochrome mechanical keyboard with a single #FF2E88 escape keycap",
              "type": "string"
            },
            {
              "id": "brief-audience",
              "name": "audience",
              "value": "Systems engineers and API developers",
              "type": "string"
            }
          ]
        },
        "options": {}
      },
      "id": "b2c3d4e5-0002-4000-8000-000000000002",
      "name": "Content Brief",
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.4,
      "position": [
        420,
        300
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "={{ 'https://api.rawroute.dev' + '/v1/chat/completions' }}",
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={{ JSON.stringify({ model: 'gpt-6.2-sol', temperature: 0.6, messages: [{ role: 'system', content: 'Write crisp, zero-fluff developer product copy as JSON with keys: headline, summary, bullets.' }, { role: 'user', content: 'Topic: ' + $json.topic + '\\nAudience: ' + $json.audience }], response_format: { type: 'json_object' } }) }}",
        "options": {
          "timeout": 60000
        },
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth"
      },
      "id": "b2c3d4e5-0002-4000-8000-000000000003",
      "name": "GPT-6.2 Sol Copywriting",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        680,
        180
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "={{ 'https://api.rawroute.dev' + '/v1/images/generations' }}",
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={{ JSON.stringify({ model: 'gpt-image-2.6-flare', prompt: $json.topic + ', minimalist studio photography on pure black background, sharp hairline highlights', n: 1, size: '1024x1024' }) }}",
        "options": {
          "timeout": 120000
        },
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth"
      },
      "id": "b2c3d4e5-0002-4000-8000-000000000004",
      "name": "GPT Image 2.6 Flare Visual",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        680,
        420
      ]
    },
    {
      "parameters": {
        "mode": "combine",
        "combineBy": "combineByPosition",
        "options": {}
      },
      "id": "b2c3d4e5-0002-4000-8000-000000000005",
      "name": "Merge Output",
      "type": "n8n-nodes-base.merge",
      "typeVersion": 3,
      "position": [
        940,
        300
      ]
    }
  ],
  "connections": {
    "Manual Trigger": {
      "main": [
        [
          {
            "node": "Content Brief",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Content Brief": {
      "main": [
        [
          {
            "node": "GPT-6.2 Sol Copywriting",
            "type": "main",
            "index": 0
          },
          {
            "node": "GPT Image 2.6 Flare Visual",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "GPT-6.2 Sol Copywriting": {
      "main": [
        [
          {
            "node": "Merge Output",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "GPT Image 2.6 Flare Visual": {
      "main": [
        [
          {
            "node": "Merge Output",
            "type": "main",
            "index": 1
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1",
    "executionTimeout": 900
  },
  "meta": {}
}
