Anysite LinkedIn 节点在您的 n8n 工作流中提供全面的 LinkedIn 数据提取功能。搜索用户、公司、帖子,并提取详细的个人资料信息。
节点配置
credential
Anysite API Credentials
必填
从下拉菜单中选择您的 Anysite API 凭证,或创建新凭证。
可用操作
搜索 LinkedIn 用户和个人资料。参数:
- Query(必填):用于查找用户的搜索词
- Filters:地点、行业、公司筛选器
- Limit:返回的最大结果数(1-100)
输出示例:{
"users": [
{
"id": "user123",
"name": "John Smith",
"headline": "Senior Software Engineer at Tech Corp",
"location": "San Francisco, CA",
"profileUrl": "https://linkedin.com/in/johnsmith",
"followers": 2500,
"connections": 500
}
]
}
获取特定用户的详细个人资料信息。参数:
- User ID(必填):LinkedIn 用户标识符
- Include Posts:是否包含最近的帖子
- Post Limit:要包含的最近帖子数量
输出示例:{
"profile": {
"id": "user123",
"name": "John Smith",
"headline": "Senior Software Engineer at Tech Corp",
"summary": "Experienced engineer with 8+ years...",
"experience": [
{
"company": "Tech Corp",
"position": "Senior Software Engineer",
"duration": "2022 - Present",
"description": "Lead backend development..."
}
],
"education": [...],
"skills": ["Python", "AWS", "Kubernetes"],
"recentPosts": [...]
}
}
搜索 LinkedIn 公司和组织。参数:
- Query(必填):公司搜索词
- Industry Filter:按特定行业筛选
- Size Filter:公司规模范围
- Location:地理位置筛选
输出示例:{
"companies": [
{
"id": "company456",
"name": "Tech Corp Inc",
"industry": "Computer Software",
"size": "1001-5000 employees",
"location": "San Francisco, CA",
"website": "https://techcorp.com",
"followers": 125000
}
]
}
从 LinkedIn 用户提取帖子和活动。参数:
- User ID(必填):LinkedIn 用户标识符
- Post Limit:要检索的帖子数量
- Include Reactions:是否包含互动数据
输出示例:{
"posts": [
{
"id": "post789",
"text": "Excited to announce our new product launch...",
"publishedAt": "2024-08-26T10:00:00Z",
"reactions": {
"likes": 45,
"comments": 12,
"reposts": 8
},
"mediaUrls": ["https://example.com/image.jpg"]
}
]
}
工作流示例
潜在客户生成工作流
搜索潜在客户
使用 LinkedIn 搜索用户操作,根据职位、公司或行业查找潜在客户。
提取详细资料
对于找到的每个潜在客户,使用”获取用户资料”收集包括工作经历、技能和近期活动在内的全面信息。
筛选和评分
使用 n8n 的内置节点根据条件筛选潜在客户并分配潜在客户分数。
存储结果
使用 n8n 的集成节点将合格的潜在客户保存到您的 CRM、数据库或 Google Sheets。
工作流示例:
{
"nodes": [
{
"name": "LinkedIn Search",
"type": "@horizondatawave/n8n-nodes-anysite.LinkedIn",
"operation": "searchUsers",
"parameters": {
"query": "marketing manager",
"filters": {
"location": "New York",
"industry": "Technology"
},
"limit": 50
}
},
{
"name": "Get Full Profiles",
"type": "@horizondatawave/n8n-nodes-anysite.LinkedIn",
"operation": "getUserProfile",
"parameters": {
"userId": "={{ $json.id }}",
"includePosts": true,
"postLimit": 5
}
},
{
"name": "Filter Qualified Leads",
"type": "n8n-nodes-base.filter",
"parameters": {
"conditions": [
{
"field": "experience[0].company",
"operation": "notEqual",
"value": "Competitor Corp"
}
]
}
},
{
"name": "Save to Google Sheets",
"type": "n8n-nodes-base.googleSheets",
"parameters": {
"operation": "append",
"sheetId": "your-sheet-id",
"values": [
"={{ $json.name }}",
"={{ $json.headline }}",
"={{ $json.location }}",
"={{ $json.profileUrl }}"
]
}
}
]
}
内容研究工作流
跟踪行业领袖发布的内容:
- 搜索行业领袖 - 在您的行业中找到思想领袖
- 获取最近帖子 - 提取他们最新的内容和互动指标
- 分析趋势 - 使用 AI 节点识别热门话题和主题
- 生成内容创意 - 根据分析创建内容建议
- 安排通知 - 向您的团队发送重要趋势的提醒
竞争对手分析工作流
监控竞争对手活动和员工动态:
- 跟踪竞争对手员工 - 搜索竞争对手公司的员工
- 监控职位变动 - 检测关键员工离职或加入竞争对手
- 分析公司更新 - 跟踪竞争对手公司页面的更新和公告
- 情感分析 - 通过员工帖子分析员工情绪
- 生成报告 - 创建每周竞争情报报告
错误处理
常见错误
错误: 429 - Rate limit exceeded解决方案:
- 在请求之间添加延迟节点
- 实现带指数退避的重试逻辑
- 考虑升级您的 API 计划
错误: 404 - User not found解决方案:
- 验证 LinkedIn 用户 ID 是否正确
- 检查个人资料是否为私密或已停用
- 在工作流中优雅地处理缺失用户
错误: 400 - Invalid search parameters解决方案:
- 确保搜索查询不为空
- 验证筛选参数是否有效
- 检查地点和行业筛选格式
重试逻辑示例
{
"name": "LinkedIn with Retry",
"type": "@horizondatawave/n8n-nodes-anysite.LinkedIn",
"retryOnFail": true,
"maxTries": 3,
"waitBetweenTries": 2000,
"parameters": {
"operation": "searchUsers",
"query": "software engineer"
}
}
速率限制最佳实践
请求间隔
在批量操作之间添加延迟:
{
"name": "Delay Between Requests",
"type": "n8n-nodes-base.wait",
"parameters": {
"amount": 1,
"unit": "seconds"
}
}
批量处理
将大型数据集分成较小的批次处理:
{
"name": "Split Into Batches",
"type": "n8n-nodes-base.splitInBatches",
"parameters": {
"batchSize": 10
}
}
高级功能
动态筛选
使用表达式创建动态搜索筛选器:
// 基于前一数据的动态地点筛选
{
"location": "={{ $json.companyHeadquarters }}",
"industry": "={{ $json.targetIndustry }}"
}
数据丰富
将 LinkedIn 数据与其他来源结合:
{
"workflow": [
"LinkedIn Search → Get Profiles",
"Email Finder → Enrich with Contacts",
"Company Data → Add Firmographic Info",
"CRM Integration → Update Lead Records"
]
}
内容分析
使用 AI 节点分析 LinkedIn 帖子:
// LinkedIn 帖子情感分析
{
"name": "Analyze Post Sentiment",
"type": "n8n-nodes-base.openAi",
"parameters": {
"operation": "analyze",
"prompt": "Analyze the sentiment of this LinkedIn post: {{ $json.postText }}"
}
}
集成示例
CRM 集成
自动在您的 CRM 中创建潜在客户:
{
"name": "Create Salesforce Lead",
"type": "n8n-nodes-base.salesforce",
"parameters": {
"operation": "create",
"resource": "lead",
"data": {
"FirstName": "={{ $json.firstName }}",
"LastName": "={{ $json.lastName }}",
"Company": "={{ $json.currentCompany }}",
"Title": "={{ $json.headline }}",
"LinkedIn__c": "={{ $json.profileUrl }}"
}
}
}
Slack 通知
发送重要潜在客户的提醒:
{
"name": "Slack Alert",
"type": "n8n-nodes-base.slack",
"parameters": {
"operation": "postMessage",
"channel": "#sales-leads",
"text": "🎯 High-value prospect found: {{ $json.name }} at {{ $json.company }}\n📍 Location: {{ $json.location }}\n🔗 Profile: {{ $json.profileUrl }}"
}
}
后续步骤