{
  "name": "AI LinkedIn post drafts from your blog RSS, saved to a sheet for approval",
  "nodes": [
    {
      "parameters": {
        "content": "## AI social post drafts\nWhen your blog publishes a new article, the AI drafts a LinkedIn post and saves it to a sheet for approval. Nothing is posted automatically.\n1. Set your RSS feed URL\n2. Connect OpenAI and Google Sheets\n\nBuilt by SixSol Technologies · sixsol.co.uk",
        "height": 300,
        "width": 440
      },
      "id": "1604df1e-d7fa-509a-85ec-ce5e061f9740",
      "name": "Read me",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        -100,
        -300
      ]
    },
    {
      "parameters": {
        "pollTimes": {
          "item": [
            {
              "mode": "everyHour"
            }
          ]
        },
        "feedUrl": "https://yourblog.com/feed.xml"
      },
      "id": "39bcf6f4-a4f5-5172-9b63-c47317ab1b67",
      "name": "New article",
      "type": "n8n-nodes-base.rssFeedReadTrigger",
      "typeVersion": 1,
      "position": [
        0,
        80
      ]
    },
    {
      "parameters": {
        "modelId": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o-mini"
        },
        "messages": {
          "values": [
            {
              "content": "=Write a LinkedIn post (max 180 words) that shares one practical insight from this article and ends with a question. No hashtag spam, max 3 hashtags.\n\nTitle: {{ $json.title }}\nSummary: {{ $json.contentSnippet }}\nLink: {{ $json.link }}"
            }
          ]
        },
        "options": {}
      },
      "id": "d27b6f87-a1c1-5e00-a529-a2ae2448b74d",
      "name": "Draft post",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "typeVersion": 1.8,
      "position": [
        240,
        80
      ]
    },
    {
      "parameters": {
        "operation": "append",
        "documentId": {
          "__rl": true,
          "mode": "url",
          "value": "https://docs.google.com/spreadsheets/d/YOUR_SHEET_ID/edit"
        },
        "sheetName": {
          "__rl": true,
          "mode": "name",
          "value": "Post drafts"
        },
        "columns": {
          "mappingMode": "defineBelow",
          "value": {
            "article": "={{ $('New article').item.json.link }}",
            "draft": "={{ $json.message.content }}",
            "status": "needs review",
            "created_at": "={{ $now.toISO() }}"
          },
          "schema": []
        },
        "options": {}
      },
      "id": "5033014c-d545-5957-91b2-9cb4287cfa1f",
      "name": "Save for approval",
      "type": "n8n-nodes-base.googleSheets",
      "typeVersion": 4.5,
      "position": [
        480,
        80
      ]
    }
  ],
  "connections": {
    "New article": {
      "main": [
        [
          {
            "node": "Draft post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Draft post": {
      "main": [
        [
          {
            "node": "Save for approval",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "pinData": {},
  "meta": {
    "templateCredsSetupCompleted": false,
    "templateBy": "SixSol Technologies · https://www.sixsol.co.uk/n8n-templates/"
  },
  "tags": []
}