{
  "id": "dRfcbTGj9Qqk7MW4",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "name": "Turn LinkedIn Engagements to Pipeline",
  "tags": [],
  "nodes": [
    {
      "id": "8c6242d8-a334-4b88-b598-b61026a3d7cc",
      "name": "When Executed by Another Workflow",
      "type": "n8n-nodes-base.executeWorkflowTrigger",
      "position": [
        0,
        0
      ],
      "parameters": {
        "workflowInputs": {
          "values": [
            {
              "name": "linkedinUrl"
            },
            {
              "name": "prospeoApiKey"
            },
            {
              "name": "daysLookback",
              "type": "number"
            },
            {
              "name": "maxLeads",
              "type": "number"
            },
            {
              "name": "maxPosts",
              "type": "number"
            },
            {
              "name": "outputType"
            }
          ]
        }
      },
      "typeVersion": 1.1
    },
    {
      "id": "76c2d808-c0aa-48bc-826c-7ad133cebdb0",
      "name": "Run \"Turn LinkedIn Engagements to Pipeline\"",
      "type": "n8n-nodes-base.airtop",
      "position": [
        208,
        0
      ],
      "parameters": {
        "agentId": {
          "__rl": true,
          "mode": "list",
          "value": "381de7ea-0dd9-431b-95d3-76afc7963e1a",
          "cachedResultName": "Turn LinkedIn Engagements to Pipeline"
        },
        "resource": "agent",
        "agentParameters": {
          "value": {
            "maxLeads": "={{ $json.maxLeads || 10 }}",
            "maxPosts": "={{ $json.maxPosts || 3 }}",
            "outputType": "={{ $json.outputType || 'json' }}",
            "linkedinUrl": "={{ $json.linkedinUrl }}",
            "daysLookback": "={{ $json.daysLookback || 30 }}",
            "prospeoApiKey": "={{ $json.prospeoApiKey || '' }}"
          },
          "schema": [
            {
              "id": "daysLookback",
              "type": "number",
              "display": true,
              "required": false,
              "displayName": "daysLookback",
              "defaultMatch": false
            },
            {
              "id": "linkedinUrl",
              "type": "string",
              "display": true,
              "required": true,
              "displayName": "linkedinUrl (required)",
              "defaultMatch": false
            },
            {
              "id": "maxLeads",
              "type": "number",
              "display": true,
              "required": false,
              "displayName": "maxLeads",
              "defaultMatch": false
            },
            {
              "id": "maxPosts",
              "type": "number",
              "display": true,
              "required": false,
              "displayName": "maxPosts",
              "defaultMatch": false
            },
            {
              "id": "outputType",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "outputType",
              "defaultMatch": false
            },
            {
              "id": "prospeoApiKey",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "prospeoApiKey",
              "defaultMatch": false
            }
          ],
          "mappingMode": "defineBelow",
          "matchingColumns": [],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        }
      },
      "credentials": {
        "airtopApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "b884ad9d-a0c1-45d2-94a8-3f92d1b9876f",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -464,
        -128
      ],
      "parameters": {
        "width": 432,
        "height": 576,
        "content": "## Automatically Turn LinkedIn Comments into New Leads\n\nThe Airtop agent will take a LinkedIn Profile and find leads from relevant posts.\n\n### Video Tutorial\n@[youtube](28javM1Djng)\n\n**Important**\nYou need to install the Airtop template \"[Turn LinkedIn Engagements to Pipeline](https://www.airtop.ai/templates/linkedin-lead-generation-from-post-commenters-old-3?utm_source=n8n-template)\" in your account before executing this n8n workflow."
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "settings": {
    "binaryMode": "separate",
    "availableInMCP": false,
    "executionOrder": "v1"
  },
  "versionId": "18f89ed7-7fae-444e-918c-3afc7265b6ff",
  "connections": {
    "When Executed by Another Workflow": {
      "main": [
        [
          {
            "node": "Run \"Turn LinkedIn Engagements to Pipeline\"",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}