Instagram自動フォロー - Creator Hub
上級
これはSocial Media分野の自動化ワークフローで、22個のノードを含みます。主にSet, Wait, Phantombuster, Agent, ExtractFromFileなどのノードを使用。 PhantombusterとSharePointを使ってInstagramのプロフィールを自動フォロー
前提条件
- •OpenAI API Key
使用ノード (22)
カテゴリー
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
"id": "nM8KB1VpIzL1qQAM",
"meta": {
"instanceId": "2cf742429c2e3ee4e5a20069d3d8a75208519303b864f026a79464efa726bd95",
"templateCredsSetupCompleted": true
},
"name": "Instagram Auto Following - Creators Hub",
"tags": [],
"nodes": [
{
"id": "c8aa6db4-9ac4-4dd6-a6e5-199fc00e91f6",
"name": "待機",
"type": "n8n-nodes-base.wait",
"position": [
-480,
-1600
],
"webhookId": "a863956e-9993-4723-bab6-116be5b6483b",
"parameters": {
"amount": 30
},
"typeVersion": 1.1
},
{
"id": "040e11d3-58be-48ed-b927-3d3d23c7d76f",
"name": "エージェント起動",
"type": "n8n-nodes-base.phantombuster",
"position": [
-704,
-1600
],
"parameters": {
"agentId": "={{ $('Get Follower Collector').item.json.id }}",
"jsonParameters": true,
"additionalFields": {
"argumentsJson": "={\n \"numberofProfilesperLaunch\": {{ $('Set ENV Variables').item.json.ENV_PROFILES_TO_PROCESS }},\n \"sessionCookie\": \"{{ $('Set ENV Variables').item.json.ENV_SESSION_COOKIE }}\",\n \"spreadsheetUrl\": \"{{ $json['@content.downloadUrl'] }}\",\n \"numberMaxOfFollowers\": {{ $('Set ENV Variables').item.json.ENV_AMOUNT_FOLLOWERS_PER_PROFILE }}\n} "
}
},
"credentials": {
"phantombusterApi": {
"id": "Zf0AAqqdjBFfyW4W",
"name": "Phantombuster account"
}
},
"typeVersion": 1
},
{
"id": "4a236261-c86d-4ffe-870f-dcd671e5df6d",
"name": "ACエージェント起動",
"type": "n8n-nodes-base.phantombuster",
"position": [
-976,
-1216
],
"parameters": {
"agentId": "798529539709482",
"jsonParameters": true,
"additionalFields": {
"argumentsJson": "={\n \"numberOfProfilesPerLaunch\": {{ $('Set ENV Variables').first().json.ENV_PROFILES_TO_PROCESS }},\n \"sessionCookie\": \"{{ $('Set ENV Variables').first().json.ENV_SESSION_COOKIE }}\",\n \"spreadsheetUrl\": \"{{ $('Get Followers').first().json.profileUrl }}\"\n}"
}
},
"credentials": {
"phantombusterApi": {
"id": "Zf0AAqqdjBFfyW4W",
"name": "Phantombuster account"
}
},
"typeVersion": 1
},
{
"id": "0151529b-c837-46cd-9206-a9aa852a245c",
"name": "応答取得",
"type": "n8n-nodes-base.phantombuster",
"position": [
-576,
-1216
],
"parameters": {
"agentId": "798529539709482",
"operation": "getOutput",
"additionalFields": {}
},
"credentials": {
"phantombusterApi": {
"id": "Zf0AAqqdjBFfyW4W",
"name": "Phantombuster account"
}
},
"typeVersion": 1
},
{
"id": "d02ecaab-1458-4c7f-aa42-8ca090502861",
"name": "付箋",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1424,
-1744
],
"parameters": {
"color": 5,
"width": 1324,
"height": 412,
"content": "## Get List of Accounts and all Followers of that Account\n"
},
"typeVersion": 1
},
{
"id": "74e88554-9696-49d1-bf60-26e715c21dca",
"name": "付箋2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1424,
-1312
],
"parameters": {
"width": 1316,
"height": 348,
"content": "## Launch Autofollow Agent to Follow Accounts\n"
},
"typeVersion": 1
},
{
"id": "175074db-a8d4-42fe-97bb-ef45394bc666",
"name": "フォロワーコレクター取得",
"type": "n8n-nodes-base.phantombuster",
"position": [
-1152,
-1600
],
"parameters": {
"agentId": "1481471730276201",
"operation": "get"
},
"credentials": {
"phantombusterApi": {
"id": "Zf0AAqqdjBFfyW4W",
"name": "Phantombuster account"
}
},
"typeVersion": 1
},
{
"id": "b93020ae-5c68-42d4-b100-13bab41fb7f3",
"name": "フォロワー取得",
"type": "n8n-nodes-base.phantombuster",
"position": [
-272,
-1600
],
"parameters": {
"agentId": "1481471730276201",
"operation": "getOutput",
"additionalFields": {}
},
"credentials": {
"phantombusterApi": {
"id": "Zf0AAqqdjBFfyW4W",
"name": "Phantombuster account"
}
},
"typeVersion": 1
},
{
"id": "81c0399f-db23-40a8-a3ee-039db367d6ee",
"name": "アカウントリスト取得",
"type": "n8n-nodes-base.microsoftSharePoint",
"position": [
-928,
-1600
],
"parameters": {
"file": {
"__rl": true,
"mode": "list",
"value": "01M45PWA2DXMAMDIHRJ5DLNZFFQRKUD25O",
"cachedResultName": "accounts_to_follow.csv"
},
"site": {
"__rl": true,
"mode": "list",
"value": "plemeo.sharepoint.com,f304c34c-1252-4b99-a852-059c2036c718,c3bf26ab-bf44-4334-8e5b-e8b680bb9e1d",
"cachedResultName": "plemeo"
},
"folder": {
"__rl": true,
"mode": "list",
"value": "01M45PWAY4RSXX7PGSC5CL27V2Y7XYSNQZ",
"cachedResultName": "Phantombuster"
},
"fileName": "accounts_to_follow.csv",
"operation": "update",
"requestOptions": {}
},
"credentials": {
"microsoftSharePointOAuth2Api": {
"id": "jZkLTQXyVEzxtmp3",
"name": "Microsoft SharePoint account"
}
},
"typeVersion": 1
},
{
"id": "fcab1649-9f85-4dd6-ae96-b6b9756ed7dc",
"name": "自動フォローエージェント取得",
"type": "n8n-nodes-base.phantombuster",
"position": [
-1216,
-1216
],
"parameters": {
"agentId": "798529539709482",
"operation": "get"
},
"credentials": {
"phantombusterApi": {
"id": "Zf0AAqqdjBFfyW4W",
"name": "Phantombuster account"
}
},
"typeVersion": 1
},
{
"id": "c9a884f0-6ccb-4ae3-ab1e-724bbd96a1e7",
"name": "結果待機",
"type": "n8n-nodes-base.wait",
"position": [
-784,
-1216
],
"webhookId": "ed20e8e0-6e55-41d7-bda6-4cf1c0d32b1e",
"parameters": {
"amount": 30
},
"typeVersion": 1.1
},
{
"id": "5604adb6-3ddf-4c64-8589-170caa1813df",
"name": "環境変数設定",
"type": "n8n-nodes-base.set",
"position": [
-1328,
-1600
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "a897adc5-6c18-4bc6-b1ae-6db02b884f2f",
"name": "ENV_SESSION_COOKIE",
"type": "string",
"value": "={{ $('Select Cookie').first().json.output.parseJson().session_cookie }}"
},
{
"id": "3d571e3c-7110-48c5-af2d-7727079b3747",
"name": "ENV_PROFILES_TO_PROCESS",
"type": "string",
"value": "1"
},
{
"id": "fc8e2505-be84-4cfd-973a-5dd7d717a9a5",
"name": "ENV_AMOUNT_FOLLOWERS_PER_PROFILE",
"type": "string",
"value": "1"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "01f1c2cc-59aa-467f-94f1-874d157e460d",
"name": "スケジュールトリガー",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
-1264,
-2032
],
"parameters": {
"rule": {
"interval": [
{
"field": "hours",
"triggerAtMinute": 35
}
]
}
},
"typeVersion": 1.2
},
{
"id": "afb4b5f2-3288-41cc-9b65-e73cc7785a93",
"name": "OpenAI チャットモデル",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-640,
-1856
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "chatgpt-4o-latest",
"cachedResultName": "chatgpt-4o-latest"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "E4PFATctY0kV00hl",
"name": "OpenAi account"
}
},
"typeVersion": 1.2
},
{
"id": "e225ded4-30c6-41e1-99f6-354d3ec32282",
"name": "利用可能セッションCookie取得",
"type": "n8n-nodes-base.microsoftSharePoint",
"position": [
-1040,
-2032
],
"parameters": {
"file": {
"__rl": true,
"mode": "list",
"value": "01M45PWA5FHBKEDCMCXRBJK64QFIFWOCQE",
"cachedResultName": "instagram_session_cookies.txt"
},
"site": {
"__rl": true,
"mode": "list",
"value": "plemeo.sharepoint.com,f304c34c-1252-4b99-a852-059c2036c718,c3bf26ab-bf44-4334-8e5b-e8b680bb9e1d",
"cachedResultName": "plemeo"
},
"folder": {
"__rl": true,
"mode": "list",
"value": "01M45PWAY4RSXX7PGSC5CL27V2Y7XYSNQZ",
"cachedResultName": "Phantombuster"
},
"requestOptions": {}
},
"credentials": {
"microsoftSharePointOAuth2Api": {
"id": "jZkLTQXyVEzxtmp3",
"name": "Microsoft SharePoint account"
}
},
"typeVersion": 1
},
{
"id": "be9bcd84-c3d0-464e-9db2-0aedd4b3c6c2",
"name": "Cookie抽出",
"type": "n8n-nodes-base.extractFromFile",
"position": [
-832,
-2032
],
"parameters": {
"options": {},
"operation": "text"
},
"typeVersion": 1
},
{
"id": "7396cbf4-8078-4eb2-866b-2baa63cf4812",
"name": "Cookie選択",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
-624,
-2032
],
"parameters": {
"text": "=################## PROMPT ##################\n\n**ROLE:** You are a session-cookie selector.\n\n**CURRENT BERLIN TIME** \nDate & time : {{ $now.setZone('Europe/Berlin').format('DD HH:mm:ss') }} \nHour (00-23): {{ $now.setZone('Europe/Berlin').format('HH') }}\n\n**SESSION COOKIES (keep order):** \n{{ $json.data }}\n\n**SELECTION LOGIC**\n\n1. Let \n • N = number of cookies in the list (2 ≤ N ≤ 4). \n • H = current hour as an integer (0–23). \n • W = 24 ÷ N (the width of each time slice in hours, always an integer).\n\n2. Determine the slice index: \n sliceIndex = floor(H ÷ W) // 0-based\n\n3. Choose the cookie at position *(sliceIndex + 1)* in the list. \n • Example when N = 4 (W = 6): \n 00-05 → 1st, 06-11 → 2nd, 12-17 → 3rd, 18-23 → 4th \n • Example when N = 3 (W = 8): \n 00-07 → 1st, 08-15 → 2nd, 16-23 → 3rd \n • Example when N = 2 (W = 12): \n 00-11 → 1st, 12-23 → 2nd\n\n**OUTPUT FORMAT** \nReturn only the selected session cookie value in a valid JSON-Field called \"session_cookie\", nothing else.\n\n##############################################",
"options": {},
"promptType": "define"
},
"typeVersion": 2
},
{
"id": "0e998d01-aab5-40b7-8659-4562ac6afbed",
"name": "付箋3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1424,
-2176
],
"parameters": {
"color": 6,
"width": 1324,
"height": 412,
"content": "## Start Workflow and Retrieve Session Cookie\n"
},
"typeVersion": 1
},
{
"id": "f0d9133c-ec1e-48ea-bb33-af1c3597bf88",
"name": "付箋4",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1904,
-2176
],
"parameters": {
"width": 464,
"height": 288,
"content": "### 1) Cookie Rotation \n**What it does** \n• Downloads cookie list ➜ **Select Cookie** picks one based on time slice \n (0–23 h divided evenly).\n\n**Credentials** \nSharePoint OAuth2 + optional OpenAI.\n\n**Tweaks** \n• Add/remove cookies in SharePoint file. \n• Adjust selection logic in the prompt if you add more cookies."
},
"typeVersion": 1
},
{
"id": "d7bab9f3-4b87-4a55-ab65-4472e68a7897",
"name": "付箋5",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1904,
-1744
],
"parameters": {
"width": 464,
"height": 272,
"content": "### 2) Seed Profile Handling \n**What it does** \n• Gets `accounts_to_follow.csv` from SharePoint. \n• **Follower Collector Agent** gathers followers of each seed profile.\n\n**Credentials** \nSharePoint OAuth2 + Phantombuster API.\n\n**Tweaks** \n• Add or remove seed profiles in the CSV. \n• Change `ENV_AMOUNT_FOLLOWERS_PER_PROFILE` to limit scrape size."
},
"typeVersion": 1
},
{
"id": "5c8f8d24-dc66-4082-b562-d80d729568dc",
"name": "付箋6",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1872,
-1312
],
"parameters": {
"width": 432,
"height": 288,
"content": "### 3) Auto-follow Execution \n**What it does** \n• **Autofollow Agent** follows up to\n `ENV_PROFILES_TO_PROCESS` new profiles per launch.\n\n**Credentials** \nPhantombuster API + SharePoint OAuth2 (for cookie download).\n\n**Tweaks** \n• Increase `ENV_PROFILES_TO_PROCESS` for faster growth. \n• Edit arguments JSON inside **Launch AC Agent** to follow in batches."
},
"typeVersion": 1
},
{
"id": "d3e9b8ed-349a-4b2c-a258-a8158dce5f84",
"name": "付箋7",
"type": "n8n-nodes-base.stickyNote",
"position": [
-96,
-1312
],
"parameters": {
"width": 448,
"height": 272,
"content": "### 4) Rate Limiting & Scheduling \n**What it does** \n• Hourly cron plus **Wait** nodes limit follows (1–40/h).\n\n**Credentials** \nNone\n\n**Tweaks** \n• Change cron minute or interval. \n• Reduce Wait times if your plan allows more runs/day."
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "959522e3-de06-4bb2-92c5-ecb1a2cca62f",
"connections": {
"c8aa6db4-9ac4-4dd6-a6e5-199fc00e91f6": {
"main": [
[
{
"node": "b93020ae-5c68-42d4-b100-13bab41fb7f3",
"type": "main",
"index": 0
}
]
]
},
"0151529b-c837-46cd-9206-a9aa852a245c": {
"main": [
[]
]
},
"040e11d3-58be-48ed-b927-3d3d23c7d76f": {
"main": [
[
{
"node": "c8aa6db4-9ac4-4dd6-a6e5-199fc00e91f6",
"type": "main",
"index": 0
}
]
]
},
"b93020ae-5c68-42d4-b100-13bab41fb7f3": {
"main": [
[
{
"node": "fcab1649-9f85-4dd6-ae96-b6b9756ed7dc",
"type": "main",
"index": 0
}
]
]
},
"7396cbf4-8078-4eb2-866b-2baa63cf4812": {
"main": [
[
{
"node": "5604adb6-3ddf-4c64-8589-170caa1813df",
"type": "main",
"index": 0
}
]
]
},
"be9bcd84-c3d0-464e-9db2-0aedd4b3c6c2": {
"main": [
[
{
"node": "7396cbf4-8078-4eb2-866b-2baa63cf4812",
"type": "main",
"index": 0
}
]
]
},
"4a236261-c86d-4ffe-870f-dcd671e5df6d": {
"main": [
[
{
"node": "c9a884f0-6ccb-4ae3-ab1e-724bbd96a1e7",
"type": "main",
"index": 0
}
]
]
},
"c9a884f0-6ccb-4ae3-ab1e-724bbd96a1e7": {
"main": [
[
{
"node": "0151529b-c837-46cd-9206-a9aa852a245c",
"type": "main",
"index": 0
}
]
]
},
"01f1c2cc-59aa-467f-94f1-874d157e460d": {
"main": [
[
{
"node": "e225ded4-30c6-41e1-99f6-354d3ec32282",
"type": "main",
"index": 0
}
]
]
},
"afb4b5f2-3288-41cc-9b65-e73cc7785a93": {
"ai_languageModel": [
[
{
"node": "7396cbf4-8078-4eb2-866b-2baa63cf4812",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"5604adb6-3ddf-4c64-8589-170caa1813df": {
"main": [
[
{
"node": "175074db-a8d4-42fe-97bb-ef45394bc666",
"type": "main",
"index": 0
}
]
]
},
"fcab1649-9f85-4dd6-ae96-b6b9756ed7dc": {
"main": [
[
{
"node": "4a236261-c86d-4ffe-870f-dcd671e5df6d",
"type": "main",
"index": 0
}
]
]
},
"81c0399f-db23-40a8-a3ee-039db367d6ee": {
"main": [
[
{
"node": "040e11d3-58be-48ed-b927-3d3d23c7d76f",
"type": "main",
"index": 0
}
]
]
},
"175074db-a8d4-42fe-97bb-ef45394bc666": {
"main": [
[
{
"node": "81c0399f-db23-40a8-a3ee-039db367d6ee",
"type": "main",
"index": 0
}
]
]
},
"e225ded4-30c6-41e1-99f6-354d3ec32282": {
"main": [
[
{
"node": "be9bcd84-c3d0-464e-9db2-0aedd4b3c6c2",
"type": "main",
"index": 0
}
]
]
}
}
}よくある質問
このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
上級 - ソーシャルメディア
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
Instagram自動コメント - Creator Hub
GPT-4o、Phantombuster、SharePointを使ってInstagramの投稿を自動コメント
If
Set
Code
+
If
Set
Code
39 ノードplemeo
ソーシャルメディア
Instagram 自動いいね(プロフィール投稿抽出機能)- クリエイター center
PhantombusterとSharePointを使って選択したプロフィールのInstagram投稿を自動のにいいねする
If
Set
Code
+
If
Set
Code
38 ノードplemeo
ソーシャルメディア
LinkedIn 自動いいね - クリエイター center
GPT-4o、Phantombuster、SharePointを使ってLinkedInの投稿を自動のにいいねする
If
Set
Code
+
If
Set
Code
36 ノードplemeo
ソーシャルメディア
Twitter自動いいね(プロフィール投稿抽出機能)- クリエイター中
PhantombusterとSharePoint AIを使って選択されたプロフィールをランダムにいいねするツイートの自動化
If
Set
Code
+
If
Set
Code
37 ノードplemeo
ソーシャルメディア
LinkedIn 自動コメント - クリエイター センター
GPT-4o と Phantombuster を使用した LinkedIn の自動リプライ・コメント機能
If
Set
Code
+
If
Set
Code
39 ノードplemeo
ソーシャルメディア
HubSpot 連絡先と SharePoint に AI 生成のニュースリリースと素材を生成
GPT-4o、AI画像・動画を使ってHubSpotとSharePointでバイリンガル・プレスリリースを作成
If
Set
Code
+
If
Set
Code
49 ノードplemeo
ソーシャルメディア
ワークフロー情報
難易度
上級
ノード数22
カテゴリー1
ノードタイプ9
作成者
plemeo
@plemeoHi, I'm Gerhard from Plemeo. At plemeo.ai, we focus on AI-driven automation and workflow optimization. Our deep expertise with n8n enables us to streamline processes and boost efficiency in software development. This allows us to deliver real, measurable improvements. Curious how plemeo.ai and n8n can benefit your business? Reach out at info@plemeo.de or visit plemeo.ai.
外部リンク
n8n.ioで表示 →
このワークフローを共有