This workflow corresponds to n8n.io template #6766 — we link there as the canonical source.
This workflow follows the Agent → OpenAI Chat recipe pattern — see all workflows that pair these two integrations.
The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"id": "nM8KB1VpIzL1qQAM",
"meta": {
"templateCredsSetupCompleted": true
},
"name": "Instagram Auto Following - Creators Hub",
"tags": [],
"nodes": [
{
"id": "c8aa6db4-9ac4-4dd6-a6e5-199fc00e91f6",
"name": "Wait",
"type": "n8n-nodes-base.wait",
"position": [
-480,
-1600
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "040e11d3-58be-48ed-b927-3d3d23c7d76f",
"name": "Launch Agent",
"type": "n8n-nodes-base.phantombuster",
"position": [
-704,
-1600
],
"parameters": {},
"typeVersion": 1
},
{
"id": "4a236261-c86d-4ffe-870f-dcd671e5df6d",
"name": "Launch AC Agent",
"type": "n8n-nodes-base.phantombuster",
"position": [
-976,
-1216
],
"parameters": {},
"typeVersion": 1
},
{
"id": "0151529b-c837-46cd-9206-a9aa852a245c",
"name": "Get Response",
"type": "n8n-nodes-base.phantombuster",
"position": [
-576,
-1216
],
"parameters": {},
"typeVersion": 1
},
{
"id": "d02ecaab-1458-4c7f-aa42-8ca090502861",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1424,
-1744
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "74e88554-9696-49d1-bf60-26e715c21dca",
"name": "Sticky Note2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1424,
-1312
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "175074db-a8d4-42fe-97bb-ef45394bc666",
"name": "Get Follower Collector",
"type": "n8n-nodes-base.phantombuster",
"position": [
-1152,
-1600
],
"parameters": {},
"typeVersion": 1
},
{
"id": "b93020ae-5c68-42d4-b100-13bab41fb7f3",
"name": "Get Followers",
"type": "n8n-nodes-base.phantombuster",
"position": [
-272,
-1600
],
"parameters": {},
"typeVersion": 1
},
{
"id": "81c0399f-db23-40a8-a3ee-039db367d6ee",
"name": "Get List of Accounts",
"type": "n8n-nodes-base.microsoftSharePoint",
"position": [
-928,
-1600
],
"parameters": {},
"typeVersion": 1
},
{
"id": "fcab1649-9f85-4dd6-ae96-b6b9756ed7dc",
"name": "Get Autofollow Agent",
"type": "n8n-nodes-base.phantombuster",
"position": [
-1216,
-1216
],
"parameters": {},
"typeVersion": 1
},
{
"id": "c9a884f0-6ccb-4ae3-ab1e-724bbd96a1e7",
"name": "Wait for result",
"type": "n8n-nodes-base.wait",
"position": [
-784,
-1216
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "5604adb6-3ddf-4c64-8589-170caa1813df",
"name": "Set ENV Variables",
"type": "n8n-nodes-base.set",
"position": [
-1328,
-1600
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "01f1c2cc-59aa-467f-94f1-874d157e460d",
"name": "Schedule Trigger",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
-1264,
-2032
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "afb4b5f2-3288-41cc-9b65-e73cc7785a93",
"name": "OpenAI Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-640,
-1856
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "e225ded4-30c6-41e1-99f6-354d3ec32282",
"name": "Get Available Session Cookies",
"type": "n8n-nodes-base.microsoftSharePoint",
"position": [
-1040,
-2032
],
"parameters": {},
"typeVersion": 1
},
{
"id": "be9bcd84-c3d0-464e-9db2-0aedd4b3c6c2",
"name": "Extract Cookies",
"type": "n8n-nodes-base.extractFromFile",
"position": [
-832,
-2032
],
"parameters": {},
"typeVersion": 1
},
{
"id": "7396cbf4-8078-4eb2-866b-2baa63cf4812",
"name": "Select Cookie",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
-624,
-2032
],
"parameters": {},
"typeVersion": 2
},
{
"id": "0e998d01-aab5-40b7-8659-4562ac6afbed",
"name": "Sticky Note3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1424,
-2176
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "f0d9133c-ec1e-48ea-bb33-af1c3597bf88",
"name": "Sticky Note4",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1904,
-2176
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "d7bab9f3-4b87-4a55-ab65-4472e68a7897",
"name": "Sticky Note5",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1904,
-1744
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "5c8f8d24-dc66-4082-b562-d80d729568dc",
"name": "Sticky Note6",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1872,
-1312
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "d3e9b8ed-349a-4b2c-a258-a8158dce5f84",
"name": "Sticky Note7",
"type": "n8n-nodes-base.stickyNote",
"position": [
-96,
-1312
],
"parameters": {
"content": ""
},
"typeVersion": 1
}
],
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "959522e3-de06-4bb2-92c5-ecb1a2cca62f",
"connections": {
"Wait": {
"main": [
[
{
"node": "Get Followers",
"type": "main",
"index": 0
}
]
]
},
"Get Response": {
"main": [
[]
]
},
"Launch Agent": {
"main": [
[
{
"node": "Wait",
"type": "main",
"index": 0
}
]
]
},
"Get Followers": {
"main": [
[
{
"node": "Get Autofollow Agent",
"type": "main",
"index": 0
}
]
]
},
"Select Cookie": {
"main": [
[
{
"node": "Set ENV Variables",
"type": "main",
"index": 0
}
]
]
},
"Extract Cookies": {
"main": [
[
{
"node": "Select Cookie",
"type": "main",
"index": 0
}
]
]
},
"Launch AC Agent": {
"main": [
[
{
"node": "Wait for result",
"type": "main",
"index": 0
}
]
]
},
"Wait for result": {
"main": [
[
{
"node": "Get Response",
"type": "main",
"index": 0
}
]
]
},
"Schedule Trigger": {
"main": [
[
{
"node": "Get Available Session Cookies",
"type": "main",
"index": 0
}
]
]
},
"OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "Select Cookie",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Set ENV Variables": {
"main": [
[
{
"node": "Get Follower Collector",
"type": "main",
"index": 0
}
]
]
},
"Get Autofollow Agent": {
"main": [
[
{
"node": "Launch AC Agent",
"type": "main",
"index": 0
}
]
]
},
"Get List of Accounts": {
"main": [
[
{
"node": "Launch Agent",
"type": "main",
"index": 0
}
]
]
},
"Get Follower Collector": {
"main": [
[
{
"node": "Get List of Accounts",
"type": "main",
"index": 0
}
]
]
},
"Get Available Session Cookies": {
"main": [
[
{
"node": "Extract Cookies",
"type": "main",
"index": 0
}
]
]
}
}
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Community managers, growth hackers, and brands that want to grow their Instagram audience by automatically following new, relevant profiles— while respecting daily limits. Schedule Trigger runs hourly at a specified minute. Select Cookie chooses a rotating Instagram…
Source: https://n8n.io/workflows/6766/ — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
Influencers and social-media teams who want to comment automatically on posts from selected Instagram profiles—scaling engagement while staying within platform limits. Schedule Trigger runs every 2 h.
Social-media teams and influencers who want to grow engagement by automatically posting short, relevant comments on new Instagram posts under rotating hashtags—while staying under platform limits. Sch
B2B marketers, recruiters, and personal-brand builders who want to spark conversations on LinkedIn by automatically posting short, relevant comments on fresh industry content—while staying under daily
Social-media managers, growth hackers, and brands who want to keep their Instagram accounts active by auto-liking posts from specific profiles they track—without scrolling feeds manually. Schedule Tri
Growth hackers, community builders, and marketers who want to keep their Twitter (X) accounts active by liking posts from selected profiles automatically. Schedule Trigger fires hourly. Profile Post E