{
  "name": "Property Listing Auto-Post to LinkedIn",
  "nodes": [
    {
      "parameters": {
        "pollTimes": {
          "item": [
            {
              "mode": "everyMinute"
            }
          ]
        },
        "documentId": {
          "__rl": true,
          "value": "1PTIvYLShLcEQP3dH00QSf05osnTbVVNaV9r1KIprFLE",
          "mode": "list",
          "cachedResultName": "post"
        },
        "sheetName": {
          "__rl": true,
          "value": "gid=0",
          "mode": "list",
          "cachedResultName": "Sheet1"
        },
        "options": {}
      },
      "type": "n8n-nodes-base.googleSheetsTrigger",
      "typeVersion": 1,
      "position": [
        180,
        200
      ],
      "id": "67405d72-f10a-49cd-a333-8067fecd90bc",
      "name": "On New Property Added",
      "credentials": {
        "googleSheetsTriggerOAuth2Api": {
          "id": "llNLURa27AVehz0K",
          "name": "Google Sheets Trigger account"
        }
      }
    },
    {
      "parameters": {
        "modelId": {
          "__rl": true,
          "value": "gpt-4o-mini",
          "mode": "list",
          "cachedResultName": "GPT-4O-MINI"
        },
        "messages": {
          "values": [
            {
              "content": "=#Role\nWrite a professional, engaging LinkedIn post combining the two topics:{{ $json.title }} and their {{ $json.discription }} . The tone should be inspiring and conversational, suitable for professionals or brands. Focus on real-world relevance, emotional or lifestyle value, and end with relevant hashtags. Do not include instructions or placeholders - write it as a finished post ready to publish.output key is \"post\"\n"
            }
          ]
        },
        "jsonOutput": true,
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "typeVersion": 1.8,
      "position": [
        380,
        200
      ],
      "id": "c19d31ea-135f-4765-b8b3-5c10434b18b8",
      "name": "Generate Content from OpenAI",
      "credentials": {
        "openAiApi": {
          "id": "rQ5Y0qCO8fjiEwft",
          "name": "OpenAI account"
        }
      }
    },
    {
      "parameters": {
        "person": "05l_02871N",
        "text": "={{ $json.message.content.post }}",
        "additionalFields": {}
      },
      "type": "n8n-nodes-base.linkedIn",
      "typeVersion": 1,
      "position": [
        740,
        200
      ],
      "id": "2d93d587-b5fc-41fc-85af-6a3843f280f4",
      "name": "Post on LinkedIn",
      "alwaysOutputData": true,
      "credentials": {
        "linkedInOAuth2Api": {
          "id": "iU5R8MM0hcSRULWy",
          "name": "LinkedIn account"
        }
      }
    }
  ],
  "pinData": {},
  "connections": {
    "On New Property Added": {
      "main": [
        [
          {
            "node": "Generate Content from OpenAI",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Content from OpenAI": {
      "main": [
        [
          {
            "node": "Post on LinkedIn",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "bce637c3-19cf-418e-95f7-f36f1981062c",
  "meta": {
    "templateCredsSetupCompleted": true,
    "instanceId": "f1c26778ec36097a9722a22c47c5e9c01f00b8862dadd0121ec118026a370fa6"
  },
  "id": "Xr73tr8lBvVzRPgS"
}