{
  "id": "mC3v7Zbzt2kofF7p",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "name": "Competitive monitoring Linkedin",
  "tags": [],
  "nodes": [
    {
      "id": "13a5909c-94b7-41f6-8936-7fe3093a4224",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -280,
        -20
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "weeks",
              "triggerAtHour": 18
            }
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "ecccaebc-645f-489e-a4cc-28079d040214",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        80,
        -200
      ],
      "parameters": {
        "color": 2,
        "width": 260,
        "height": 340,
        "content": "## Enter [Airtop Profile](https://portal.airtop.ai/browser-profiles) authenticated to LinkedIn in the \"Profile Name\" field\n"
      },
      "typeVersion": 1
    },
    {
      "id": "5d2caa2f-e333-4dd8-b879-1eb11b3a4eb7",
      "name": "Get Competitors",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -60,
        -20
      ],
      "parameters": {
        "options": {},
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": "gid=0",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1TknyHS8ie0KONgF4-KFGR76I74egHLt7-M9sIxjQXGY/edit#gid=0",
          "cachedResultName": "Sheet1"
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": "1TknyHS8ie0KONgF4-KFGR76I74egHLt7-M9sIxjQXGY",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1TknyHS8ie0KONgF4-KFGR76I74egHLt7-M9sIxjQXGY/edit?usp=drivesdk",
          "cachedResultName": "Competitive Momnitoring Linkedin - Template"
        }
      },
      "credentials": {
        "googleSheetsOAuth2Api": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 4.6
    },
    {
      "id": "f75b0ab2-2e32-4074-a468-3c30bcca9962",
      "name": "Send Summary",
      "type": "n8n-nodes-base.slack",
      "position": [
        380,
        -20
      ],
      "parameters": {
        "text": "=SUMMARY OF POSTS - {{ $('Get Competitors').item.json['Name and Title '] }}\n{{ $json.data.modelResponse }}",
        "select": "channel",
        "channelId": {
          "__rl": true,
          "mode": "list",
          "value": "C092P1RRX4L",
          "cachedResultName": "competitive-monitoring"
        },
        "otherOptions": {
          "mrkdwn": true,
          "botProfile": {
            "imageValues": {
              "icon_emoji": "\u2757",
              "profilePhotoType": "emoji"
            }
          }
        }
      },
      "credentials": {
        "slackApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 2.3
    },
    {
      "id": "65fe9b89-c790-4b4e-bc48-2c1f62613841",
      "name": "Analyze Posts",
      "type": "n8n-nodes-base.airtop",
      "position": [
        160,
        -20
      ],
      "parameters": {
        "url": "={{ $json['Post lists to watch'] }}",
        "prompt": "This is a list of posts.\n\nPerform the following steps:\n1. Extract the text of up to 5 posts that were published no more than 1 week ago.\n2. Summarize the selected posts and highlight:\nNumber of posts published in the last week\nMain topics covered in the posts\nLevel of user engagement with the posts",
        "resource": "extraction",
        "profileName": "[ENTER AIRTOP PROFILE NAME HERE]",
        "sessionMode": "new",
        "additionalFields": {}
      },
      "credentials": {
        "airtopApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "3ca59ee5-382b-42ca-bc65-7a5952489ff6",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -620,
        -1040
      ],
      "parameters": {
        "color": 5,
        "width": 1260,
        "height": 1220,
        "content": "README\n\n# Automating LinkedIn Competitive Monitoring\n\n## Use Case\n\nMonitoring competitors on LinkedIn helps organizations stay updated on rival strategies, hiring trends, and engagement activities. Automating this process saves time and provides structured summaries to your team regularly.\n\n## What This Automation Does\n\nThis automation monitors and summarizes LinkedIn posts from competitor profiles and shares the results on Slack. It uses the following input parameters:\n\n* **Airtop Profile**: A browser profile authenticated to LinkedIn. [Create one](https://portal.airtop.ai/browser-profiles)\n* **Google Sheet**: A document listing LinkedIn profile URLs of competitors.\n* **Slack Channel**: The destination for sharing summarized post insights.\n\n## How It Works\n\n1. **Trigger**: The workflow is scheduled to run weekly at a specific time.\n2. **Data Collection**: Retrieves the list of competitor LinkedIn URLs from a Google Sheet.\n3. **Browser Automation**: Uses Airtop to navigate to each LinkedIn profile and analyze up to 5 recent posts.\n4. **Summarization**: Summarizes number of recent posts, main topics, and engagement levels using Airtop\u2019s AI.\n5. **Slack Notification**: Posts a formatted summary to a predefined Slack channel.\n\n## Setup Requirements\n\n1. [Airtop API Key](https://portal.airtop.ai/api-keys) \u2014 free to generate.\n2. An [Airtop Profile](https://portal.airtop.ai/browser-profiles) authenticated to LinkedIn.\n3. Google Sheet with competitor post URLs., [copy this one](https://docs.google.com/spreadsheets/d/1TknyHS8ie0KONgF4-KFGR76I74egHLt7-M9sIxjQXGY/edit?usp=sharing)\n4. Slack Bot credentials with access to the target channel.\n\n## Next Steps\n\n* **Expand Coverage**: Add more competitor profiles to the Google Sheet to scale monitoring.\n* **Integrate with CRM**: Feed summarized insights into your CRM for competitor tracking.\n* **Enhance Analysis**: Include post-level engagement metrics over time for trend analysis.\n"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "98d3d851-7f8a-4ce5-b0ce-500b29857b6c",
  "connections": {
    "Analyze Posts": {
      "main": [
        [
          {
            "node": "Send Summary",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Competitors": {
      "main": [
        [
          {
            "node": "Analyze Posts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Get Competitors",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}