{
  "name": "Lulubanana: start a research run every Monday",
  "nodes": [
    {
      "name": "How it works",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        -40,
        -320
      ],
      "parameters": {
        "content": "## Lulubanana: a research run every Monday\n1. Create a **Header Auth** credential: Name `Authorization`, Value `Bearer lb_...` (a full-access key from Lulubanana Settings → API).\n2. Put your agent id in \"Start the run\" (GET /agents lists them).\n3. Each run costs credits at the same price as in the app; a failed run is refunded. Add the \"Research Run Completed\" event (research.completed) to get the results.",
        "width": 420,
        "height": 300
      },
      "id": "fd167074-83bf-483e-a5ed-09f4d8a7b171"
    },
    {
      "name": "Every Monday 08:00",
      "type": "n8n-nodes-base.scheduleTrigger",
      "typeVersion": 1.2,
      "position": [
        0,
        0
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "weeks",
              "weeksInterval": 1,
              "triggerAtDay": [
                1
              ],
              "triggerAtHour": 8
            }
          ]
        }
      },
      "id": "4aeae6c6-958e-4379-aa5f-214e603777f3"
    },
    {
      "name": "Start the run",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        240,
        0
      ],
      "credentials": {
        "httpHeaderAuth": {
          "id": "REPLACE_WITH_YOUR_CREDENTIAL",
          "name": "Lulubanana API key (Header Auth: Authorization = Bearer lb_...)"
        }
      },
      "parameters": {
        "method": "POST",
        "url": "https://lulubanana.com/api/v3/agents/REPLACE_WITH_AGENT_ID/run",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "{}",
        "options": {}
      },
      "id": "df9974b0-3a2c-482d-a508-968ceaf25312"
    }
  ],
  "connections": {
    "Every Monday 08:00": {
      "main": [
        [
          {
            "node": "Start the run",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  },
  "pinData": {},
  "meta": {
    "templateCredsSetupCompleted": false,
    "description": "Runs one of your research agents every Monday at 08:00 (it costs credits at the same price as in the app; a failed run is refunded).",
    "source": "https://lulubanana.com/developers/automation-zapier-make-n8n/"
  },
  "tags": [
    {
      "name": "lulubanana"
    },
    {
      "name": "research"
    },
    {
      "name": "schedule"
    }
  ]
}
