{
  "name": "Post daily tech news on Instagram with Gemini and SerpAPI",
  "nodes": [
    {
      "id": "29b8e15b-23c3-4fe0-bfb7-ad95c164f1d4",
      "name": "Schedule Daily Posts",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        256,
        304
      ]
    },
    {
      "id": "f9c2b264-58d0-4506-ab23-309d8b7e4fa1",
      "name": "Workflow Configuration",
      "type": "n8n-nodes-base.set",
      "position": [
        528,
        304
      ]
    },
    {
      "id": "af9dffbc-3876-4c8a-a31e-2800428f68b6",
      "name": "AI Agent - News Research & Prompt Generation",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        848,
        304
      ]
    },
    {
      "id": "a7e27267-b2d2-4502-b5fa-0074d9fb042f",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        992,
        736
      ]
    },
    {
      "id": "6fd97b73-daa6-4b90-b60f-9e76a18274ad",
      "name": "SerpAPI News Search Tool",
      "type": "@n8n/n8n-nodes-langchain.toolSerpApi",
      "position": [
        928,
        528
      ]
    },
    {
      "id": "b6a858fb-6303-4ca0-b53c-9739f285fcf1",
      "name": "Post to Instagram",
      "type": "@mookielianhd/n8n-nodes-instagram.instagram",
      "position": [
        2064,
        304
      ]
    },
    {
      "id": "f66a1bfe-8cf5-4531-8553-6d3679c47c0c",
      "name": "Generate an image",
      "type": "@n8n/n8n-nodes-langchain.googleGemini",
      "position": [
        1472,
        304
      ]
    },
    {
      "id": "2fa4d079-e5c2-4f94-8e0d-4d748d1a0e1e",
      "name": "Upload file to tmpfiles",
      "type": "n8n-nodes-tmpfiles.tmpfiles",
      "position": [
        1760,
        304
      ]
    },
    {
      "id": "ae90b7e9-dbcb-4fcd-bb3e-1df9435c914d",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        1056,
        528
      ]
    },
    {
      "id": "01e6d79c-1940-4527-b6dd-f7973918cfee",
      "name": "📖 Setup Guide",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -304,
        176
      ],
      "parameters": {
        "width": 420,
        "height": 612,
        "content": "## How it works\n\n1️⃣ **Schedule Trigger** - Runs daily at 9 AM\n2️⃣ **Configuration** - Sets news query and content preferences\n3️⃣ **AI Agent** - Searches news via SerpAPI and generates content\n4️⃣ **"
      }
    },
    {
      "id": "fbe2b3db-e03c-4a93-9f1d-237f2a9e0c7d",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        192,
        240
      ],
      "parameters": {
        "width": null,
        "height": 224,
        "content": "## Schedule/Timer"
      }
    },
    {
      "id": "bf9fd1c0-f651-4aee-9c71-fc01b4cf12c5",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        464,
        192
      ],
      "parameters": {
        "width": null,
        "height": 288,
        "content": "## Search Query & Target Audience"
      }
    },
    {
      "id": "d3bff5db-3d83-4b36-a06a-bf6cd3b4786c",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        736,
        176
      ],
      "parameters": {
        "width": 624,
        "height": 736,
        "content": "# Scrape news  and generate a prompt"
      }
    },
    {
      "id": "d53ece1a-7bd2-4a64-9891-147dc22e7f72",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1392,
        240
      ],
      "parameters": {
        "width": 272,
        "height": 240,
        "content": "## Generate post image"
      }
    },
    {
      "id": "df401480-f109-4be5-8031-737c8d074547",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1680,
        240
      ],
      "parameters": {
        "width": 272,
        "height": 240,
        "content": "## Get a temporary URL"
      }
    },
    {
      "id": "90dc2df5-1aa0-4164-b903-4d88547fbc6f",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1984,
        240
      ],
      "parameters": {
        "width": 272,
        "height": 240,
        "content": "## Final step - Publish"
      }
    }
  ],
  "connections": {
    "Generate an image": {
      "main": [
        [
          {
            "node": "Upload file to tmpfiles",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Post to Instagram": {
      "main": [
        []
      ]
    },
    "Schedule Daily Posts": {
      "main": [
        [
          {
            "node": "Workflow Configuration",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Workflow Configuration": {
      "main": [
        [
          {
            "node": "AI Agent - News Research & Prompt Generation",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload file to tmpfiles": {
      "main": [
        [
          {
            "node": "Post to Instagram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent - News Research & Prompt Generation",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "Structured Output Parser",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "SerpAPI News Search Tool": {
      "ai_tool": [
        [
          {
            "node": "AI Agent - News Research & Prompt Generation",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "AI Agent - News Research & Prompt Generation",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent - News Research & Prompt Generation": {
      "main": [
        [
          {
            "node": "Generate an image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}