Instagram 自動いいね(プロフィール投稿抽出機能)- クリエイター center
上級
これはSocial Media分野の自動化ワークフローで、38個のノードを含みます。主にIf, Set, Code, Wait, HttpRequestなどのノードを使用。 PhantombusterとSharePointを使って選択したプロフィールのInstagram投稿を自動のにいいねする
前提条件
- •ターゲットAPIの認証情報が必要な場合あり
- •OpenAI API Key
使用ノード (38)
カテゴリー
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
"id": "yjW8e13sgz8fb9PJ",
"meta": {
"instanceId": "2cf742429c2e3ee4e5a20069d3d8a75208519303b864f026a79464efa726bd95",
"templateCredsSetupCompleted": true
},
"name": "Instagram Auto Liking (Profile Post Extractor) - Creators Hub",
"tags": [
{
"id": "Tl9QVfvwkdFQyffg",
"name": "n8n Creators Hub",
"createdAt": "2025-08-01T09:19:22.310Z",
"updatedAt": "2025-08-01T09:19:22.310Z"
}
],
"nodes": [
{
"id": "7baf316f-9de7-4919-bbf2-4a494d0e4ee1",
"name": "待機",
"type": "n8n-nodes-base.wait",
"position": [
-880,
-1872
],
"webhookId": "8378df85-61b5-4ee6-9634-6ad4042a7f61",
"parameters": {
"amount": 30
},
"typeVersion": 1.1
},
{
"id": "d0421508-f235-4db1-819a-87af7151fa59",
"name": "待機1",
"type": "n8n-nodes-base.wait",
"position": [
352,
-1440
],
"webhookId": "54ec5f5a-470f-404b-ab74-1d583f0d3f8e",
"parameters": {
"amount": 30
},
"typeVersion": 1.1
},
{
"id": "f1eb23c4-266b-4dca-86b9-ff14e39978d4",
"name": "Get Random Post",
"type": "n8n-nodes-base.code",
"position": [
-2128,
-1440
],
"parameters": {
"jsCode": "const data = $input.all().map(item => item.json);\n\nif (!data || data.length === 0) {\n throw new Error('No Instagram posts data found');\n}\n\n// Get a random post\nconst randomPost = data[Math.floor(Math.random() * data.length)];\n\n// Return only postUrl and description\nreturn {\n json: {\n postUrl: randomPost.postUrl\n }\n};"
},
"typeVersion": 2
},
{
"id": "402107d7-6935-4304-b7d6-447aa70042a8",
"name": "Create CSV Binary",
"type": "n8n-nodes-base.code",
"position": [
-688,
-1440
],
"parameters": {
"jsCode": "// Extract correct values\nconst postUrl = $('Get Random Post').first().json.postUrl;\n\n// Clean utility\nconst clean = str => String(str || \"\").replace(/[\\u200B-\\u200D\\uFEFF]/g, \"\").trim();\n\n// Escape and quote single data row\nconst row = [\n `\"${clean(postUrl).replace(/\"/g, '\"\"')}\"`\n];\n\n// Convert to buffer without header or BOM\nconst csvBuffer = Buffer.from(row.join(\",\") + \"\\n\", \"utf8\");\n\n// Return binary file\nreturn [\n {\n binary: {\n data: {\n data: csvBuffer,\n mimeType: \"text/csv\",\n fileName: \"phantombuster_clean.csv\"\n }\n }\n }\n];\n"
},
"typeVersion": 2
},
{
"id": "bcf735a0-3262-40d9-9f1f-bf740e75a94f",
"name": "Upload CSV",
"type": "n8n-nodes-base.microsoftSharePoint",
"position": [
-496,
-1440
],
"parameters": {
"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": "instagram_posts_to_like.csv",
"operation": "upload",
"fileContents": "data",
"requestOptions": {}
},
"credentials": {
"microsoftSharePointOAuth2Api": {
"id": "jZkLTQXyVEzxtmp3",
"name": "Microsoft SharePoint account"
}
},
"typeVersion": 1
},
{
"id": "6b75ce32-6c2c-4bcb-aad1-69f9068e8d74",
"name": "Get Response",
"type": "n8n-nodes-base.phantombuster",
"position": [
576,
-1440
],
"parameters": {
"agentId": "7281446865767808",
"operation": "getOutput",
"additionalFields": {}
},
"credentials": {
"phantombusterApi": {
"id": "Zf0AAqqdjBFfyW4W",
"name": "Phantombuster account"
}
},
"typeVersion": 1
},
{
"id": "780a8a6b-db44-4128-8350-5910b3ea5144",
"name": "Get Autoliking エージェント",
"type": "n8n-nodes-base.phantombuster",
"position": [
-80,
-1440
],
"parameters": {
"agentId": "1308386990292658",
"operation": "get"
},
"credentials": {
"phantombusterApi": {
"id": "Zf0AAqqdjBFfyW4W",
"name": "Phantombuster account"
}
},
"typeVersion": 1
},
{
"id": "818fb213-0de9-43ec-b586-5a5abe4cc2b1",
"name": "Launch AL エージェント",
"type": "n8n-nodes-base.phantombuster",
"position": [
144,
-1440
],
"parameters": {
"agentId": "1308386990292658",
"jsonParameters": true,
"additionalFields": {
"argumentsJson": "={\n \"numberOfPostsPerLaunch\": 1,\n \"sessionCookie\": \"{{ $('Set ENV Variables').first().json.ENV_SESSION_COOKIE }}\",\n \"spreadsheetUrl\": \"{{ $('Upload CSV').item.json['@content.downloadUrl'] }}\"\n}"
}
},
"credentials": {
"phantombusterApi": {
"id": "Zf0AAqqdjBFfyW4W",
"name": "Phantombuster account"
}
},
"typeVersion": 1
},
{
"id": "93179ea9-ce10-48ef-bce7-33d67363e3f7",
"name": "設定 ENV Variables",
"type": "n8n-nodes-base.set",
"position": [
-416,
-2288
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "debcbe7a-3298-46ec-a8ab-96e8dc0184a7",
"name": "ENV_SESSION_COOKIE",
"type": "string",
"value": "={{ $('Select Cookie').first().json.output.parseJson().session_cookie }}"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "35b0afa6-e833-4f21-bf6c-48e904550517",
"name": "スケジュールトリガー",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
-1328,
-2288
],
"parameters": {
"rule": {
"interval": [
{
"field": "hours",
"hoursInterval": 2,
"triggerAtMinute": 15
}
]
}
},
"typeVersion": 1.2
},
{
"id": "9546e366-42f6-42bc-a473-2db71c555a89",
"name": "Update file",
"type": "n8n-nodes-base.microsoftSharePoint",
"position": [
-880,
-1440
],
"parameters": {
"file": {
"__rl": true,
"mode": "list",
"value": "01M45PWAZQIMNOGWOEPZBJXCNUHQ2W5JEC",
"cachedResultName": "instagram_posts_already_liked.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": "instagram_posts_already_liked.csv",
"operation": "update",
"fileContents": "data",
"requestOptions": {},
"changeFileContent": true
},
"credentials": {
"microsoftSharePointOAuth2Api": {
"id": "jZkLTQXyVEzxtmp3",
"name": "Microsoft SharePoint account"
}
},
"typeVersion": 1
},
{
"id": "f3b26a48-6428-4d18-8ec2-c70fd0dcdbd1",
"name": "Download file",
"type": "n8n-nodes-base.microsoftSharePoint",
"position": [
-1952,
-1440
],
"parameters": {
"file": {
"__rl": true,
"mode": "list",
"value": "01M45PWAZQIMNOGWOEPZBJXCNUHQ2W5JEC",
"cachedResultName": "instagram_posts_already_liked.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"
},
"requestOptions": {}
},
"credentials": {
"microsoftSharePointOAuth2Api": {
"id": "jZkLTQXyVEzxtmp3",
"name": "Microsoft SharePoint account"
}
},
"typeVersion": 1
},
{
"id": "a695afe0-f563-4dce-bee2-ca370e8f27f3",
"name": "Check if in List",
"type": "n8n-nodes-base.code",
"position": [
-1584,
-1440
],
"parameters": {
"jsCode": "const randomPost = normalizeUrl($('Get Random Post').first().json.postUrl);\nconst allItems = $('Extract from File').all();\n\nif (!allItems || allItems.length === 0) {\n return [{ json: { isDuplicate: false } }];\n}\n\nfunction normalizeUrl(url) {\n if (typeof url !== 'string') {\n console.log(\"🚨 NOT A STRING:\", url);\n return '';\n }\n return url.trim().toLowerCase().replace(/\\/$/, '');\n}\n\n// Helper function to get postUrl value regardless of BOM\nfunction getPostUrl(item) {\n const json = item.json;\n // Try normal field name first\n if (json.postUrl) return json.postUrl;\n \n // Look for any field containing \"postUrl\"\n const postUrlKey = Object.keys(json).find(key => key.includes('postUrl'));\n return postUrlKey ? json[postUrlKey] : null;\n}\n\nconsole.log(\"✅ randomPost:\", randomPost);\nconsole.log(\"✅ allItems:\", allItems);\n\nlet isDuplicate = false;\n\nfor (const item of allItems) {\n const candidateRaw = getPostUrl(item);\n const candidate = normalizeUrl(candidateRaw);\n\n console.log(`🟠 Comparing:\\n→ raw: ${candidateRaw}\\n→ normalized: ${candidate}\\n→ target: ${randomPost}`);\n\n if (candidate === randomPost) {\n isDuplicate = true;\n break;\n }\n}\n\nreturn [{ json: { isDuplicate } }];"
},
"typeVersion": 2
},
{
"id": "b49359a7-1ac7-4e13-b219-d8e4bbce277a",
"name": "If",
"type": "n8n-nodes-base.if",
"position": [
-1408,
-1440
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "bcef43b3-e773-45ba-b245-19ab3fc1e508",
"operator": {
"type": "boolean",
"operation": "true",
"singleValue": true
},
"leftValue": "={{ $('Check if in List').first().json.isDuplicate }}",
"rightValue": ""
}
]
}
},
"typeVersion": 2.2
},
{
"id": "4558e24d-53c7-48ba-8ce5-c68550cc15e6",
"name": "待機2",
"type": "n8n-nodes-base.wait",
"position": [
-2288,
-1440
],
"webhookId": "e96e74a5-2c8e-41e2-b894-a1dffe851bb6",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "a97ea279-eeb5-4bf2-9521-e9eabd12c136",
"name": "Prepare Updated Data",
"type": "n8n-nodes-base.code",
"position": [
-1232,
-1440
],
"parameters": {
"jsCode": "const existingUrls = $('Extract from File').all().map(item => {\n // Get the first key (which has the BOM) and use its value\n const firstKey = Object.keys(item.json)[0];\n return { postUrl: item.json[firstKey] };\n});\n\nconsole.log(\"existingUrls: \", existingUrls);\n\nconst randomPost = $('Get Random Post').first().json.postUrl;\nconsole.log(\"randomPost: \", randomPost);\n\nreturn [\n ...existingUrls,\n { postUrl: randomPost }\n].map(entry => ({ json: entry }));"
},
"typeVersion": 2
},
{
"id": "b0a7d1e4-eb62-4720-80cc-4a5dd7f19235",
"name": "ファイルから抽出",
"type": "n8n-nodes-base.extractFromFile",
"position": [
-1760,
-1440
],
"parameters": {
"options": {
"headerRow": true
}
},
"typeVersion": 1,
"alwaysOutputData": true
},
{
"id": "f64adee4-8775-42c2-8e52-0c044ad3441d",
"name": "ファイルに変換",
"type": "n8n-nodes-base.convertToFile",
"position": [
-1056,
-1440
],
"parameters": {
"options": {}
},
"typeVersion": 1.1
},
{
"id": "6d744136-7257-4cd0-b874-372d204a6099",
"name": "OpenAI チャットモデル1",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-784,
-2096
],
"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": "f74219a2-c747-423d-9ed0-57f1eccf3bd6",
"name": "Get Available Session Cookies",
"type": "n8n-nodes-base.microsoftSharePoint",
"position": [
-1168,
-2288
],
"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": "d1d4fc06-0035-4397-a955-a4c54d3db0e0",
"name": "Extract Cookies",
"type": "n8n-nodes-base.extractFromFile",
"position": [
-960,
-2288
],
"parameters": {
"options": {},
"operation": "text"
},
"typeVersion": 1
},
{
"id": "11c37cd5-f76a-4f96-b724-88e07bf59946",
"name": "Select Cookie",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
-752,
-2288
],
"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": "1ebe586f-d24f-4342-bef0-fcba2bef43bc",
"name": "Launch エージェント",
"type": "n8n-nodes-base.phantombuster",
"position": [
-1024,
-1872
],
"parameters": {
"agentId": "={{ $('Get Profile Extractor Agent').item.json.id }}",
"jsonParameters": true,
"additionalFields": {
"argumentsJson": "={\n \"numberOfPostsPerProfile\": 20,\n \"filters\": \"postUrl\",\n \"spreadsheetUrl\": \"{{$('Get List of Accounts').item.json['@content.downloadUrl']}}\",\n \"sessionCookie\": \"{{$('Set ENV Variables').item.json.ENV_SESSION_COOKIE}}\"\n}"
}
},
"credentials": {
"phantombusterApi": {
"id": "Zf0AAqqdjBFfyW4W",
"name": "Phantombuster account"
}
},
"typeVersion": 1
},
{
"id": "ebe727e3-4e01-4345-91ba-6b546aa9dc66",
"name": "Get Profile Extractor エージェント",
"type": "n8n-nodes-base.phantombuster",
"position": [
-1344,
-1872
],
"parameters": {
"agentId": "7569425938663423",
"operation": "get"
},
"credentials": {
"phantombusterApi": {
"id": "Zf0AAqqdjBFfyW4W",
"name": "Phantombuster account"
}
},
"typeVersion": 1
},
{
"id": "5e170ac0-e10a-49dd-ab23-c2b2856f9988",
"name": "Get List of Accounts",
"type": "n8n-nodes-base.microsoftSharePoint",
"position": [
-1184,
-1872
],
"parameters": {
"file": {
"__rl": true,
"mode": "list",
"value": "01M45PWA5UGUOGJDHZDVEJOKYNQFNF4ERC",
"cachedResultName": "instagram_profiles_to_scrape.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": "instagram_profiles_to_scrape.csv",
"operation": "update",
"requestOptions": {}
},
"credentials": {
"microsoftSharePointOAuth2Api": {
"id": "jZkLTQXyVEzxtmp3",
"name": "Microsoft SharePoint account"
}
},
"typeVersion": 1
},
{
"id": "5d11ec57-9af0-471a-8e36-2889b87b4050",
"name": "If Empty",
"type": "n8n-nodes-base.if",
"position": [
-320,
-1872
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "77805c7a-32a4-492e-9084-6a459e8d6b65",
"operator": {
"type": "boolean",
"operation": "true",
"singleValue": true
},
"leftValue": "={{ $json.isEmpty() }}",
"rightValue": "true"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "187077fc-7cf7-4a1e-85b1-fbea041b44e8",
"name": "HTTP リクエスト",
"type": "n8n-nodes-base.httpRequest",
"position": [
-736,
-1872
],
"parameters": {
"url": "https://api.phantombuster.com/api/v2/agents/fetch?id=7569425938663423",
"options": {},
"authentication": "predefinedCredentialType",
"nodeCredentialType": "phantombusterApi"
},
"credentials": {
"phantombusterApi": {
"id": "Zf0AAqqdjBFfyW4W",
"name": "Phantombuster account"
}
},
"typeVersion": 4.2
},
{
"id": "b78ecdb0-8827-4bc0-942b-35aba3ff5341",
"name": "HTTP リクエスト1",
"type": "n8n-nodes-base.httpRequest",
"position": [
-592,
-1872
],
"parameters": {
"url": "=https://phantombuster.s3.amazonaws.com/{{ $json.data?.orgS3Folder || $json.orgS3Folder }}/{{ $json.data?.s3Folder || $json.s3Folder }}/filtered_result.csv\n",
"options": {},
"authentication": "predefinedCredentialType",
"nodeCredentialType": "phantombusterApi"
},
"credentials": {
"phantombusterApi": {
"id": "Zf0AAqqdjBFfyW4W",
"name": "Phantombuster account"
}
},
"typeVersion": 4.2
},
{
"id": "bd08f58a-8cf6-4bbb-a26f-b10b23bfba6e",
"name": "Prepare Posts",
"type": "n8n-nodes-base.code",
"position": [
-448,
-1872
],
"parameters": {
"jsCode": "// Split the \"data\" field into lines\nconst raw = $json[\"data\"] || \"\";\nconst lines = raw.split(\"\\n\").map(l => l.trim()).filter(Boolean);\n\n// First line is the header (\"postUrl\")\nconst header = lines.shift();\n\n// Build an array of { postUrl } objects\nreturn lines.map(url => {\n return {\n json: {\n postUrl: url\n }\n };\n});\n"
},
"typeVersion": 2
},
{
"id": "8da474d3-5d18-46bd-ba6f-4525125bbb9d",
"name": "付箋",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1392,
-2000
],
"parameters": {
"color": 5,
"width": 1180,
"height": 400,
"content": "## Get Instagram Posts By Custom Hashtag\n"
},
"typeVersion": 1
},
{
"id": "33cf094c-3706-493f-bdcd-8168b3f4461d",
"name": "付箋1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-2336,
-1584
],
"parameters": {
"color": 3,
"width": 2124,
"height": 404,
"content": "## Process Posts and Check if not already processed\n"
},
"typeVersion": 1
},
{
"id": "92d47a96-3211-4a26-a851-ffd90cb9b5bc",
"name": "付箋2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-192,
-1584
],
"parameters": {
"width": 992,
"height": 404,
"content": "## Launch Autoliking Agent to Like Post\n"
},
"typeVersion": 1
},
{
"id": "59e1a490-3b79-43d8-8e0f-fcd8aeb96392",
"name": "付箋4",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1392,
-2416
],
"parameters": {
"color": 6,
"width": 1180,
"height": 400,
"content": "## Start Workflow and Retrieve Session Cookie\n"
},
"typeVersion": 1
},
{
"id": "5c727010-1bcf-4ed7-9597-f4026bba2cfa",
"name": "付箋5",
"type": "n8n-nodes-base.stickyNote",
"position": [
-192,
-2416
],
"parameters": {
"width": 448,
"height": 272,
"content": "### 1) Cookie & Hashtag Selection \n**What it does** \n• Downloads cookie list ➜ **Select Cookie** picks one by time slice. \n\n**Credentials** \nOpenAI + SharePoint OAuth2.\n\n**Tweaks** \n• Add/remove cookies in SharePoint file."
},
"typeVersion": 1
},
{
"id": "922c64a6-4ae5-46fa-9f6c-e025187e6110",
"name": "付箋6",
"type": "n8n-nodes-base.stickyNote",
"position": [
-192,
-2000
],
"parameters": {
"width": 464,
"height": 240,
"content": "### 2) Scrape Instagram Posts \n**What it does** \n• **Profile Extractor Agent** fetches 20 posts for each defined profile in the CSV. \n• **Get Posts** forwards raw results.\n\n**Credentials** \nPhantombuster API.\n\n**Tweaks** \n• Adjust scrape depth in the agent UI."
},
"typeVersion": 1
},
{
"id": "3b02aab2-7285-4b5d-9286-536f4d7be19e",
"name": "付箋7",
"type": "n8n-nodes-base.stickyNote",
"position": [
-2336,
-1168
],
"parameters": {
"width": 432,
"height": 256,
"content": "### 3) Duplicate Check \n**What it does** \n• Downloads `instagram_posts_already_liked.csv`. \n• **Check if in List** skips URLs already liked. \n• On success, appends the new URL and re-uploads the file.\n\n**Credentials** \nSharePoint OAuth2.\n\n**Tweaks** \n• Modify duplicate logic if you store extra columns."
},
"typeVersion": 1
},
{
"id": "49ef0839-42d9-4d40-9259-a522438323e3",
"name": "付箋8",
"type": "n8n-nodes-base.stickyNote",
"position": [
816,
-1584
],
"parameters": {
"width": 320,
"height": 256,
"content": "### 5) Rate Limiting & Scheduling \n**What it does** \n• 2-hour cron + **Wait** nodes keep likes to ~12 per day.\n\n**Credentials** \nNone\n\n**Tweaks** \n• Edit cron rule or wait durations. \n• Increase likes/day by raising limits and frequency."
},
"typeVersion": 1
},
{
"id": "ffc63ccc-b097-40ef-8293-968dc2f70281",
"name": "付箋9",
"type": "n8n-nodes-base.stickyNote",
"position": [
-624,
-1168
],
"parameters": {
"width": 416,
"height": 272,
"content": "### 4) CSV Upload & Auto-like \n**What it does** \n• Creates one-row CSV with the target post URL. \n• Uploads to SharePoint. \n• **Auto-like Agent** uses the CSV link to like the post.\n\n**Credentials** \nSharePoint OAuth2 + Phantombuster API.\n\n**Tweaks** \n• Rename files/folders in the upload node. \n• Replace SharePoint with Drive/Dropbox if preferred."
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "3a24d44c-9ffd-4341-af08-2625b65d47a0",
"connections": {
"b49359a7-1ac7-4e13-b219-d8e4bbce277a": {
"main": [
[
{
"node": "Wait2",
"type": "main",
"index": 0
}
],
[
{
"node": "a97ea279-eeb5-4bf2-9521-e9eabd12c136",
"type": "main",
"index": 0
}
]
]
},
"Wait": {
"main": [
[
{
"node": "HTTP Request",
"type": "main",
"index": 0
}
]
]
},
"Wait1": {
"main": [
[
{
"node": "6b75ce32-6c2c-4bcb-aad1-69f9068e8d74",
"type": "main",
"index": 0
}
]
]
},
"Wait2": {
"main": [
[
{
"node": "f1eb23c4-266b-4dca-86b9-ff14e39978d4",
"type": "main",
"index": 0
}
]
]
},
"5d11ec57-9af0-471a-8e36-2889b87b4050": {
"main": [
[],
[
{
"node": "Wait2",
"type": "main",
"index": 0
}
]
]
},
"bcf735a0-3262-40d9-9f1f-bf740e75a94f": {
"main": [
[
{
"node": "Get Autoliking Agent",
"type": "main",
"index": 0
}
]
]
},
"9546e366-42f6-42bc-a473-2db71c555a89": {
"main": [
[
{
"node": "402107d7-6935-4304-b7d6-447aa70042a8",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request": {
"main": [
[
{
"node": "HTTP Request1",
"type": "main",
"index": 0
}
]
]
},
"Launch Agent": {
"main": [
[
{
"node": "Wait",
"type": "main",
"index": 0
}
]
]
},
"f3b26a48-6428-4d18-8ec2-c70fd0dcdbd1": {
"main": [
[
{
"node": "Extract from File",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request1": {
"main": [
[
{
"node": "bd08f58a-8cf6-4bbb-a26f-b10b23bfba6e",
"type": "main",
"index": 0
}
]
]
},
"bd08f58a-8cf6-4bbb-a26f-b10b23bfba6e": {
"main": [
[
{
"node": "5d11ec57-9af0-471a-8e36-2889b87b4050",
"type": "main",
"index": 0
}
]
]
},
"11c37cd5-f76a-4f96-b724-88e07bf59946": {
"main": [
[
{
"node": "Set ENV Variables",
"type": "main",
"index": 0
}
]
]
},
"Convert to File": {
"main": [
[
{
"node": "9546e366-42f6-42bc-a473-2db71c555a89",
"type": "main",
"index": 0
}
]
]
},
"d1d4fc06-0035-4397-a955-a4c54d3db0e0": {
"main": [
[
{
"node": "11c37cd5-f76a-4f96-b724-88e07bf59946",
"type": "main",
"index": 0
}
]
]
},
"f1eb23c4-266b-4dca-86b9-ff14e39978d4": {
"main": [
[
{
"node": "f3b26a48-6428-4d18-8ec2-c70fd0dcdbd1",
"type": "main",
"index": 0
}
]
]
},
"Launch AL Agent": {
"main": [
[
{
"node": "Wait1",
"type": "main",
"index": 0
}
]
]
},
"a695afe0-f563-4dce-bee2-ca370e8f27f3": {
"main": [
[
{
"node": "b49359a7-1ac7-4e13-b219-d8e4bbce277a",
"type": "main",
"index": 0
}
]
]
},
"Schedule Trigger": {
"main": [
[
{
"node": "f74219a2-c747-423d-9ed0-57f1eccf3bd6",
"type": "main",
"index": 0
}
]
]
},
"402107d7-6935-4304-b7d6-447aa70042a8": {
"main": [
[
{
"node": "bcf735a0-3262-40d9-9f1f-bf740e75a94f",
"type": "main",
"index": 0
}
]
]
},
"Extract from File": {
"main": [
[
{
"node": "a695afe0-f563-4dce-bee2-ca370e8f27f3",
"type": "main",
"index": 0
}
]
]
},
"Set ENV Variables": {
"main": [
[
{
"node": "Get Profile Extractor Agent",
"type": "main",
"index": 0
}
]
]
},
"OpenAI Chat Model1": {
"ai_languageModel": [
[
{
"node": "11c37cd5-f76a-4f96-b724-88e07bf59946",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Get Autoliking Agent": {
"main": [
[
{
"node": "Launch AL Agent",
"type": "main",
"index": 0
}
]
]
},
"5e170ac0-e10a-49dd-ab23-c2b2856f9988": {
"main": [
[
{
"node": "Launch Agent",
"type": "main",
"index": 0
}
]
]
},
"a97ea279-eeb5-4bf2-9521-e9eabd12c136": {
"main": [
[
{
"node": "Convert to File",
"type": "main",
"index": 0
}
]
]
},
"Get Profile Extractor Agent": {
"main": [
[
{
"node": "5e170ac0-e10a-49dd-ab23-c2b2856f9988",
"type": "main",
"index": 0
}
]
]
},
"f74219a2-c747-423d-9ed0-57f1eccf3bd6": {
"main": [
[
{
"node": "d1d4fc06-0035-4397-a955-a4c54d3db0e0",
"type": "main",
"index": 0
}
]
]
}
}
}よくある質問
このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
上級 - ソーシャルメディア
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
Twitter自動いいね(プロフィール投稿抽出機能)- クリエイター中
PhantombusterとSharePoint AIを使って選択されたプロフィールをランダムにいいねするツイートの自動化
If
Set
Code
+
If
Set
Code
37 ノードplemeo
ソーシャルメディア
Instagram自動コメント - Creator Hub
GPT-4o、Phantombuster、SharePointを使ってInstagramの投稿を自動コメント
If
Set
Code
+
If
Set
Code
39 ノードplemeo
ソーシャルメディア
LinkedIn 自動いいね - クリエイター center
GPT-4o、Phantombuster、SharePointを使ってLinkedInの投稿を自動のにいいねする
If
Set
Code
+
If
Set
Code
36 ノード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
ソーシャルメディア
Instagramの趨勢電卓ブックからSEOコンテンツを生成して保存(SharePoint/Drive/Dropbox)
GPT-4o、FAL AI、複数ストレージによるトレンドの自動SEOコンテンツ生成
If
Set
Code
+
If
Set
Code
47 ノードplemeo
コンテンツ作成
ワークフロー情報
難易度
上級
ノード数38
カテゴリー1
ノードタイプ13
作成者
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で表示 →
このワークフローを共有