Extracteur de données d'engagement des publications LinkedIn - Modèle

Intermédiaire

Ceci est unMarketingworkflow d'automatisation du domainecontenant 7 nœuds.Utilise principalement des nœuds comme Set, Code, Airtop, FormTrigger, ExecuteWorkflowTrigger. Extraire des données d'interaction de publications LinkedIn avec Airtop

Prérequis
  • Aucun prérequis spécial, prêt à l'emploi après importation

Catégorie

Aperçu du workflow
Visualisation des connexions entre les nœuds, avec support du zoom et du déplacement
Exporter le workflow
Copiez la configuration JSON suivante dans n8n pour importer et utiliser ce workflow
{
  "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": "Analyser la réponse d'analyse d'engagement",
      "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": "Note adhésive1",
      "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": "Lorsqu'exécuté par un autre 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": "À la soumission du formulaire",
      "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": "Mapper les champs",
      "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": "Note adhésive",
      "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
          }
        ]
      ]
    }
  }
}
Foire aux questions

Comment utiliser ce workflow ?

Copiez le code de configuration JSON ci-dessus, créez un nouveau workflow dans votre instance n8n et sélectionnez "Importer depuis le JSON", collez la configuration et modifiez les paramètres d'authentification selon vos besoins.

Dans quelles scénarios ce workflow est-il adapté ?

Intermédiaire - Marketing

Est-ce payant ?

Ce workflow est entièrement gratuit et peut être utilisé directement. Veuillez noter que les services tiers utilisés dans le workflow (comme l'API OpenAI) peuvent nécessiter un paiement de votre part.

Informations sur le workflow
Niveau de difficulté
Intermédiaire
Nombre de nœuds7
Catégorie1
Types de nœuds6
Description de la difficulté

Adapté aux utilisateurs expérimentés, avec des workflows de complexité moyenne contenant 6-15 nœuds

Auteur

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

Liens externes
Voir sur n8n.io

Partager ce workflow

Catégories

Catégories: 34