{
  "name": "Freelancer Auto-Bid Bot — AI Proposals with Telegram Approval",
  "nodes": [
    {
      "id": "22475581-4fe3-43b1-be5a-a50814a4498e",
      "name": "create a bid",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2076,
        740
      ]
    },
    {
      "id": "52f10d69-9718-4dd8-b7d9-afea23edae29",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        -500,
        1190
      ]
    },
    {
      "id": "9fcaf2a0-4b32-477b-8553-92c359bf121b",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1700,
        640
      ]
    },
    {
      "id": "83b2fd91-da82-4ab4-916f-8c5852b30d68",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1788,
        860
      ]
    },
    {
      "id": "5d94b88a-16e0-4d94-aebb-45e5d020eb7b",
      "name": "ExtractDate",
      "type": "n8n-nodes-base.set",
      "position": [
        -280,
        1190
      ]
    },
    {
      "id": "36523231-3d88-49af-9788-42d07443db23",
      "name": "SetInputs",
      "type": "n8n-nodes-base.set",
      "position": [
        -1160,
        1190
      ]
    },
    {
      "id": "ea363838-4496-4d42-9c37-0b09a59f9326",
      "name": "If1",
      "type": "n8n-nodes-base.if",
      "position": [
        1480,
        890
      ]
    },
    {
      "id": "f7a313d2-0d44-4657-97c9-f33a85211131",
      "name": "Send Succuss",
      "type": "n8n-nodes-base.telegram",
      "position": [
        2296,
        965
      ]
    },
    {
      "id": "6bd163b8-a7df-4e7d-b971-5232828b6616",
      "name": "Search",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -940,
        1190
      ]
    },
    {
      "id": "f125cff0-4253-480f-a21f-f63f34181cf5",
      "name": "GetProjects",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        -720,
        1190
      ]
    },
    {
      "id": "2528b65f-1a78-4337-a98a-c2a15d5c36c0",
      "name": "Loop Over Items",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -60,
        1190
      ]
    },
    {
      "id": "5ee5cce6-22ab-42fe-b562-8722c56ffbe6",
      "name": "checkBidding",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        160,
        890
      ]
    },
    {
      "id": "ec2743dd-479b-4ab3-bce7-0c91917d07d2",
      "name": "Split Out",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        380,
        890
      ]
    },
    {
      "id": "20de4c07-3cda-4e41-829c-9f40dc3cbbe4",
      "name": "Edit Fields",
      "type": "n8n-nodes-base.set",
      "position": [
        600,
        890
      ]
    },
    {
      "id": "c8c37f4c-1d0d-4dd2-8a2a-e7274e7d2f0e",
      "name": "Aggregate",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        820,
        890
      ]
    },
    {
      "id": "f832b603-8779-4dcb-bed6-c96085bae2d8",
      "name": "If2",
      "type": "n8n-nodes-base.if",
      "position": [
        1040,
        890
      ]
    },
    {
      "id": "ce85a323-6bb0-49de-9006-1b409b68dfa7",
      "name": "GetApproval",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1260,
        890
      ]
    },
    {
      "id": "63cbff98-f6cf-4d2e-a62e-e28aa64686ac",
      "name": "Canceled ",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1778,
        1040
      ]
    },
    {
      "id": "0c987b01-79d6-4654-b960-e87e0ec43bbb",
      "name": "When Executed by Another Workflow",
      "type": "n8n-nodes-base.executeWorkflowTrigger",
      "position": [
        -1440,
        1200
      ]
    },
    {
      "id": "5dddbdd9-6169-4a99-a8df-279ce1ab6072",
      "name": "AlreadyBid",
      "type": "n8n-nodes-base.set",
      "position": [
        1260,
        660
      ]
    },
    {
      "id": "4d688cbd-3d60-4d20-879f-89be0f0d9d0d",
      "name": "When clicking ‘Execute workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        400,
        1520
      ]
    },
    {
      "id": "986124f2-57c6-4a59-8c53-1890a1b9cab3",
      "name": "Execute Workflow",
      "type": "n8n-nodes-base.executeWorkflow",
      "position": [
        1060,
        1620
      ]
    },
    {
      "id": "3be9a027-bbf5-4b85-8083-4334faf5c5b2",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        400,
        1720
      ]
    },
    {
      "id": "1742dee9-6a8d-449d-bfa5-45d9af413dcd",
      "name": "Edit Fields1",
      "type": "n8n-nodes-base.set",
      "position": [
        620,
        1620
      ]
    },
    {
      "id": "44b0525d-0b72-401d-a07d-710d1e39beb6",
      "name": "Split Out1",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        840,
        1620
      ]
    },
    {
      "id": "1b8d45ea-6971-4a45-b926-ce1fa48da402",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1480,
        -180
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    }
  ],
  "connections": {
    "If": {
      "main": [
        [
          {
            "node": "ExtractDate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If1": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Canceled ",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If2": {
      "main": [
        [
          {
            "node": "AlreadyBid",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "GetApproval",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Search": {
      "main": [
        [
          {
            "node": "GetProjects",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent": {
      "main": [
        [
          {
            "node": "create a bid",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate": {
      "main": [
        [
          {
            "node": "If2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Canceled ": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "SetInputs": {
      "main": [
        [
          {
            "node": "Search",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out": {
      "main": [
        [
          {
            "node": "Edit Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out1": {
      "main": [
        [
          {
            "node": "Execute Workflow",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields": {
      "main": [
        [
          {
            "node": "Aggregate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ExtractDate": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "GetApproval": {
      "main": [
        [
          {
            "node": "If1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "GetProjects": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields1": {
      "main": [
        [
          {
            "node": "Split Out1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Succuss": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "checkBidding": {
      "main": [
        [
          {
            "node": "Split Out",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "create a bid": {
      "main": [
        [
          {
            "node": "Send Succuss",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [],
        [
          {
            "node": "checkBidding",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Edit Fields1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "When Executed by Another Workflow": {
      "main": [
        [
          {
            "node": "SetInputs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Execute workflow’": {
      "main": [
        [
          {
            "node": "Edit Fields1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}