{
  "name": "Wavegrain: weekly plan for a brand",
  "nodes": [
    {
      "id": "6f1c2b1e-0001-4c3a-9a10-000000000001",
      "name": "Every Monday at 09:00",
      "type": "n8n-nodes-base.scheduleTrigger",
      "typeVersion": 1.4,
      "position": [
        0,
        0
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "weeks",
              "weeksInterval": 1,
              "triggerAtDay": [
                1
              ],
              "triggerAtHour": 9,
              "triggerAtMinute": 0
            }
          ]
        }
      }
    },
    {
      "id": "6f1c2b1e-0001-4c3a-9a10-000000000002",
      "name": "Plan the week",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "typeVersion": 3.1,
      "position": [
        260,
        0
      ],
      "parameters": {
        "promptType": "define",
        "text": "Plan next week's posts for my Wavegrain brand \"YOUR BRAND NAME\": five slideshows, Monday to Friday at 10:00 Europe/Amsterdam time. Spend at most 50 credits in total.",
        "options": {
          "systemMessage": "You plan social posts in Wavegrain with the Wavegrain tools.\nFirst call list_brands to find the brand, then get_brand_brief, and follow the brief.\nCall list_calendar for next week so you do not plan over existing posts.\nBefore you spend, call estimate_cost. Pass maxCredits on every generate_slideshow call and never go over the total in the request.\nPut each new slideshow on the Calendar with schedule_slideshow. That only plans it.\nNever approve, publish or post anything. The user reviews and approves every post in Wavegrain.\nEnd with a short list: each slideshow's title, its Calendar time, and the credits spent.",
          "maxIterations": 30
        }
      }
    },
    {
      "id": "6f1c2b1e-0001-4c3a-9a10-000000000003",
      "name": "Claude",
      "type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
      "typeVersion": 1.6,
      "position": [
        140,
        220
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "id",
          "value": "claude-opus-5-5"
        },
        "options": {
          "thinkingMode": "adaptive",
          "effort": "medium"
        }
      }
    },
    {
      "id": "6f1c2b1e-0001-4c3a-9a10-000000000004",
      "name": "Wavegrain",
      "type": "@n8n/n8n-nodes-langchain.mcpClientTool",
      "typeVersion": 1.4,
      "position": [
        380,
        220
      ],
      "parameters": {
        "endpointUrl": "https://wavegrain.com/api/mcp",
        "serverTransport": "httpStreamable",
        "authentication": "bearerAuth",
        "include": "selected",
        "includeTools": [
          "list_brands",
          "get_brand_brief",
          "list_formats",
          "list_calendar",
          "list_slideshows",
          "get_slideshow",
          "get_credits",
          "estimate_cost",
          "generate_slideshow",
          "schedule_slideshow"
        ],
        "options": {
          "timeout": 120000
        }
      }
    }
  ],
  "connections": {
    "Every Monday at 09:00": {
      "main": [
        [
          {
            "node": "Plan the week",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Claude": {
      "ai_languageModel": [
        [
          {
            "node": "Plan the week",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Wavegrain": {
      "ai_tool": [
        [
          {
            "node": "Plan the week",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  },
  "pinData": {},
  "active": false
}
