Automation library · Scheduling

Scheduled Instagram auto-liker with Phantombuster and OpenAI

Started by a clock. It calls services over plain HTTP rather than through connectors. It hands the judgement calls to OpenAI. 27 steps, 1 branch, 3 loops or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI

27 stepsLarge: read it before trusting it with anything live
1Branch: places the flow splits
3Loops or waits
0Services by connector: it calls them over plain HTTP

The flow

Starts it 1Model 4Logic 9Service 13

The steps in the order they run, from what starts it.

  1. 1Schedule TriggerSchedule triggerStarts it
  2. 2OpenAI Chat ModelLm Chat Open AiModel
  3. 3OpenAI Chat Model1Lm Chat Open AiModel
  4. 4Get Available Session CookiesMicrosoft Share PointService
  5. 5Generate Random HashtagAgentModel
  6. 6Select CookieAgentModel
  7. 7Extract CookiesExtract From FileService
  8. 8Set ENV VariablesSetLogic
  9. 9Get Hashtag AgentPhantombusterService
  10. 10Launch AgentPhantombusterService
  11. 11WaitWaitLogic
  12. 12Get PostsPhantombusterService
  13. 13Wait2WaitLogic
  14. 14Get Random PostCodeLogic
  15. 15Download fileMicrosoft Share PointService
  16. 16Extract from FileExtract From FileService
  17. 17Check if in ListCodeLogic
  18. 18IfIfLogic
  19. 19Prepare Updated DataCodeLogic
  20. 20Convert to FileConvert To FileService
  21. 21Update fileMicrosoft Share PointService
  22. 22Create CSV BinaryCodeLogic
  23. 23Upload CSVMicrosoft Share PointService
  24. 24Get Autoliking AgentPhantombusterService
  25. 25Launch AL AgentPhantombusterService
  26. 26Wait1WaitLogic
  27. 27Get ResponsePhantombusterService

How it's built

Starts on
A clock
Steps
27, with 1 branch, 3 loops or waits
Size
Large: read it before trusting it with anything live
Connects to
Nothing by connector; it calls services over plain HTTP
Model
OpenAI

Questions

What does it need to run?

An n8n account, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a clock.

Does it use AI?

Yes. It calls OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 27 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 27 steps before you point it at anything that matters.