LinkedIn自动发布代理
初级
这是一个Multimodal AI领域的自动化工作流,包含 4 个节点。主要使用 OpenAi、LinkedIn、ManualTrigger、ScheduleTrigger 等节点。 使用OpenAI GPT生成AI内容的自动化LinkedIn帖子发布
前置要求
- •OpenAI API Key
- •LinkedIn API 凭证
使用的节点 (4 个)
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "linkedin-auto-post-agent",
"meta": {
"instanceId": "linkedin-auto-post-agent",
"templateCredsSetupCompleted": false
},
"name": "LinkedIn 自动发布代理",
"tags": [
{
"id": "social-media",
"name": "Social Media",
"createdAt": "2024-01-01T00:00:00.000Z",
"updatedAt": "2024-01-01T00:00:00.000Z"
},
{
"id": "ai-automation",
"name": "AI Automation",
"createdAt": "2024-01-01T00:00:00.000Z",
"updatedAt": "2024-01-01T00:00:00.000Z"
},
{
"id": "linkedin",
"name": "LinkedIn",
"createdAt": "2024-01-01T00:00:00.000Z",
"updatedAt": "2024-01-01T00:00:00.000Z"
}
],
"nodes": [
{
"id": "f6b4c8d0-1234-4567-8901-234567890abc",
"name": "计划触发器",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
240,
300
],
"webhookId": "",
"parameters": {
"rule": {
"interval": [
{
"field": "cronExpression",
"cronExpression": "0 9 * * 1-5"
}
]
}
},
"typeVersion": 1.1
},
{
"id": "a1b2c3d4-5678-9012-3456-789012345678",
"name": "OpenAI 内容生成",
"type": "n8n-nodes-base.openAi",
"position": [
460,
300
],
"parameters": {
"model": "gpt-3.5-turbo",
"prompt": "You are a professional LinkedIn content creator. Generate an engaging, professional post that is 150-300 characters long with relevant hashtags. Focus on industry insights, professional development, or thought leadership topics.\n\nCreate a LinkedIn post about professional growth and continuous learning in the tech industry. Make it inspiring and include 2-3 relevant hashtags.",
"options": {
"topP": 1,
"maxTokens": 200,
"temperature": 0.7
},
"operation": "complete"
},
"credentials": {
"openAiApi": {
"id": "openai-credentials",
"name": "OpenAI API"
}
},
"retryOnFail": {
"enabled": true,
"maxRetries": 3,
"waitBetween": 1000
},
"typeVersion": 1,
"continueOnFail": true
},
{
"id": "e5f6g7h8-9012-3456-7890-123456789012",
"name": "LinkedIn帖子",
"type": "n8n-nodes-base.linkedIn",
"position": [
680,
300
],
"parameters": {
"text": "={{ $json.choices[0].text }}",
"resource": "post",
"operation": "create",
"additionalFields": {
"visibility": "public"
}
},
"credentials": {
"linkedInOAuth2Api": {
"id": "linkedin-oauth",
"name": "LinkedIn OAuth2"
}
},
"retryOnFail": {
"enabled": true,
"maxRetries": 3,
"waitBetween": 1000
},
"typeVersion": 1,
"continueOnFail": true
},
{
"id": "m7n8o9p0-1234-5678-9012-345678901234",
"name": "手动触发器",
"type": "n8n-nodes-base.manualTrigger",
"position": [
240,
180
],
"parameters": {
"options": {}
},
"typeVersion": 1
}
],
"active": false,
"settings": {
"callerPolicy": "workflowsFromSameOwner",
"errorWorkflow": {
"enabled": false
},
"executionOrder": "v1",
"saveManualExecutions": true
},
"versionId": "1.0.0",
"connections": {
"Manual Trigger": {
"main": [
[
{
"node": "OpenAI Content Generation",
"type": "main",
"index": 0
}
]
]
},
"Schedule Trigger": {
"main": [
[
{
"node": "OpenAI Content Generation",
"type": "main",
"index": 0
}
]
]
},
"OpenAI Content Generation": {
"main": [
[
{
"node": "LinkedIn Post",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
这是一个初级难度的工作流,适用于Multimodal AI等场景。适合 n8n 新手,包含 1-5 个节点的简单工作流
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
blog_workflow_template_n8n
使用Claude AI从新闻自动生成WordPress文章并分享到LinkedIn
If
Code
Wait
+10
23 节点Marco Venturi
Content Creation
内容聚合
使用Gemini AI从网站文章自动化社交媒体帖子发布到LinkedIn和X/Twitter
If
Set
Xml
+16
34 节点Vadim
Content Creation
WordPress + 社交媒体
基于GPT/Gemini和WordPress的自动化博客创建与多平台发布
If
Set
Switch
+18
44 节点Khairul Muhtadin
Content Creation
LinkedIn和X病毒内容自动引擎
使用AI生成和发布自动创建LinkedIn和X的病毒内容
If
Set
Wait
+26
156 节点Diptamoy Barman
Content Creation
LinkedIn内容机器
使用Gemini/OpenAI为X和LinkedIn生成并安排社交帖子
Form
Merge
Slack
+11
14 节点Nurseflow
Social Media
jekyll-autopost
Jekyll SEO 博客发布,集成 GPT-4、GitHub 和社交分享
Code
Wait
Github
+10
14 节点Antonio Trento
Content Creation