{
  "name": "Auto-Generate & Approve Social Media Posts from RSS Feeds with OpenAI & Telegram",
  "nodes": [
    {
      "id": "0619e957-99be-4c97-ac18-1e434a889c5c",
      "name": "Article Summary",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        600,
        -160
      ]
    },
    {
      "id": "bb237333-9adf-488e-8b8a-4a1e723f54f1",
      "name": "Create Image Prompt",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        300,
        80
      ]
    },
    {
      "id": "2f882195-0f90-4107-a338-e280c6a2fdee",
      "name": "Create Facebook Post",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        -140,
        380
      ]
    },
    {
      "id": "6ab851a5-7644-4ee5-94a5-6b0b5321b11c",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        1140,
        380
      ]
    },
    {
      "id": "b9ed21a3-3d3a-4a6c-a115-76b2c67741de",
      "name": "LinkedIn",
      "type": "n8n-nodes-base.linkedIn",
      "position": [
        2560,
        420
      ]
    },
    {
      "id": "6be6aaa6-440b-4a5f-a32d-86cb7d83e132",
      "name": "Create LinkedIn Post",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        1940,
        420
      ]
    },
    {
      "id": "9333508d-6cb2-424b-981e-cadd608c0f74",
      "name": "Code",
      "type": "n8n-nodes-base.code",
      "position": [
        20,
        -160
      ]
    },
    {
      "id": "54166d38-492e-4af2-871a-9d5d364f1f62",
      "name": "X1",
      "type": "n8n-nodes-base.twitter",
      "position": [
        2820,
        -100
      ]
    },
    {
      "id": "7249de0a-684d-4b27-b849-e053e413f469",
      "name": "Facebook Graph API",
      "type": "n8n-nodes-base.facebookGraphApi",
      "position": [
        1940,
        -180
      ]
    },
    {
      "id": "b93a446a-3f76-4df9-95bf-403d820fbdaf",
      "name": "Wait1",
      "type": "n8n-nodes-base.wait",
      "position": [
        2260,
        120
      ]
    },
    {
      "id": "b43c4a33-3dcb-4120-a8a8-a672a700843d",
      "name": "If1",
      "type": "n8n-nodes-base.if",
      "position": [
        2520,
        120
      ]
    },
    {
      "id": "f38d4a58-a880-42e5-beb9-b6fd4e13a97d",
      "name": "X",
      "type": "n8n-nodes-base.twitter",
      "position": [
        2820,
        300
      ]
    },
    {
      "id": "726f2859-0649-46a2-af81-50900244b8a6",
      "name": "Extract Link Seprately",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        300,
        -160
      ]
    },
    {
      "id": "ba20c72f-8982-41f7-a1b1-ade266305519",
      "name": "Generate Image",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        740,
        80
      ]
    },
    {
      "id": "51ee805d-5c2b-4d1c-b694-a41bcfcc5a16",
      "name": "NocoDB Databse",
      "type": "n8n-nodes-base.nocoDb",
      "position": [
        400,
        380
      ]
    },
    {
      "id": "65178923-9408-4545-88e9-fd1db736a14b",
      "name": "Send Message",
      "type": "n8n-nodes-base.telegram",
      "position": [
        640,
        380
      ]
    },
    {
      "id": "49215fa6-584a-4571-aa0b-bbaa0f1f54fe",
      "name": "wait for response",
      "type": "n8n-nodes-base.wait",
      "position": [
        880,
        380
      ]
    },
    {
      "id": "d70a9020-c1c2-46e7-ae91-1c88ddd33b38",
      "name": "RSS Trigger",
      "type": "n8n-nodes-base.rssFeedReadTrigger",
      "position": [
        -240,
        -160
      ]
    },
    {
      "id": "36495935-fd5a-4c91-9b67-8cb7183a4181",
      "name": "Database Update to Yes",
      "type": "n8n-nodes-base.nocoDb",
      "position": [
        1520,
        120
      ]
    },
    {
      "id": "a5107617-59f9-495f-8be4-44c02ae6601e",
      "name": "Database Update to No",
      "type": "n8n-nodes-base.nocoDb",
      "position": [
        1520,
        660
      ]
    },
    {
      "id": "4fbb2beb-3705-490a-b886-d02101b4bb05",
      "name": "message for twitter",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1940,
        120
      ]
    },
    {
      "id": "5e2ad9c0-8365-42a4-a8c6-ec7f92986cc1",
      "name": "Image url extracter",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2340,
        420
      ]
    },
    {
      "id": "499c4408-1237-4d37-a21c-92e079b853c9",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1420,
        20
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "c5de71a3-3b01-48a2-b6ef-cb247f78ae95",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -400,
        -320
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "9b78f0eb-38c1-4107-8e09-5c6d4afd7ad6",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -20,
        -300
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "79142390-1a8b-4f21-bdf9-43b65379ff56",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        260,
        340
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "b37340df-8035-46d0-8e9c-93ec9d9267fd",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1420,
        560
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "174ae689-859a-4195-bea0-1035104876a6",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -420,
        -820
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    }
  ],
  "connections": {
    "If": {
      "main": [
        [
          {
            "node": "Database Update to Yes",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Database Update to No",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "X1": {
      "main": [
        []
      ]
    },
    "If1": {
      "main": [
        [
          {
            "node": "X1",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "X",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code": {
      "main": [
        [
          {
            "node": "Extract Link Seprately",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait1": {
      "main": [
        [
          {
            "node": "If1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "RSS Trigger": {
      "main": [
        [
          {
            "node": "Code",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Message": {
      "main": [
        [
          {
            "node": "wait for response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Image": {
      "main": [
        [
          {
            "node": "Create Facebook Post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "NocoDB Databse": {
      "main": [
        [
          {
            "node": "Send Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Article Summary": {
      "main": [
        [
          {
            "node": "Create Image Prompt",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "wait for response": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Image Prompt": {
      "main": [
        [
          {
            "node": "Generate Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Image url extracter": {
      "main": [
        [
          {
            "node": "LinkedIn",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "message for twitter": {
      "main": [
        [
          {
            "node": "Wait1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Facebook Post": {
      "main": [
        [
          {
            "node": "NocoDB Databse",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create LinkedIn Post": {
      "main": [
        [
          {
            "node": "Image url extracter",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Database Update to Yes": {
      "main": [
        [
          {
            "node": "message for twitter",
            "type": "main",
            "index": 0
          },
          {
            "node": "Facebook Graph API",
            "type": "main",
            "index": 0
          },
          {
            "node": "Create LinkedIn Post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Link Seprately": {
      "main": [
        [
          {
            "node": "Article Summary",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}