LinkedIn投稿のインタラクションデータ抽出ツール - テンプレート

中級

これはMarketing分野の自動化ワークフローで、7個のノードを含みます。主にSet, Code, Airtop, FormTrigger, ExecuteWorkflowTriggerなどのノードを使用。 Airtopを使用してLinkedInの投稿のエンゲージメントデータを抽出

前提条件
  • 特別な前提条件なし、インポートしてすぐに使用可能

カテゴリー

ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定を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": "エンゲージメント分析レスポンスの解析",
      "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": "付箋ノート1",
      "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": "他のワークフローから実行時",
      "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": "フォーム送信時",
      "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": "フィールドのマッピング",
      "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": "付箋ノート",
      "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
          }
        ]
      ]
    }
  }
}
よくある質問

このワークフローの使い方は?

上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。

このワークフローはどんな場面に適していますか?

中級 - マーケティング

有料ですか?

このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。

ワークフロー情報
難易度
中級
ノード数7
カテゴリー1
ノードタイプ6
難易度説明

経験者向け、6-15ノードの中程度の複雑さのワークフロー

作成者

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

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34