{
  "name": "Convert RSS to tweet with text and image using free Twitter API",
  "nodes": [
    {
      "id": "1a2da981-f15b-4c70-992a-ee50689a2e97",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        40,
        -280
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "7615b62f-7def-4a7d-8787-28a458543471",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1080,
        -260
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "cd1d56ba-aa0f-4e24-80d4-bcbcfab9b6b2",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -80,
        -580
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "3acef7ea-98cf-4230-bfca-5f1fb74430a8",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1980,
        -260
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "e34ef2f9-f242-4cc3-9be2-7901f4975953",
      "name": "Get the latest article from the feed",
      "type": "n8n-nodes-base.rssFeedReadTrigger",
      "position": [
        -1880,
        120
      ]
    },
    {
      "id": "2cfa7258-1850-4d1f-8731-4ccbcb79066a",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1480,
        -260
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "e2726f1c-9a30-41c6-8bda-a7979ecd65a1",
      "name": "Fetches the article’s HTML content",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1400,
        -140
      ]
    },
    {
      "id": "801b42cd-f239-4097-8ddc-afc370f1105c",
      "name": "Extracts the main image",
      "type": "n8n-nodes-base.html",
      "position": [
        -1000,
        -140
      ]
    },
    {
      "id": "2a1c04f8-900d-43c9-9265-74e2bb5870b3",
      "name": "X",
      "type": "n8n-nodes-base.twitter",
      "position": [
        2500,
        -80
      ]
    },
    {
      "id": "d3c99f54-c3b9-42d1-90fd-32c253f4264a",
      "name": "Verify tweet constraints",
      "type": "n8n-nodes-base.if",
      "position": [
        860,
        0
      ]
    },
    {
      "id": "271742fb-6a11-423a-b345-b8915cc62f5e",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1380,
        -300
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "e542fdcb-a1c0-4f4f-bcb8-6282cd48f5d0",
      "name": "Downloads image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1480,
        -180
      ]
    },
    {
      "id": "982bb726-9c9f-43fc-bc6a-31b7e7c8d103",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -620,
        -260
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "e4bc1673-4d3f-4afd-88a6-0ed93068c629",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        700,
        -280
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "18cd98a5-897b-4ff5-8440-4e51a361f7d6",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1840,
        -320
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "2d3e5275-0df7-4a8b-9c98-8f74ba8e7dd3",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2400,
        -200
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "82485954-5cb1-4f6e-a139-509cf301472e",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        120,
        -100
      ]
    },
    {
      "id": "036166d5-8250-409c-b019-fdbbe73cdb22",
      "name": "Summarize the Website API Perplexity",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -480,
        200
      ]
    },
    {
      "id": "2e9765db-46da-49b1-b782-e195fbae6203",
      "name": "OpenRouter Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        120,
        160
      ]
    },
    {
      "id": "8d4f23a8-0c60-4b67-a5ac-fbb32e8cfb5d",
      "name": "Upload image to X server with Twitter API v1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1980,
        -80
      ]
    }
  ],
  "connections": {
    "AI Agent": {
      "main": [
        [
          {
            "node": "Verify tweet constraints",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Downloads image": {
      "main": [
        [
          {
            "node": "Upload image to X server with Twitter API v1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenRouter Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Extracts the main image": {
      "main": [
        [
          {
            "node": "Summarize the Website API Perplexity",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Verify tweet constraints": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Downloads image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetches the article’s HTML content": {
      "main": [
        [
          {
            "node": "Extracts the main image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get the latest article from the feed": {
      "main": [
        [
          {
            "node": "Fetches the article’s HTML content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Summarize the Website API Perplexity": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload image to X server with Twitter API v1": {
      "main": [
        [
          {
            "node": "X",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}