LinkedIn-Post-Interaktionsdaten-Extraktor---Vorlage

Fortgeschritten

Dies ist ein Marketing-Bereich Automatisierungsworkflow mit 7 Nodes. Hauptsächlich werden Set, Code, Airtop, FormTrigger, ExecuteWorkflowTrigger und andere Nodes verwendet. Verwenden Sie Airtop, um LinkedIn-Post-Interaktionsdaten zu extrahieren

Voraussetzungen
  • Keine besonderen Voraussetzungen, sofort nach Import nutzbar

Kategorie

Workflow-Vorschau
Visualisierung der Node-Verbindungen, mit Zoom und Pan
Workflow exportieren
Kopieren Sie die folgende JSON-Konfiguration und importieren Sie sie in n8n
{
  "id": "3gPcwtlj06KIygRO",
  "meta": {
    "instanceId": "28a947b92b197fc2524eaba16e57560338657b2b0b5796300b2f1cedc1d0d355",
    "templateCredsSetupCompleted": true
  },
  "name": "LinkedIn Post Engagement Data Extractor - Template",
  "tags": [],
  "nodes": [
    {
      "id": "6b6d54ef-21ad-43ef-be6a-14fc4295577d",
      "name": "Airtop",
      "type": "n8n-nodes-base.airtop",
      "position": [
        160,
        220
      ],
      "parameters": {
        "url": "={{ $json.post_url }}",
        "prompt": "You are looking at a LinkedIn post.\nYour job is to extract engagement data from the post.\n\nExtract the information of the people that have commented and reacted to this post. I want their name, their job title and their profile_url.\n\nI also want the total number of reactions, comments and reposts. For each of these values, if you are unable to find it, set it as -1.",
        "resource": "extraction",
        "operation": "query",
        "profileName": "={{ $json.airtop_profile }}",
        "sessionMode": "new",
        "additionalFields": {
          "outputSchema": "{\n  \"type\": \"object\",\n  \"properties\": {\n    \"interactors\": {\n      \"type\": \"array\",\n      \"items\": {\n        \"type\": \"object\",\n        \"properties\": {\n          \"name\": {\n            \"type\": \"string\",\n            \"description\": \"The name of the person who commented or reacted.\"\n          },\n          \"job_title\": {\n            \"type\": \"string\",\n            \"description\": \"The job title of the person who commented or reacted.\"\n          },\n          \"profile_url\": {\n            \"type\": \"string\",\n            \"description\": \"The url of their profile\"\n          }\n        },\n        \"required\": [\n          \"name\",\n          \"job_title\"\n        ],\n        \"additionalProperties\": false\n      }\n    },\n    \"reactions_count\": {\n      \"type\": \"number\",\n      \"description\": \"the number of reactions the post received\"\n    },\n    \"comments_count\": {\n      \"type\": \"number\",\n      \"description\": \"the number of comments the post has\"\n    },\n    \"reposts_count\": {\n      \"type\": \"number\",\n      \"description\": \"the number of reposts the post has\"\n    }\n  },\n  \"required\": [\n    \"interactors\",\n    \"reactions_count\",\n    \"comments_count\",\n    \"reposts_count\"\n  ],\n  \"additionalProperties\": false,\n  \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}"
        }
      },
      "credentials": {},
      "typeVersion": 1
    },
    {
      "id": "463f422f-ee53-4d84-b904-764a69a60f1a",
      "name": "Parse engagement analysis response",
      "type": "n8n-nodes-base.code",
      "position": [
        380,
        220
      ],
      "parameters": {
        "jsCode": "const result = JSON.parse($input.first().json.data.modelResponse)\nreturn [{json: {...result}}]"
      },
      "typeVersion": 2
    },
    {
      "id": "32383187-f2f2-4b00-b7c8-4b7d684e6fc1",
      "name": "Kurznotiz1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -360,
        -40
      ],
      "parameters": {
        "color": 5,
        "width": 900,
        "height": 540,
        "content": "## Extract engagmenet data\nWith airtop and a simple prompt, the agent is able to extract information from a LinkedIn post like:\n- Amount of comments on the post\n- Amount of reactions on the post\n- Amount of reposts\n- A list of commenters, with their name, job title and profile url"
      },
      "typeVersion": 1
    },
    {
      "id": "2869efa1-1ca1-44a6-a980-2d901f6cadcf",
      "name": "When Executed by Another Workflow",
      "type": "n8n-nodes-base.executeWorkflowTrigger",
      "position": [
        -280,
        320
      ],
      "parameters": {
        "workflowInputs": {
          "values": [
            {
              "name": "airtop_profile"
            },
            {
              "name": "linkedin_post_url"
            }
          ]
        }
      },
      "typeVersion": 1.1
    },
    {
      "id": "1c593188-6f2f-4182-a9bf-93da8acd0791",
      "name": "Bei Formularübermittlung",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -280,
        120
      ],
      "webhookId": "07cf0540-37d2-49c2-a52e-0e985364c843",
      "parameters": {
        "options": {},
        "formTitle": "LinkedIn Post Engagement Data Extractor",
        "formFields": {
          "values": [
            {
              "fieldLabel": "Airtop Profile (Logged into Linkedin)",
              "requiredField": true
            },
            {
              "fieldLabel": "Post URL",
              "requiredField": true
            }
          ]
        },
        "formDescription": "With this Agent, you'll be able to extract valuable information from a LinkedIn Post, such as number comments, reactions and reposts for a given publication, as well as a list of some of the commenters with their respective titles and profile urls"
      },
      "typeVersion": 2.2
    },
    {
      "id": "74d20b84-fe2c-4d4f-beab-39d900eba200",
      "name": "Felder zuordnen",
      "type": "n8n-nodes-base.set",
      "position": [
        -60,
        220
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "c0dc91e4-64bc-4082-b109-835f061eee4c",
              "name": "airtop_profile",
              "type": "string",
              "value": "={{ $json.airtop_profile || $json[\"Airtop Profile (Logged into Linkedin)\"] }}"
            },
            {
              "id": "afc8f5b2-73bf-4bd0-b98c-458c521c8a0d",
              "name": "post_url",
              "type": "string",
              "value": "={{ $json.linkedin_post_url || $json[\"Post URL\"] }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "5f79d197-6e41-4762-9d86-f62ada1e0c85",
      "name": "Kurznotiz",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1400,
        -240
      ],
      "parameters": {
        "width": 900,
        "height": 1260,
        "content": "README\n\n# LinkedIn Post Engagement Data Extractor\n\n## Use Case\nThis automation is designed to extract key engagement metrics and audience data from a LinkedIn post. It's useful for analyzing the impact of content and identifying engaged users for lead generation, marketing, or research purposes.\n\n## What It Does\nGiven a LinkedIn post URL and an Airtop profile, this automation extracts:\n\n- Total number of reactions\n- Total number of comments\n- Total number of reposts\n- A list of users who reacted or commented, including:\n  - Their full name\n  - Their job title\n  - A link to their LinkedIn profile\n\n## Input Parameters\n\n| Name             | Description                                                | Required |\n|------------------|------------------------------------------------------------|----------|\n| airtop_profile   | The name of an [Airtop Profile](https://portal.airtop.ai/browser-profiles) that's logged into LinkedIn | Yes      |\n| linkedin_post_url| The full URL of the LinkedIn post you want to analyze     | Yes      |\n\n## How It Works\n\n1. The workflow starts when triggered manually or from another workflow/form.\n2. It maps input fields for Airtop profile and post URL.\n3. Airtop opens a browser session and loads the LinkedIn post.\n4. An AI agent is instructed to extract engagement data via prompt-based analysis.\n5. The response is parsed and output in a structured format.\n\n## Output Format\n\nThe output will be a structured JSON object with the following fields:\n\n```json\n{\n  \"interactors\": [\n    {\n      \"name\": \"Jane Doe\",\n      \"job_title\": \"Marketing Director at ExampleCorp\",\n      \"profile_url\": \"https://linkedin.com/in/janedoe\"\n    }\n    // ... more interactors\n  ],\n  \"reactions_count\": 153,\n  \"comments_count\": 21,\n  \"reposts_count\": 8\n}\n"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "6de86713-894a-42b1-b461-2baa11f343b2",
  "connections": {
    "6b6d54ef-21ad-43ef-be6a-14fc4295577d": {
      "main": [
        [
          {
            "node": "463f422f-ee53-4d84-b904-764a69a60f1a",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "74d20b84-fe2c-4d4f-beab-39d900eba200": {
      "main": [
        [
          {
            "node": "6b6d54ef-21ad-43ef-be6a-14fc4295577d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "1c593188-6f2f-4182-a9bf-93da8acd0791": {
      "main": [
        [
          {
            "node": "74d20b84-fe2c-4d4f-beab-39d900eba200",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "2869efa1-1ca1-44a6-a980-2d901f6cadcf": {
      "main": [
        [
          {
            "node": "74d20b84-fe2c-4d4f-beab-39d900eba200",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Häufig gestellte Fragen

Wie verwende ich diesen Workflow?

Kopieren Sie den obigen JSON-Code, erstellen Sie einen neuen Workflow in Ihrer n8n-Instanz und wählen Sie "Aus JSON importieren". Fügen Sie die Konfiguration ein und passen Sie die Anmeldedaten nach Bedarf an.

Für welche Szenarien ist dieser Workflow geeignet?

Fortgeschritten - Marketing

Ist es kostenpflichtig?

Dieser Workflow ist völlig kostenlos. Beachten Sie jedoch, dass Drittanbieterdienste (wie OpenAI API), die im Workflow verwendet werden, möglicherweise kostenpflichtig sind.

Workflow-Informationen
Schwierigkeitsgrad
Fortgeschritten
Anzahl der Nodes7
Kategorie1
Node-Typen6
Schwierigkeitsbeschreibung

Für erfahrene Benutzer, mittelkomplexe Workflows mit 6-15 Nodes

Autor

Airtop provides an intelligent browser automation API for AI agents, enabling seamless web interaction, including login, navigation, and data extraction from any site, even those with complex authentication - all with natural language instructions.In simple terms, we allow you to automate anything humans can do online, on any site with just words

Externe Links
Auf n8n.io ansehen

Diesen Workflow teilen

Kategorien

Kategorien: 34