17 - AI LinkedIn 返信ジェネレーター
中級
これはMultimodal AI分野の自動化ワークフローで、13個のノードを含みます。主にIf, Set, HttpRequest, GoogleSheets, ScheduleTriggerなどのノードを使用。 LinkedIn のコメントへの GPT-3.5 を使った自動返信と Google Sheets 内での追跡
前提条件
- •ターゲットAPIの認証情報が必要な場合あり
- •Google Sheets API認証情報
- •OpenAI API Key
カテゴリー
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
"id": "PUBLIC_LINKEDIN_WORKFLOW_ID",
"meta": {
"instanceId": "PUBLIC_TEMPLATE_INSTANCE",
"templateCredsSetupCompleted": false
},
"name": "17 - AI LinkedIn Responder",
"tags": [],
"nodes": [
{
"id": "9760b272-ad71-47ec-aab8-51eb8b937bb7",
"name": "📥 LinkedInコメントを取得",
"type": "n8n-nodes-base.httpRequest",
"position": [
900,
320
],
"parameters": {
"url": "https://api.linkedin.com/v2/socialActions/urn:li:share:YOUR_POST_ID/comments",
"options": {},
"sendHeaders": true,
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "Bearer YOUR_ACCESS_TOKEN"
},
{
"name": "Content-Type",
"value": "application/json"
}
]
}
},
"credentials": {
"httpHeaderAuth": {
"id": "YOUR_HEADER_AUTH_CREDENTIAL_ID",
"name": "LinkedIn Header Auth"
}
},
"typeVersion": 4.1
},
{
"id": "3a82041d-b02f-4431-97f2-c6760a96324e",
"name": "📊 最終タイムスタンプを設定",
"type": "n8n-nodes-base.set",
"position": [
1120,
220
],
"parameters": {
"options": {}
},
"typeVersion": 3.3
},
{
"id": "6d88d258-ff26-41df-814d-e237f1061dbc",
"name": "🔍 新規コメントをフィルタリング",
"type": "n8n-nodes-base.if",
"position": [
1340,
220
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 1,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "comment-filter-condition",
"operator": {
"type": "dateTime",
"operation": "after",
"rightType": "manual"
},
"leftValue": "={{ $json.created.time }}",
"rightValue": "={{ $node[\"📊 Set Last Timestamp\"].json.lastCommentTimestamp }}"
}
]
}
},
"typeVersion": 2
},
{
"id": "1e19adac-640f-4583-bc80-e9a4e4c8210a",
"name": "🤖 AI返信を生成",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
1560,
220
],
"parameters": {
"modelId": {
"__rl": true,
"mode": "list",
"value": "gpt-3.5-turbo",
"cachedResultName": "GPT-3.5-TURBO"
},
"options": {},
"messages": {
"values": [
{
"content": "You are a helpful social media manager. Generate a professional and engaging reply to the following LinkedIn comment. Keep it concise, positive, and appropriate for business networking.\n\nOriginal comment: {{ $json.message.text }}\n\nReply should be:\n- Professional but friendly\n- Maximum 2-3 sentences\n- Thank the commenter or acknowledge their input\n- Add value or continue the conversation naturally"
}
]
}
},
"credentials": {
"openAiApi": {
"id": "YOUR_OPENAI_CREDENTIAL_ID",
"name": "OpenAI API Credentials"
}
},
"typeVersion": 1
},
{
"id": "abe4892d-9908-4794-ae53-befbdaaacf75",
"name": "💬 LinkedInに返信を投稿",
"type": "n8n-nodes-base.httpRequest",
"position": [
1940,
220
],
"parameters": {
"url": "=https://api.linkedin.com/v2/socialActions/{{ $json.id }}/comments",
"options": {},
"jsonBody": "={\n \"actor\": \"urn:li:person:YOUR_ACTOR_URN\",\n \"message\": {\n \"text\": \"{{ $node[\"🤖 Generate AI Reply\"].json.response }}\"\n }\n}",
"sendBody": true,
"sendHeaders": true,
"specifyBody": "json",
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "Bearer YOUR_ACCESS_TOKEN"
},
{
"name": "Content-Type",
"value": "application/json"
}
]
}
},
"typeVersion": 4.1
},
{
"id": "dcaef8a6-4d04-4eac-b01b-f03984556e34",
"name": "📋 ワークフローノート2",
"type": "n8n-nodes-base.stickyNote",
"position": [
620,
-200
],
"parameters": {
"color": 5,
"width": 440,
"height": 740,
"content": "## Nodes Covered: LinkedIn API, Scheduling, Google Sheet\n\n📅 Note:\n\nAUTOMATED LINKEDIN COMMENT MONITORING\n\n*Fetches comments from a specific LinkedIn post every 10 minutes using LinkedIn's API. It authenticates via header-based token access and ensures updated responses by scheduling regular runs.*\n\n*And also reads timestamps of the comments from the sheet*"
},
"typeVersion": 1
},
{
"id": "226eb70b-6529-48fe-9c60-872eb15a59e4",
"name": "⏰ 10分ごとに実行",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
680,
220
],
"parameters": {
"rule": {
"interval": [
{
"field": "minutes",
"minutesInterval": 10
}
]
}
},
"typeVersion": 1.2
},
{
"id": "65caa63a-15c2-4ff1-9917-ff5e6f0789d2",
"name": "付箋",
"type": "n8n-nodes-base.stickyNote",
"position": [
1080,
-200
],
"parameters": {
"width": 420,
"height": 740,
"content": "## Nodes Covered: Data Filtering\n\n📊 Note:\n\nDYNAMIC COMMENT FILTERING\n\n*Retrieves the timestamp of the last processed comment from a Google Sheet, and filters out already-handled entries to focus only on newly received comments.*"
},
"typeVersion": 1
},
{
"id": "d30d1fda-a75d-4017-bec8-8eb02541be05",
"name": "付箋1",
"type": "n8n-nodes-base.stickyNote",
"position": [
1520,
-200
],
"parameters": {
"color": 3,
"width": 340,
"height": 740,
"content": "## Nodes Covered: OpenAI Analysis\n\n🧠 Note:\n\nAI-GENERATED LINKEDIN ENGAGEMENT\n\n*Uses OpenAI (GPT-3.5 Turbo) to generate friendly and professional replies to new LinkedIn comments. Prompts are structured to ensure tone, brevity, and contextual relevance for networking.*"
},
"typeVersion": 1
},
{
"id": "5885c2a3-43db-4184-af9b-759ba9d7cc99",
"name": "付箋2",
"type": "n8n-nodes-base.stickyNote",
"position": [
1880,
-200
],
"parameters": {
"color": 4,
"width": 220,
"height": 740,
"content": "## Nodes Covered: LinkedIn API, AI Output Delivery\n\n💬 Note:\n\nAUTOMATED COMMENT REPLY POSTING\n\n*Takes AI-generated replies and posts them back to LinkedIn as responses under the original comment thread, maintaining the actor identity and message formatting.*\n"
},
"typeVersion": 1
},
{
"id": "c50f65cb-00d1-40e4-b5a0-5640c25edb79",
"name": "付箋3",
"type": "n8n-nodes-base.stickyNote",
"position": [
2120,
-200
],
"parameters": {
"color": 6,
"width": 220,
"height": 740,
"content": "## Nodes Covered: Google Sheets (Write)\n\n💾 Note:\n\nCOMMENT DATA ARCHIVAL\n\n*Appends processed LinkedIn comments and associated metadata into a structured Google Sheet for tracking, review, or future analytics.*"
},
"typeVersion": 1
},
{
"id": "6c6ccc12-0678-4cec-9257-97a9b1c67022",
"name": "📊 最終コメントタイムスタンプを取得",
"type": "n8n-nodes-base.googleSheets",
"position": [
900,
140
],
"parameters": {
"options": {},
"sheetName": {
"__rl": true,
"mode": "id",
"value": "YOUR_SHEET_NAME_OR_GID"
},
"documentId": {
"__rl": true,
"mode": "id",
"value": "YOUR_GOOGLE_SHEET_DOCUMENT_ID"
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "YOUR_GOOGLE_SHEETS_CREDENTIAL_ID",
"name": "Google Sheets OAuth2 API"
}
},
"typeVersion": 4.4
},
{
"id": "93407535-d411-4407-800c-df6930304cb3",
"name": "💾 コメントデータを保存",
"type": "n8n-nodes-base.googleSheets",
"position": [
2160,
220
],
"parameters": {
"columns": {
"value": {},
"schema": [],
"mappingMode": "defineBelow",
"matchingColumns": [],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {},
"operation": "append",
"sheetName": {
"__rl": true,
"mode": "id",
"value": "YOUR_SHEET_NAME_OR_GID"
},
"documentId": {
"__rl": true,
"mode": "id",
"value": "YOUR_GOOGLE_SHEET_DOCUMENT_ID"
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "YOUR_GOOGLE_SHEETS_CREDENTIAL_ID",
"name": "Google Sheets OAuth2 API"
}
},
"typeVersion": 4.4
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "PUBLIC_VERSION_ID",
"connections": {
"226eb70b-6529-48fe-9c60-872eb15a59e4": {
"main": [
[
{
"node": "9760b272-ad71-47ec-aab8-51eb8b937bb7",
"type": "main",
"index": 0
},
{
"node": "6c6ccc12-0678-4cec-9257-97a9b1c67022",
"type": "main",
"index": 0
}
]
]
},
"1e19adac-640f-4583-bc80-e9a4e4c8210a": {
"main": [
[
{
"node": "abe4892d-9908-4794-ae53-befbdaaacf75",
"type": "main",
"index": 0
}
]
]
},
"3a82041d-b02f-4431-97f2-c6760a96324e": {
"main": [
[
{
"node": "6d88d258-ff26-41df-814d-e237f1061dbc",
"type": "main",
"index": 0
}
]
]
},
"abe4892d-9908-4794-ae53-befbdaaacf75": {
"main": [
[
{
"node": "93407535-d411-4407-800c-df6930304cb3",
"type": "main",
"index": 0
}
]
]
},
"6d88d258-ff26-41df-814d-e237f1061dbc": {
"main": [
[
{
"node": "1e19adac-640f-4583-bc80-e9a4e4c8210a",
"type": "main",
"index": 0
}
]
]
},
"9760b272-ad71-47ec-aab8-51eb8b937bb7": {
"main": [
[
{
"node": "3a82041d-b02f-4431-97f2-c6760a96324e",
"type": "main",
"index": 0
}
]
]
},
"6c6ccc12-0678-4cec-9257-97a9b1c67022": {
"main": [
[
{
"node": "3a82041d-b02f-4431-97f2-c6760a96324e",
"type": "main",
"index": 0
}
]
]
}
}
}よくある質問
このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
中級 - マルチモーダルAI
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
11 - B2B インテリジェンスアップロードリンク
GPT-4o-mini を使って Google Sheets の会社情報を自動で豊富にし、HubSpot との同期
If
Set
Hubspot
+
If
Set
Hubspot
13 ノードAvkash Kakdiya
リード獲得
09 - リードプロフィール強化ツール
自動化されたリード情報の豊富さとパーソナライズされたアウトレーシュ:HubSpot、Phantombuster、GPT
If
Set
Code
+
If
Set
Code
30 ノードAvkash Kakdiya
リードナーチャリング
AI 製品画像ジェネレーター - 公開テンプレート
OpenAI・Gemini・Google Workspace を使用した自動製品広告画像の作成
Code
Google Drive
Http Request
+
Code
Google Drive
Http Request
15 ノードAvkash Kakdiya
コンテンツ作成
08 - AIビデオ生成
OpenAI、Veo 3、Gmailを使用して任意のテーマの短い動画を作成
If
Wait
Gmail
+
If
Wait
Gmail
14 ノードAvkash Kakdiya
コンテンツ作成
10 - ビジネスマップトラッカー
SerpAPI、Google Table、Airtableを使用した毎日の競合調査の自動化
If
Code
Airtable
+
If
Code
Airtable
15 ノードAvkash Kakdiya
市場調査
AI駆動型動画制作&Instagram/TikTok/YouTubeへの自動アップロード
クラウドドライブからAI駆動の動画作成およびInstagram、TikTok、YouTubeへのアップロード
If
Set
Code
+
If
Set
Code
53 ノードDevCode Journey
コンテンツ作成
ワークフロー情報
難易度
中級
ノード数13
カテゴリー1
ノードタイプ7
作成者
Avkash Kakdiya
@itechnotion🚀 Founder of iTechNotion — we build custom AI-powered automation workflows for startups, agencies, and founders. 💡 Specializing in agentic AI systems, content automation, sales funnels, and digital workers. 🔧 14+ years in tech | Building scalable no-code/low-code solutions using n8n, OpenAI, and other API-first tools. 📬 Let’s automate what slows you down.
外部リンク
n8n.ioで表示 →
このワークフローを共有