LinkedInコンテンツマシン
中級
これはSocial Media, Multimodal AI分野の自動化ワークフローで、14個のノードを含みます。主にForm, Merge, Slack, OpenAi, Twitterなどのノードを使用。 XとLinkedIn向けにGemini/OpenAIを使ってソーシャル投稿を生成してスケジュールする
前提条件
- •Slack Bot Token または Webhook URL
- •OpenAI API Key
- •Twitter API認証情報
- •LinkedIn API認証情報
- •ターゲットAPIの認証情報が必要な場合あり
- •Google Sheets API認証情報
- •Google Gemini API Key
使用ノード (14)
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
"id": "2MkrpeTUd7VHfSS9",
"meta": {
"instanceId": "e6142c3f5e31c23fb05dc2061d25cd2a74cf8639c4bc5152accf8c08b0d8f6ea"
},
"name": "Linkedin content machine",
"tags": [],
"nodes": [
{
"id": "5b1cc120-3c02-46b4-bfc7-bdc9e9ae363d",
"name": "Google Gemini Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"position": [
-980,
80
],
"parameters": {
"options": {},
"modelName": "models/gemini-2.0-flash"
},
"typeVersion": 1
},
{
"id": "b7447847-28bc-4ee3-9518-46dc3210268b",
"name": "投稿タイトルを受信",
"type": "n8n-nodes-base.formTrigger",
"position": [
-1180,
-140
],
"webhookId": "4d921ee9-7668-4133-8750-4e35f9fc2353",
"parameters": {
"options": {},
"formTitle": "post",
"formFields": {
"values": [
{
"fieldLabel": "post title"
}
]
},
"authentication": "basicAuth",
"formDescription": "post"
},
"typeVersion": 2.2
},
{
"id": "9b52651d-ab43-429a-9176-56ed29afee35",
"name": "AIコンテンツを生成",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
-980,
-140
],
"parameters": {
"text": "=\nwrite min 50 word about this topic '{{ $json[\"post title\"] }}'\nfor Linkedin and X platform separately",
"options": {},
"promptType": "define",
"hasOutputParser": true
},
"typeVersion": 1.7
},
{
"id": "f363dad1-532e-423d-b0ff-1f4ffa48dd9e",
"name": "AI出力をフォーマット",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
-820,
120
],
"parameters": {
"schemaType": "manual",
"inputSchema": "{\n \"type\": \"object\",\n \"properties\": {\n \"event_name\": {\n \"type\": \"string\"\n },\n \"event_description\": {\n \"type\": \"string\"\n },\n \"platform_posts\": {\n \"type\": \"object\",\n \"properties\": {\n \"LinkedIn\": {\n \"type\": \"object\",\n \"properties\": {\n \"post\": {\n \"type\": \"string\"\n },\n \"hashtags\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n },\n \"call_to_action\": {\n \"type\": \"string\"\n }\n }\n },\n \"Twitter\": {\n \"type\": \"object\",\n \"properties\": {\n \"post\": {\n \"type\": \"string\"\n },\n \"hashtags\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n },\n \"character_limit\": {\n \"type\": \"integer\"\n }\n }\n }\n }\n },\n \"additional_notes\": {\n \"type\": \"string\"\n }\n }\n}"
},
"typeVersion": 1.2
},
{
"id": "e8fd6a4f-9448-4c76-96b0-895d6fc0b30c",
"name": "Xに投稿",
"type": "n8n-nodes-base.twitter",
"position": [
-600,
-240
],
"parameters": {
"text": "={{ $json.output.platform_posts.Twitter.post }}",
"additionalFields": {}
},
"typeVersion": 2
},
{
"id": "2f73b732-c9db-4ee8-8d58-38c4cbb562ec",
"name": "LinkedInに投稿",
"type": "n8n-nodes-base.linkedIn",
"position": [
-600,
-20
],
"parameters": {
"text": "={{ $json.output.platform_posts.LinkedIn.post }}",
"person": "-HtNhNKSsE",
"additionalFields": {}
},
"typeVersion": 1
},
{
"id": "14220250-98e1-4c4e-84d8-8dedc9dc3532",
"name": "LinkedinとXの公開応答を追加",
"type": "n8n-nodes-base.merge",
"position": [
-320,
-120
],
"parameters": {
"mode": "combine",
"options": {},
"combineBy": "combineAll"
},
"typeVersion": 3
},
{
"id": "351351dd-da19-421c-8a94-dc7687a05097",
"name": "確認を表示",
"type": "n8n-nodes-base.form",
"position": [
-100,
-120
],
"webhookId": "9c0b2419-aff6-40dd-95f7-5dfd0a88d46c",
"parameters": {
"options": {},
"operation": "completion",
"completionTitle": "Your post has been successfully shared",
"completionMessage": "=🔗 View your posts:\n\nX (Twitter): \n[https://x.com/x/status/{{ $json.id }}]\n\nLinkedIn:\n[https://www.linkedin.com/feed/update/{{ $json.urn }}]"
},
"typeVersion": 1
},
{
"id": "2a1b857a-cc59-4662-806b-d74d0416d2e5",
"name": "スケジュールトリガー",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
-1120,
520
],
"parameters": {
"rule": {
"interval": [
{}
]
}
},
"typeVersion": 1
},
{
"id": "38e09681-ab07-4479-b5fb-b66af78f72d8",
"name": "LinkedIn投稿を取得",
"type": "n8n-nodes-base.httpRequest",
"position": [
-880,
520
],
"parameters": {
"url": "https://api.apify.com/v2/actor-tasks/your-task-id/runs/last/dataset/items?token=YOUR_APIFY_TOKEN",
"options": {},
"jsonParameters": true
},
"typeVersion": 1
},
{
"id": "9d9af28f-82d8-484d-a4da-b24076861b90",
"name": "高エンゲージメント投稿をフィルタリング",
"type": "n8n-nodes-base.function",
"position": [
-660,
520
],
"parameters": {
"functionCode": "return items.filter(item => item.json.engagement && item.json.engagement.likes > 10);"
},
"typeVersion": 1
},
{
"id": "108bf9c2-cbed-4d38-b9ce-8a88bab7f782",
"name": "投稿アイデアを生成 (OpenAI)",
"type": "n8n-nodes-base.openAi",
"position": [
-460,
520
],
"parameters": {
"model": "gpt-4o-mini",
"options": {},
"requestOptions": {}
},
"typeVersion": 1
},
{
"id": "9acab2bf-974f-432c-8dd0-3fcd78bd5f31",
"name": "下書きをGoogle Sheetsに保存",
"type": "n8n-nodes-base.googleSheets",
"position": [
-260,
520
],
"parameters": {
"range": "Sheet1!A:B",
"options": {},
"sheetId": "YOUR_GOOGLE_SHEET_ID",
"operation": "append"
},
"typeVersion": 1
},
{
"id": "9326e33a-24d1-4b49-bb60-fa40fefaf0b9",
"name": "レビュアーに通知 (Slack)",
"type": "n8n-nodes-base.slack",
"position": [
-60,
520
],
"parameters": {
"text": "New LinkedIn post ideas are ready for review:\n\n{{$json[\"choices\"][0].message.content}}",
"channel": "YOUR_SLACK_CHANNEL",
"attachments": [],
"otherOptions": {}
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "d8bd4e59-84a9-4e7d-bdae-557a8056ad95",
"connections": {
"e8fd6a4f-9448-4c76-96b0-895d6fc0b30c": {
"main": [
[
{
"node": "14220250-98e1-4c4e-84d8-8dedc9dc3532",
"type": "main",
"index": 0
}
]
]
},
"f363dad1-532e-423d-b0ff-1f4ffa48dd9e": {
"ai_outputParser": [
[
{
"node": "9b52651d-ab43-429a-9176-56ed29afee35",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"2f73b732-c9db-4ee8-8d58-38c4cbb562ec": {
"main": [
[
{
"node": "14220250-98e1-4c4e-84d8-8dedc9dc3532",
"type": "main",
"index": 1
}
]
]
},
"2a1b857a-cc59-4662-806b-d74d0416d2e5": {
"main": [
[
{
"node": "38e09681-ab07-4479-b5fb-b66af78f72d8",
"type": "main",
"index": 0
}
]
]
},
"b7447847-28bc-4ee3-9518-46dc3210268b": {
"main": [
[
{
"node": "9b52651d-ab43-429a-9176-56ed29afee35",
"type": "main",
"index": 0
}
]
]
},
"9b52651d-ab43-429a-9176-56ed29afee35": {
"main": [
[
{
"node": "e8fd6a4f-9448-4c76-96b0-895d6fc0b30c",
"type": "main",
"index": 0
},
{
"node": "2f73b732-c9db-4ee8-8d58-38c4cbb562ec",
"type": "main",
"index": 0
}
]
]
},
"38e09681-ab07-4479-b5fb-b66af78f72d8": {
"main": [
[
{
"node": "9d9af28f-82d8-484d-a4da-b24076861b90",
"type": "main",
"index": 0
}
]
]
},
"5b1cc120-3c02-46b4-bfc7-bdc9e9ae363d": {
"ai_languageModel": [
[
{
"node": "9b52651d-ab43-429a-9176-56ed29afee35",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"9d9af28f-82d8-484d-a4da-b24076861b90": {
"main": [
[
{
"node": "108bf9c2-cbed-4d38-b9ce-8a88bab7f782",
"type": "main",
"index": 0
}
]
]
},
"108bf9c2-cbed-4d38-b9ce-8a88bab7f782": {
"main": [
[
{
"node": "9acab2bf-974f-432c-8dd0-3fcd78bd5f31",
"type": "main",
"index": 0
}
]
]
},
"9acab2bf-974f-432c-8dd0-3fcd78bd5f31": {
"main": [
[
{
"node": "9326e33a-24d1-4b49-bb60-fa40fefaf0b9",
"type": "main",
"index": 0
}
]
]
},
"14220250-98e1-4c4e-84d8-8dedc9dc3532": {
"main": [
[
{
"node": "351351dd-da19-421c-8a94-dc7687a05097",
"type": "main",
"index": 0
}
]
]
}
}
}よくある質問
このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
中級 - ソーシャルメディア, マルチモーダルAI
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
ポストファクトリー
OpenAI、LinkedIn、TwitterによるSlack承認に基づくソーシャルメディアコンテンツ作成の自動化
If
Gmail
Slack
+
If
Gmail
Slack
22 ノードSaloni Malhotra
ソーシャルメディア
コンテンツ集約
Gemini AIを使ってウェブ記事からLinkedInとX/Twitterへのソーシャルメディア投稿を自動化する
If
Set
Xml
+
If
Set
Xml
34 ノードVadim
コンテンツ作成
LinkedInおよびXウイルスのなコンテンツ自動エンジン
AIを使ってLinkedInとXにウイルスのなコンテンツを自動生成して公開する
If
Set
Wait
+
If
Set
Wait
156 ノードDiptamoy Barman
コンテンツ作成
AI生成LinkedIn投稿(人間による承認付き)
GPT-4、GoToHuman、Blotatoを使用したAI生成LinkedIn投稿(人間による承認付き)
Code
Merge
Filter
+
Code
Merge
Filter
19 ノードRobert Breen
ソーシャルメディア
ソーシャルメディアチュートリアル
AIベースのソーシャルメディアコンテンツ生成&公開
Set
Code
Form
+
Set
Code
Form
26 ノードAmjid Ali
人工知能
RSS から LinkedIn への自動投稿機能
RSS + Gemini AI + Templated.ioを使用してLinkedInの企業ページに自動のに企画立案し公開
If
Code
Linked In
+
If
Code
Linked In
19 ノードShrishti S Nagar
ソーシャルメディア