{
  "name": "Post images and text from Google Drive and Sheets to LinkedIn",
  "nodes": [
    {
      "id": "b556ae70-c630-481c-8860-ce8252d401be",
      "name": "Sticky Note - Trigger",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1620,
        60
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "1c32ac1a-df82-4e3b-82f3-52e599822849",
      "name": "Find Next Post3",
      "type": "n8n-nodes-base.function",
      "position": [
        -940,
        180
      ]
    },
    {
      "id": "7e96fb64-540b-48a9-8917-304eccccf9aa",
      "name": "Sticky Note - Data",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1180,
        -120
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "de6a9983-b573-4069-8b38-b8e3544f2ed4",
      "name": "Sticky Note - Selection",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -960,
        320
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "94af62f3-aafd-4f37-8e50-e7fb0ac10e9e",
      "name": "Sticky Note - Check",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -700,
        -60
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "a22401ae-2ac8-42c6-8a79-c836abfbc112",
      "name": "Sticky Note - Approval",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -260,
        -140
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "c15d7c52-6cd2-4253-85d0-175510b9e796",
      "name": "Sticky Note - Publish",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        620,
        -300
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "3678d8b7-5bc8-4641-a48c-8065acac8f50",
      "name": "Sticky Note - Decline",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        420,
        320
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "7b0560a9-8d63-4f3c-aaa2-869b6869cd62",
      "name": "HTTP Request",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        380,
        -20
      ]
    },
    {
      "id": "035ae938-2d1a-4982-b1bf-89b967380c00",
      "name": "Telegram Approval",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -60,
        80
      ]
    },
    {
      "id": "45370005-a95f-4f79-a91e-dc75a0342d6b",
      "name": "Send Photo",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -280,
        80
      ]
    },
    {
      "id": "86250cf4-7219-40b1-bba3-5c8d815c75ba",
      "name": "Check Approval",
      "type": "n8n-nodes-base.if",
      "position": [
        160,
        80
      ]
    },
    {
      "id": "e66fec78-f9b3-472e-aa93-caa7507b3c7e",
      "name": "Update Sheet - Declined",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        600,
        180
      ]
    },
    {
      "id": "fa1ce27f-90a0-4c70-888e-92365177eb8b",
      "name": "Code",
      "type": "n8n-nodes-base.code",
      "position": [
        820,
        -20
      ]
    },
    {
      "id": "571d133b-bdd8-40d5-b831-e0282f393965",
      "name": "Code1",
      "type": "n8n-nodes-base.code",
      "position": [
        380,
        180
      ]
    },
    {
      "id": "482024c8-6875-46ff-86bc-c7934b636fc3",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -1380,
        80
      ]
    },
    {
      "id": "c38ccb34-376e-46ce-901c-a759bb8db21c",
      "name": "Google Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -1160,
        180
      ]
    },
    {
      "id": "9552ab06-e0c1-472f-a9d9-c4989db52e63",
      "name": "Telegram No Posts",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -500,
        280
      ]
    },
    {
      "id": "bd519555-2bfc-497f-a399-b986731b4c08",
      "name": "Check If Post Available",
      "type": "n8n-nodes-base.if",
      "position": [
        -720,
        180
      ]
    },
    {
      "id": "1fd93148-4d19-4e9b-b8bc-7579558ff699",
      "name": "HTTP Request1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -500,
        80
      ]
    },
    {
      "id": "2aef1d2c-e35d-4d6f-87e4-5def5ba066a8",
      "name": "LinkedIn",
      "type": "n8n-nodes-base.linkedIn",
      "position": [
        600,
        -20
      ]
    },
    {
      "id": "98bc108b-e8bf-4017-8058-ae4ad9921934",
      "name": "Update Sheet - Posted",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1040,
        -20
      ]
    },
    {
      "id": "96578ca7-81ab-4064-9a6f-2857fa101acd",
      "name": "Telegram Success",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1260,
        -20
      ]
    },
    {
      "id": "c2f346c7-b586-49eb-878c-225dc064a37a",
      "name": "Telegram Decline",
      "type": "n8n-nodes-base.telegram",
      "position": [
        820,
        180
      ]
    },
    {
      "id": "740a57e2-45dc-40a6-b745-1104c34194d5",
      "name": "Telegram Trigger",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -1380,
        280
      ]
    }
  ],
  "connections": {
    "Code": {
      "main": [
        [
          {
            "node": "Update Sheet - Posted",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code1": {
      "main": [
        [
          {
            "node": "Update Sheet - Declined",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "LinkedIn": {
      "main": [
        [
          {
            "node": "Code",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Photo": {
      "main": [
        [
          {
            "node": "Telegram Approval",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HTTP Request": {
      "main": [
        [
          {
            "node": "LinkedIn",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Sheets": {
      "main": [
        [
          {
            "node": "Find Next Post3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HTTP Request1": {
      "main": [
        [
          {
            "node": "Send Photo",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check Approval": {
      "main": [
        [
          {
            "node": "HTTP Request",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Code1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Find Next Post3": {
      "main": [
        [
          {
            "node": "Check If Post Available",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Google Sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Trigger": {
      "main": [
        [
          {
            "node": "Google Sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Approval": {
      "main": [
        [
          {
            "node": "Check Approval",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update Sheet - Posted": {
      "main": [
        [
          {
            "node": "Telegram Success",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check If Post Available": {
      "main": [
        [
          {
            "node": "HTTP Request1",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Telegram No Posts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update Sheet - Declined": {
      "main": [
        [
          {
            "node": "Telegram Decline",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}